agy-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agy-mcpRefactor the auth module and run the test suite via agy, then summarize the diff."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Antigravity Bridge (agy-mcp)
A Model Context Protocol (MCP) server that empowers Claude Code and Claude Desktop to act as the primary architect / orchestrator while delegating token-heavy tasks to Antigravity (agy) headless subagents.
Why This Exists
When working on large repositories, Claude often runs into token limits when performing heavy operations like:
Reading dozens of repository files to understand architecture.
Generating large boilerplate files or multi-file refactors.
Running long test suites and iterative debugging loops.
The Division of Labor:
Claude (The Lead Architect): Maintains high-level context, project structure, and user workflow preferences. Formulates explicit, pixel-perfect instructions.
Antigravity (
agy) (The Execution Engine): Spawns in isolated headless mode (agy -p --dangerously-skip-permissions), performs all heavy file edits, tool runs, and test executions, and returns a concise status diff.
Result: Up to 90%+ token savings for Claude's context window.
Related MCP server: antigravity-claude-mcp
Prerequisites
Node.js:
v20.0.0or newer.Antigravity CLI (
agy): Installed and authenticated on your machine.
Setup for Claude Code
Method 1: Automatic Configuration (Recommended)
Add the server entry to your global Claude Code settings at ~/.claude.json:
{
"mcpServers": {
"antigravity": {
"type": "stdio",
"command": "node",
"args": ["/Users/YOUR_USERNAME/path/to/agy-mcp/dist/server/stdio.js"]
}
}
}Method 2: Via Claude Code CLI
claude mcp add antigravity node /Users/YOUR_USERNAME/path/to/agy-mcp/dist/server/stdio.jsSetup for Claude Desktop
Method 1: 1-Click MCP Bundle (.mcpb)
If you use Claude Desktop with MCP Bundle support:
Locate the pre-built bundle file in
build/agy-mcp.mcpb.Double-click or import the
.mcpbfile into Claude Desktop.
Method 2: Manual Configuration (claude_desktop_config.json)
Add the server entry to your Claude Desktop config located at:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"antigravity": {
"command": "node",
"args": ["/Users/YOUR_USERNAME/path/to/agy-mcp/dist/server/stdio.js"]
}
}
}Restart Claude Desktop, and the hammer icon will display the agy-mcp tools.
MCP Tools Provided
1. agy_execute
Spawns a new headless Antigravity subagent to autonomously perform a task.
instructions(string, required): Step-by-step implementation instructions.workspace_dir(string, optional): Working directory (defaults to current project root).effort(enum:low|medium|high, default:high): Reasoning effort for Antigravity.mode(enum:accept-edits|plan, default:accept-edits): Execution mode.timeout_seconds(number, default:600): Execution timeout in seconds.include_git_diff(boolean, default:true): Returns git status and diff statistics of files modified during execution.
2. agy_continue
Sends follow-up instructions, corrections, or test feedback to an existing Antigravity conversation.
conversation_id(string, required): The conversation ID returned from a prior execution.instructions(string, required): Follow-up guidance or bugfix instructions.workspace_dir(string, optional)effort(enum:low|medium|high)timeout_seconds(number, default:600)
3. agy_inspect_transcript
Inspects recent tool calls and step-by-step actions from an Antigravity conversation log without flooding Claude's context with raw terminal logs.
conversation_id(string, required)max_steps(number, default:20)
4. agy_get_status
Verifies that the Antigravity CLI is available and operational.
Recommended Rules for CLAUDE.md
Add this section to ~/.claude/CLAUDE.md (or your project's CLAUDE.md) so Claude knows how and when to offload heavy tasks:
## Antigravity Delegation Guidelines
- When a task involves reading many files, large multi-file edits, running test suites, or broad exploration:
1. Do NOT load all files into context.
2. Formulate explicit, step-by-step instructions (target file paths, exact schemas, constraints, test commands).
3. Invoke `agy_execute` to run the task via Antigravity.
4. Inspect the returned git changes and response summary.
5. If fixes are needed, invoke `agy_continue` with the returned `conversation_id`.Development & Building
# Clone the repository
git clone https://github.com/josephjerryrhule/agy-mcp.git
cd agy-mcp
# Build TypeScript
npm run build
# Build .mcpb bundle for Claude Desktop
npm run bundle:mcpbLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables Codex to offload expensive code reading, editing, and checking to a worker agent via Claude Code, supporting async jobs and long-running tasks.MIT
- AlicenseAqualityCmaintenanceEnables Claude Code to request independent code reviews and second opinions from other AI models (like Gemini, GPT-OSS) via the Antigravity CLI, directly from the chat.147MIT
- AlicenseAqualityCmaintenanceEnables Claude to delegate tasks to external coding agents (Codex or Antigravity) for independent reviews, separate quota usage, and async processing.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code to delegate tasks to Cursor's headless agent, run adversarial reviews, and verify findings with prosecutor/advocate roles.62MIT
Related MCP Connectors
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Stop re-explaining yourself to Agents. Give it the right context, right when needed.
One shared brain for your AI coding agents: team memory, agent Q&A, tasks, and file claims.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/josephjerryrhule/agy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server