antigravity-mcp-bridge
Provides tools to control Google Antigravity agents, including launching agents, managing sessions, listing workspace artifacts, and running Antigravity CLI commands.
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-bridgelaunch an antigravity agent to summarize my workspace"
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 Bridge (Antigravity 2.0 ↔ Gemini Spark)
Programmatically control Google Antigravity 2.0 agents on Windows via Gemini Spark and remote/local MCP clients over Streamable HTTP and stdio transport.
Architecture Overview
Gemini Spark (or Remote MCP Client)
│
│ HTTPS Request (Authorization: Bearer <MCP_AUTH_TOKEN>)
▼
Tailscale Funnel (Public HTTPS: https://<node>.<tailnet>.ts.net/mcp)
│
│ Encrypted Local Tunnel
▼
Streamable HTTP MCP Server (src/http_server.py on 127.0.0.1:8000)
│
├── AuthMiddleware (Validates MCP_AUTH_TOKEN -> 401 Unauthorized if invalid)
├── /health & /healthz Diagnostic Endpoints
│
▼
FastMCP Core Server (src/server.py - Streamable HTTP & stdio)
│
├── launch_antigravity_agent
├── get_session_status
├── list_workspace_artifacts
└── run_antigravity_cli_command
│
▼
Antigravity Bridge Adapter -> agentapi.bat -> Antigravity 2.0 Runtime -> Local WorkspaceRelated MCP server: tailscale-mcp
Quick Start (Windows One-Click Operations)
START.bat: Initializes environment, creates.envwith secure auth token, starts background HTTP server on127.0.0.1:8000, enables Tailscale Funnel, and displays connection banner.STATUS.bat: Inspects live server health, PID status, auth token state, Tailscale login & Funnel status, and Antigravity runtime availability.STOP.bat: Gracefully terminates the HTTP MCP server process and disables Tailscale Funnel mapping.
Key Features
Dual Transport Support:
Stdio transport for local MCP clients (
python src/server.py).Streamable HTTP transport for Gemini Spark and remote clients (
START.bat/python -m src.http_server).
Authentication & Token Protection:
AuthMiddlewareenforcing token validation on/mcp.Supports
Authorization: Bearer <token>,x-api-key: <token>, or?token=<token>.Auto-generates 32-character hex token if missing in
.env.
Tailscale Funnel Integration:
Secure public HTTPS endpoint without purchasing a domain.
Robust detection, status reporting, and resolution guidance when Tailscale is absent or disabled.
Antigravity 2.0 Local Engine:
Zero-config integration with local Antigravity Language Server via
agentapi.bat.
Safety & Workspace Isolation:
Workspace boundary validation preventing path traversal attacks.
Automatic secret key and token redaction from output streams.
Concurrent workspace execution locking preventing multi-agent conflicts.
Exposed MCP Tools
launch_antigravity_agent: Launches an Antigravity agent task targeting a local workspace.get_session_status: Inspects session status, timestamps, and live metadata.list_workspace_artifacts: Indexes files, sizes, timestamps, and SHA256 hashes in workspace.run_antigravity_cli_command: Executes supportedagentapisubcommands (get-conversation-metadata,send-message,new-conversation).
Verification & Test Suite
Run full automated unit and integration tests:
.venv\Scripts\python.exe -m pytest tests/Run real end-to-end HTTP MCP integration test:
.venv\Scripts\python.exe remote_smoke_test.pyRun local stdio smoke test:
.venv\Scripts\python.exe smoke_test.pyDocumentation
Detailed documentation is available in docs/:
docs/remote-access.md: Complete guide for remote access, Tailscale Funnel, and Gemini Spark connection.docs/mcp-setup.md: Client configuration snippets for Gemini Spark and Antigravity IDE.docs/security.md: Security model, path validation, and secret redaction rules.docs/troubleshooting.md: Troubleshooting matrix and diagnostic recovery steps.FINAL-REPORT.md: Complete integration status report and empirical verification matrix.
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 gradedqualityDmaintenanceExposes any stdio-based MCP server to the internet via HTTP/SSE transport, enabling remote agents to access MCP tools over a network.16MIT
- AlicenseAqualityAmaintenanceMCP server for safe programmatic access to the local Tailscale daemon: tailnet discovery, SSH config generation, port sharing via Serve/Funnel, and latency matrices.620Creative Commons Attribution Non Commercial No Derivatives 4.0 International
- FlicenseNot gradedqualityCmaintenanceEnables local AI agents to generate code and interact with Google Antigravity (Gemini Pro) via MCP, consuming zero API tokens.
- AlicenseNot gradedqualityAmaintenanceMCP server and CLI for Tailscale that lets agents inspect and manage tailnet devices, routes, users, keys, DNS, and ACL policy over stdio or streamable HTTP.5AGPL 3.0
Related MCP Connectors
Tailscale device, route, DNS, key, user, and ACL management over MCP and CLI.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
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/naksh-07/antigravity-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server