Antigravity MCP
MCP server letting coding agents delegate research and review to Antigravity models
Antigravity MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 1.1.0
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add antigravity-mcp -- npx -y @pymodel/antigravity-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"antigravity-mcp": {
"command": "npx",
"args": [
"-y",
"@pymodel/antigravity-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"antigravity-mcp": {
"command": "npx",
"args": [
"-y",
"@pymodel/antigravity-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"antigravity-mcp": {
"command": "npx",
"args": [
"-y",
"@pymodel/antigravity-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"antigravity-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pymodel/antigravity-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add antigravity-mcp -- npx -y @pymodel/antigravity-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.antigravity-mcp]
command = "npx"
args = ["-y", "@pymodel/antigravity-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"antigravity-mcp": {
"command": "npx",
"args": [
"-y",
"@pymodel/antigravity-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }Or run: gemini mcp add -s user antigravity-mcp npx -- -y @pymodel/antigravity-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "antigravity-mcp": { "command": "npx", "args": [ "-y", "@pymodel/antigravity-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
AGY_PATHPath to the agy binary (defaults to `agy` on PATH)AGY_TIMEOUTOverride the runtime ceiling for all tools, in seconds (use AGY_TIMEOUT_<TOOL> to override a single tool)AGY_MAX_RUNTIMEAbsolute runtime ceiling in seconds (default 3600); idle periods and intermediate native retries do not terminate a runAGY_MAX_OUTPUT_CHARSTruncation cap for tool output, in characters (default 50000)AGY_DEFAULT_MODELDefault proposed by set_model and last-resort automatic candidate (gemini-flash@latest-high); resolved against the account inventoryAGY_ON_FAILURESet to `strict` to instruct the calling agent not to absorb failed delegations (default `fallback`)
About Antigravity MCP
Antigravity MCP runs as a local stdio server that lets a coding agent such as Claude Code, Codex, OpenCode or Pi hand bounded work to Google Antigravity models. Delegated tasks run through the authenticated Antigravity CLI, so the host agent keeps its own model and workflow while the heavy reading, searching or reviewing happens in a separate conversation.
The bridge resolves model identifiers against the account's live model inventory, keeps conversation sessions so follow-up questions reuse context, and reports usage and partial failures. Responses are capped in size and fenced with a per-call nonce so model output is clearly separated from metadata.
It suits developers who already use an MCP-capable coding agent and want to route large log, file or repository analysis, web lookups, or adversarial design reviews to a second model. Access and billing depend on the user's Antigravity CLI account, not on the host agent's subscription.
Tools this server provides (9)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 9 tools changes data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- analyze_filesName suggests: reads
- Delegated analysis of large files, logs, dumps or generated code
- deep_searchName suggests: reads
- Git log, diff and blame archaeology and repo-wide greps
- web_lookupName suggests: reads
- Documentation and external knowledge lookup
- adversarial_review
- Plan critiques and design or code reviews
- follow_up
- Continue a prior session by session_id
- delegate
- General delegated task, read-only unless write is set
- delegate_many
- Council of models or parallel sub-tasks
- set_modelName suggests: changes
- Save the user's preferred model and tier
- agy_statusName suggests: reads
- Show usage, cooldowns, account quota and resolved model chains
What it does
- Delegated analysis tools
- Dedicated tools for file analysis, repo-wide search, web lookup, code review and general delegation.
- Live model resolution
- Model IDs are checked against the signed-in account's inventory before a run starts.
- Resumable sessions
- Follow-up calls continue a prior conversation without resending earlier context.
- Bounded, fenced output
- Results are size-capped and wrapped in nonce-tagged blocks that separate model output from metadata.
- Runtime and quota controls
- Configurable runtime ceilings, concurrency limits, token budgets and quota cooldown tracking.
- Read-only mode on macOS
- Plan-mode runs can be kernel-sandboxed so they cannot write into the workspace; elsewhere they are only watched.
Good for
- Summarising large log files or generated code without filling the host agent's context
- Searching git history and blame across a repository from inside a coding agent
- Getting an independent second-model critique of a plan or code review
- Looking up current API documentation through a delegated web lookup
- Running one question past several models at once and comparing answers
Pricing
Open source
Open-source bridge; model access and billing follow the user's Antigravity account
Antigravity MCP FAQ
Which coding agents can use Antigravity MCP?
Pi, OpenCode, Codex CLI and IDE, and Claude Code have documented setup paths, and any client with local MCP stdio support can launch the server.
Does Antigravity MCP need a separate Antigravity account?
Yes. Delegated work runs through the authenticated Antigravity CLI (agy), and the host's subscription or API key does not authenticate it.
Is Antigravity MCP open source?
The repository is public on GitHub and distributed as the npm package @pymodel/antigravity-mcp.
Are delegated writes rolled back if something goes wrong?
No. Existing file or remote changes are not rolled back, so the output should be inspected before a deliberate follow-up.
Is Antigravity MCP free?
Yes. Antigravity MCP is open source, so you can use and self-host it for free.
How do I add Antigravity MCP to Claude Code?
Run this command in your terminal: claude mcp add antigravity-mcp -- npx -y @pymodel/antigravity-mcp
What are the best alternatives to Antigravity MCP?
The closest alternatives to Antigravity MCP are Antigravity MCP Server, Claude Agy MCP, Ask Antigravity, MCP Server Google Antigravity and Multi-MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.