Antigravity Link MCP Server

by cafeTechne

401 downloads
Not rated
GitHub

About

Antigravity 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,

Details

Author
cafeTechne
Downloads
401
Categories
Developer Tools

- MCP tools for Antigravity session control
- Token‑based authentication for security
- Works over local network only
- Integrates with any MCP‑compatible AI client
- Supports HTTPS for voice input via mobile UI

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Antigravity Link MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Start the extension server with the Antigravity Link: Start Server command and copy the token from the QR code URL. Then configure your MCP client to point to the mcp-server.mjs script and set the environment variables AG_BRIDGE_URL and AG_BRIDGE_TOKEN. The MCP server exposes tools equivalent to the HTTP API endpoints /snapshot, /send, and /stop.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "antigravity link mcp server": {
            "antigravity-link": {
                "command": "node",
                "args": [
                    "/path/to/antigravity-link-extension/mcp-server.mjs"
                ],
                "env": {
                    "AG_BRIDGE_URL": "https://localhost:3000",
                    "AG_BRIDGE_TOKEN": "<your-token>"
                }
            }
        }
    }
}

McpServers

{
    "antigravity-link": {
        "command": "node",
        "args": [
            "/path/to/antigravity-link-extension/mcp-server.mjs"
        ],
        "env": {
            "AG_BRIDGE_URL": "https://localhost:3000",
            "AG_BRIDGE_TOKEN": "<your-token>"
        }
    }
}

MCP server

Antigravity Link ships an MCP (Model Context Protocol) server that lets AI assistants drive your Antigravity session directly.

Setup

Add the following to your MCP client configuration (e.g. claude_desktop_config.json):

{
  "antigravity-link": {
    "command": "node",
    "args": ["<extension-dir>/mcp-server.mjs"],
    "env": {
      "AG_BRIDGE_URL": "https://localhost:3000",
      "AG_BRIDGE_TOKEN": "<your-token>"
    }
  }
}

Replace <extension-dir> with the path to the installed extension:
- Windows: %USERPROFILE%\.antigravity\extensions\cafetechne.antigravity-link-extension-1.0.13
- macOS/Linux: ~/.antigravity/extensions/cafetechne.antigravity-link-extension-1.0.13

The token is the value after ?token= in the QR code URL. The extension server must be running before the MCP client connects.

Available tools

| Tool | Description |
| --- | --- |
| get_snapshot | Get current chat state, mode, model, and generation status. |
| send_message | Send a message to the active chat. |
| stop_generation | Cancel active AI generation. |
| get_instances | List available Antigravity windows. |
| switch_instance | Switch to a different Antigravity window. |
| click_element | Click a UI element by selector, text, or coordinates. |
| get_task | Read the current task document. |
| get_walkthrough | Read the current walkthrough document. |
| get_plan | Read the current implementation plan. |

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.