Connect Google Antigravity to Claude Code (agy MCP)
Claude Code can delegate work to Google Antigravity through the agy CLI. With antigravity-mcp, Claude gets tools to start Antigravity runs, wait for them without polling, review the changes and continue the same conversation.
Option 1: the plugin (recommended)
/plugin marketplace add aristidew1/antigravity-mcp
/plugin install antigravity-mcp@antigravity
The plugin installs the MCP server, a skill that teaches Claude when and how to delegate, and an asyncRewake hook. When a run outlives the tool call, the hook waits for it in the background and wakes Claude with the result. You need Node.js 20+ and a signed-in agy.
Option 2: register the server yourself
git clone https://github.com/aristidew1/antigravity-mcp
node antigravity-mcp/src/cli.mjs install --client claude-code
# or: claude mcp add -s user antigravity -- node /absolute/path/to/antigravity-mcp/src/cli.mjs
To get the wake-up behaviour without the plugin, add the hook from the README to ~/.claude/settings.json.
What to ask Claude
- "Ask Antigravity to review
src/for bugs, read-only." - "Have Antigravity implement the TODOs in
parser.tsin a worktree, then show me the diff." - "Hold an Antigravity council (Gemini and Claude) on whether this migration is safe."
Good practice
- Leave
modelon"auto": it routes to the pool with quota left and falls back automatically. - Use
access: "edit"for changes. Usefull(shell commands allowed) only when you agree to it. You can forbid it withmax_access. - Use
isolation: "worktree"when Claude and Antigravity work on the same repo at the same time. - Treat agy's output as untrusted: read
changed_filesand the diff, and run the tests.