How to add MCP servers to Antigravity
Antigravity is Google's agent platform, with an app, a CLI and an IDE. MCP servers are set in mcp_config.json, globally or per workspace, and managed from the Customizations screen.
Add an MCP server to Antigravity
- 1Open Manage MCP Servers → View raw config, or edit
~/.gemini/config/mcp_config.json. - 2Paste the server under
mcpServers. - 3Remote servers use
serverUrland must speak streamable HTTP (httpUrlis not supported).
Example: Codebase Memory
{
"mcpServers": {
"codebase-memory-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Streamable HTTP only, with Google sign-in
- Remote servers must speak Streamable HTTP and use
serverUrl; SSE andhttpUrlare not accepted. - Servers that need Google credentials can use Application Default Credentials through
authProviderType. tools.<name>.eagerloads chosen tools up front instead of on demand.- Connections time out after 300 seconds and calls after 180 seconds unless you change
timeoutSeconds.
Where Antigravity keeps MCP servers
~/.gemini/config/mcp_config.jsonglobal.agents/mcp_config.jsonworkspace
Check it loaded: Customizations → Installed → MCP Servers
Limits and settings
- Remote servers use
serverUrland Streamable HTTP only; the legacy SSE transport andhttpUrlare not supported. - Default timeouts: 300 seconds to connect and 180 seconds per call.
enabledToolsanddisabledToolsfilter a server's tools.- Tool permissions default to Ask.
When a server does not work in Antigravity
- A green status dot in the app means the server is connected.
- In the CLI, type
/mcpto open the MCP manager and see each server's state. - If a remote server fails, check that it serves Streamable HTTP and that the field is
serverUrl.
Antigravity MCP questions
How do I add an MCP server to Antigravity?
In the app, open Customizations → Installed → MCP Servers and click +, or edit ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (workspace).
Does Antigravity support SSE servers?
No. Remote servers must use Streamable HTTP.
Does it support OAuth?
Yes, OAuth 2.0 with PKCE, through client metadata documents, dynamic registration or a manual client ID.
What is the remote server field called?
serverUrl, with optional headers and timeoutSeconds.
Popular MCP servers for Antigravity
- 1
Lets an AI client create, inspect, validate, and save editable 3D building scenes, including walls, rooms, doors, and furnishings.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "editor": { "command": "npx", "args": [ "-y", "@pascal-app/mcp" ] } } } - 2
Lets AI agents search, run, and read results from thousands of web scraping and automation Actors on Apify Store.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "apify-mcp-server": { "serverUrl": "https://mcp.apify.com/" } } } - 3
Lets an AI client read and change Google Ads, Reddit Ads and GA4 campaigns, with a preview shown before every change.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "adloop": { "command": "uvx", "args": [ "adloop" ] } } } - 4
Connects AI agents and IDEs to enterprise databases using prebuilt tools or a custom framework for secure, structured queries.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "mcp-toolbox": { "command": "docker", "args": [ "run", "-i", "--rm", "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.17.0" ] } } } - 5
Connects AI agents and IDEs to enterprise databases using prebuilt tools or a custom framework for secure, structured queries.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "genai-toolbox": { "command": "docker", "args": [ "run", "-i", "--rm", "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.31.0" ] } } } - 6
Fetches up-to-date, version-specific library documentation and code examples into an AI coding agent's context.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "context7": { "command": "npx", "args": [ "-y", "@upstash/context7-mcp" ] } } } - 7
Lets an AI client access product analytics, feature flags, experiments, dashboards, and error tracking data.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "mcp-5b028a": { "serverUrl": "https://mcp.posthog.com/mcp" } } } - 8
Exposes your Nhost GraphQL API as an MCP server to allow AI assistants to query and mutate project data within user-defined permissions.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "docker.io/nhost/mcp:0.4.0-beta2" ] } } } - 9
Turns web pages into clean markdown, JSON, or LLM-ready text and lets AI clients scrape, crawl, search, and extract structured data from websites.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "webclaw": { "command": "npx", "args": [ "-y", "@webclaw/mcp" ] } } } - 10
Connects AI clients to GitHub so they can read repositories, manage issues and pull requests, and inspect workflows.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "github-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/github/github-mcp-server:2.1.0" ] } } } - 11
Manage backend schemas, authentication, functions, storage, RAG, and deployments directly from an MCP-capable client.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@butterbase/mcp" ] } } } - 12
Enables AI clients to manage Kubernetes and OpenShift resources through direct API interaction, including pod operations, Helm charts, and Tekton pipelines.
Config for Antigravity
~/.gemini/config/mcp_config.json{ "mcpServers": { "kubernetes-mcp-server": { "command": "npx", "args": [ "-y", "kubernetes-mcp-server" ] } } }