Antigravity Link — Claude Code MCP server: setup and features
Connects Claude Code to active Antigravity sessions through a local HTTP API and MCP server. Use an agent to interact with a session or follow the chat from a phone.
claude mcp add antigravity-link -e AG_BRIDGE_URL=<AG_BRIDGE_URL> -e AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> -- npx -y antigravity-link-extensionWhat Antigravity Link does
Antigravity Link connects Antigravity IDE with a phone and external tools. Its mobile view can display the active chat, send messages, stop generation, and upload files. Voice input requires HTTPS. You can also switch between multiple Antigravity windows.
The extension runs a local bridge with token authentication, an HTTP API, and an MCP server. Antigravity must start with --remote-debugging-port=9000 so the extension can find its session. The phone and computer need to share a local network.
To connect an MCP client, provide AG_BRIDGE_URL and AG_BRIDGE_TOKEN, then run npx -y antigravity-link-extension. The client depends on the bridge running in the IDE; it does not connect to an Antigravity session on its own.
What it helps with
- read an active Antigravity chat from a phone
- send a message to the current session
- stop generation remotely
- upload a file to the active chat
- switch between Antigravity windows
Example prompts for the agent
- Show me the current Antigravity chat and summarize its latest reply.
- Ask the active Antigravity session to inspect this error.
- Stop generation in Antigravity.
How to install Antigravity Link
Platform CLI
claude mcp add antigravity-link -e AG_BRIDGE_URL=<AG_BRIDGE_URL> -e AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> -- npx -y antigravity-link-extensionReplace <…> with your own values
Platform CLI
codex mcp add antigravity-link --env AG_BRIDGE_URL=<AG_BRIDGE_URL> --env AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> -- npx -y antigravity-link-extensionReplace <…> with your own values
Config file
{
"mcpServers": {
"antigravity-link": {
"command": "npx",
"args": [
"-y",
"antigravity-link-extension"
],
"env": {
"AG_BRIDGE_URL": "<AG_BRIDGE_URL>",
"AG_BRIDGE_TOKEN": "<AG_BRIDGE_TOKEN>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"antigravity-link": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"antigravity-link-extension"
],
"env": {
"AG_BRIDGE_URL": "<AG_BRIDGE_URL>",
"AG_BRIDGE_TOKEN": "<AG_BRIDGE_TOKEN>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e AG_BRIDGE_URL=<AG_BRIDGE_URL> -e AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> antigravity-link npx -y antigravity-link-extensionReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Antigravity Link
How do I install Antigravity Link in Claude Code?
Add the MCP server with claude mcp add antigravity-link -e AG_BRIDGE_URL=<AG_BRIDGE_URL> -e AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> -- npx -y antigravity-link-extension. Start Antigravity with --remote-debugging-port=9000 and have the bridge running.
What does Antigravity Link do?
It exposes active Antigravity sessions through a local HTTP API and MCP server, and mirrors the chat in a mobile browser. You can send messages, stop generation, and upload files.
What is required for the extension to find an Antigravity session?
Launch Antigravity IDE with --remote-debugging-port=9000. For phone access, the computer and phone must use the same local network.