# Antigravity Link

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 219
- Author: cafeTechne
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cafeTechne/antigravity-link-extension
- Updated: 2026-06-04
- HTML: https://affpapa.org/en/nevibecode/mcp/antigravity-link

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `AG_BRIDGE_URL`, `AG_BRIDGE_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add antigravity-link -e AG_BRIDGE_URL=<AG_BRIDGE_URL> -e AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> -- npx -y antigravity-link-extension
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add antigravity-link --env AG_BRIDGE_URL=<AG_BRIDGE_URL> --env AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> -- npx -y antigravity-link-extension
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e AG_BRIDGE_URL=<AG_BRIDGE_URL> -e AG_BRIDGE_TOKEN=<AG_BRIDGE_TOKEN> antigravity-link npx -y antigravity-link-extension
```
Replace <…> with your own values

## When to use it
- 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
- Show me the current Antigravity chat and summarize its latest reply.
- Ask the active Antigravity session to inspect this error.
- Stop generation in Antigravity.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74559
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
