Antigravity MCP Server
Provides integration with the Google Antigravity Python SDK for enabling real-time AI agent swarms, bidirectional tool proxying, and human-in-the-loop execution safety.
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., "@Antigravity MCP Serverspawn a new agent session for backend engineering"
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 MCP Server
A powerful "Next-Level" Model Context Protocol (MCP) server that acts as a programmatic bridge for the Google Antigravity Python SDK. It enables real-time AI agent swarms, bidirectional tool proxying, and Human-in-the-Loop execution safety.
📖 Table of Contents
Related MCP server: codex-agy-bridge
✨ Features
Real-Time Swarm Communication: Agents dynamically share a "Blackboard" document, keeping their schemas and logic in sync.
Bidirectional Tool Proxying: Inject your custom application logic as tools directly into the AI agent's execution context.
Human-in-the-Loop (HitL): Block dangerous terminal actions and file system mutations until user approval is received.
Feature Pipelines: Spin up specialized Planner, Coder, and Reviewer agents in a unified workflow.
🏛️ Architecture
graph TD;
Client[Your Application] -->|JSON-RPC| MCPServer[FastAPI MCP Server];
MCPServer -->|Tool Proxy| Client;
MCPServer --> SwarmManager[Swarm Manager Blackboard];
MCPServer --> HitL[HitL Interceptor];
HitL -.->|Approval Required| Client;
SwarmManager --> Agent1[Agent 1: Coder];
SwarmManager --> Agent2[Agent 2: Reviewer];
Agent1 --> AntigravitySDK[Google Antigravity SDK];
Agent2 --> AntigravitySDK;🔌 API Reference
Model Management & Limits
GET /models: Lists available models, their benchmarks (MMLU), and token costsPOST /select_model: Selects the active model for a sessionGET /usage_limits: Checks the usage limit (5-hour constraints and weekly tokens)
Agent Lifecycle Management
POST /spawn_session: Creates a new agent session with capabilitiesGET /list_sessions: Returns active sessionsDELETE /kill_session/{session_id}: Terminates an agent
Interaction & Execution
POST /send_prompt/{session_id}: Sends a task to an agentGET /get_transcript/{session_id}: Fetches conversation history
Multi-Agent Swarms & Communication
POST /run_feature_pipeline: Triggers Planner -> Coder -> Reviewer workflowPOST /broadcast_update/{session_id}: Updates all agents about schema/state changesGET /read_blackboard: Retrieves the global swarm state
Bidirectional Tool Proxying
POST /register_client_tool: Injects a custom app tool into the agentPOST /handle_tool_callback/{callback_id}: Returns the tool execution result from your app back to the agent
Human-in-the-Loop (HitL) Safety
POST /approve_action/{action_id}: Allows a paused/blocked action to proceedPOST /reject_action/{action_id}: Rejects an action and sends feedback to the agent
Artifact Integration (Resources)
GET /agent/{session_id}/artifacts/list: Lists all markdown artifactsGET /agent/{session_id}/artifacts/{artifact_id}: Retrieves specific artifact contentGET /agent/{session_id}/artifacts/implementation_plan: Direct access to the design planGET /agent/{session_id}/artifacts/walkthrough: Direct access to the completion summary
🛠️ Installation
# Clone the repository
git clone https://github.com/Inferno-Aditya/antigravity-mcp.git
cd antigravity-mcp
# Install dependencies
pip install -r requirements.txt🚀 Quick Start
Start the MCP Server on port 8000:
python server.pyThe server will mount all standard MCP endpoints (spawn_session, send_prompt, etc.) on localhost:8000.
Spawning a Session via HTTP POST
curl -X 'POST' \
'http://localhost:8000/spawn_session' \
-H 'Content-Type: application/json' \
-d '{
"capabilities": ["terminal_read", "file_write"],
"system_prompt": "You are a backend engineering agent."
}'🛡️ Human-in-the-Loop Intercepts
Whenever an agent attempts a high-risk operation, the MCP server automatically intercepts it.
The agent pauses while you interact with the /approve_action or /reject_action API endpoints, allowing you to review destructive commands before they run.
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
- Alicense-qualityAmaintenanceAntigravity Link is an MCP server and mobile companion for Google's Antigravity IDE. It captures live snapshots of the Antigravity chat UI via Chrome DevTools Protocol and serves them to a mobile web client. From your phone you can send messages, upload files, stop AI generation, switch instances, and read task/walkthrough/plan documents. Exposes 9 MCP tools and a full OpenAPI 3.1 spec.Last updated48203MIT
- AlicenseBqualityAmaintenanceAn MCP bridge that lets Codex delegate long-running agent work to the Antigravity CLI, providing observable and resumable tool-based execution with project scoping.Last updated134MIT
- Flicense-qualityDmaintenanceActs as the 'Hands and Eyes' for an Autonomous AI Agent, bridging Large Language Models and your local development environment to enable safe file manipulation, context reading, command execution, and documentation verification.Last updated2
- Flicense-qualityCmaintenanceBridges Google Antigravity CLI with MCP clients, enabling 13 specialized tools for AI-assisted coding, automation, and security audits.Last updated
Related MCP Connectors
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Runtime permission, approval, and audit layer for AI agent tool execution.
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
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/Inferno-Aditya/antigravity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server