Skip to main content

Google Antigravity

Connect Google Antigravity to Cosmonic Desktop's built-in MCP server via Settings → MCP Server → Install in your AI client, or register it manually. The Antigravity CLI (agy) has no mcp subcommand—the CLI and the Antigravity IDE share a dedicated MCP config at ~/.gemini/config/mcp_config.json. Add the server there (using the daemon binary's path on your platform—macOS shown):

{
  "mcpServers": {
    "cosmonic": {
      "command": "/Applications/Cosmonic Desktop.app/Contents/Resources/cosmonicd",
      "args": ["mcp", "serve"]
    }
  }
}

Note that Antigravity reads only this home-level file (not the inline mcpServers map in settings.json that Gemini CLI uses, and not project-local configs). Antigravity shares the ~/.gemini home directory with Gemini CLI—its own state lives under ~/.gemini/antigravity-cli, which is how Desktop tells the two apart.

What Antigravity 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 Antigravity from the first-run offer or Settings → Agent skills, which lands at ~/.gemini/skills/cosmonic-sandbox/—the same skills directory Gemini CLI reads, so installing for one covers both.

Next steps