Connect Google Antigravity
Google Antigravity has several surfaces. The menu names differ between Antigravity 2.0, Antigravity IDE, and Antigravity CLI, but each can use the same MCP URL.
Get the MCP URL
Section titled “Get the MCP URL”- Sign in to Connect and open the workspace Antigravity should use.
- Open Authorized apps, select Add an AI app, and choose Google Antigravity.
- Copy the MCP URL shown in the dialog.
Antigravity 2.0
Section titled “Antigravity 2.0”Open Settings → Customizations → Installed MCP Servers. Select Add MCP or open the MCP Store, then follow the prompts for a custom server if your version offers that option. Paste the MCP URL and finish the Connect sign-in.
Antigravity IDE
Section titled “Antigravity IDE”- Open the agent panel, select … → MCP Servers, and choose Manage MCP Servers.
- Select View raw config.
- Add Connect to the configuration, replacing the placeholder with the MCP URL from Connect:
{ "mcpServers": { "connect": { "serverUrl": "PASTE_THE_MCP_URL_HERE" } }}Antigravity stores global configuration at ~/.gemini/config/mcp_config.json and workspace configuration at .agents/mcp_config.json. Use the smallest scope that matches your team. Complete sign-in from Agent Settings → Customizations → Authenticate when prompted.
Antigravity CLI
Section titled “Antigravity CLI”The CLI uses the same configuration files. After adding Connect, run /mcp to check the server and follow the browser sign-in prompt. For the latest product-specific menus and permissions, see Google’s Antigravity MCP guide.