How to Setup MCP in Antigravity
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
Locate mcp_config.json
Find the configuration file at %USERPROFILE%\.gemini\config\mcp_config.json.
Add MCP server entries
Open the file and add your server definitions inside the configuration schema.
Set environment variables
Provide any required API keys, database URLs, or access tokens in the environment section.
Save and reload
Save mcp_config.json and hot-reload or restart Antigravity.
Verify in chat
Ask Antigravity to list tools or execute a task with the connected MCP server.
Antigravity Protocol Support
Stdio process lifecycle
Remote SSE & HTTP proxy
Full paired & autonomous tool calling
Knowledge items & live URI resources
Slash command integration
Workspace roots discovery
Live config watcher
Antigravity Setup FAQ
Where is the Antigravity MCP config file located?
On Windows: %USERPROFILE%\.gemini\config\mcp_config.json. On macOS: ~/.gemini/config/mcp_config.json. On Linux: ~/.gemini/config/mcp_config.json.
Does Antigravity support MCP tools and stdio transports?
Antigravity supports stdio transports and supports autonomous tool calling.
How do I reload MCP servers in Antigravity?
Live config watcher