How to Setup MCP in Antigravity

Agentic IDE

Step-by-step setup guide for connecting Model Context Protocol (MCP) servers to Antigravity by Google DeepMind.

Configuration File: mcp_config.json

%USERPROFILE%\.gemini\config\mcp_config.json

Example mcp_config.json Template

Open in Config Generator
{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": ["mcp-server-sqlite", "--db-path", "./data.db"]
    }
  }
}

Installation Steps

1

Locate mcp_config.json

Find the configuration file at %USERPROFILE%\.gemini\config\mcp_config.json.

2

Add MCP server entries

Open the file and add your server definitions inside the configuration schema.

3

Set environment variables

Provide any required API keys, database URLs, or access tokens in the environment section.

4

Save and reload

Save mcp_config.json and hot-reload or restart Antigravity.

5

Verify in chat

Ask Antigravity to list tools or execute a task with the connected MCP server.

Antigravity Protocol Support

Stdio Transport Supported

Stdio process lifecycle

SSE / HTTP Transport Supported

Remote SSE & HTTP proxy

Tool Calling Supported

Full paired & autonomous tool calling

Resources API Supported

Knowledge items & live URI resources

Prompts API Supported

Slash command integration

Roots Boundary Supported

Workspace roots discovery

Dynamic Hot-Reload Supported

Live config watcher