Skip to main content

Gemini CLI

Connect Gemini CLI to Cosmonic Desktop's built-in MCP server via Settings → MCP Server → Install in your AI client, or register it manually (using the daemon binary's path on your platform—macOS shown):

gemini mcp add cosmonic "/Applications/Cosmonic Desktop.app/Contents/Resources/cosmonicd" mcp serve

If gemini mcp list shows the server as Disabled (folder untrusted), trust the workspace (run gemini in the folder and accept the prompt), or register it machine-wide in ~/.gemini/settings.json instead.

What Gemini CLI can do once connected

Its full tool surface (observe, deploy, build) and the guardrails are covered in Connect Coding Agents; the tools work only while Cosmonic Desktop is running. Desktop can also install the cosmonic-sandbox skill for Gemini CLI from the first-run offer or Settings → Agent skills, which lands at ~/.gemini/skills/cosmonic-sandbox/.

Next steps