Skip to main content
Glama

Antigravity in Chrome

English | 한국어

Lets Google Antigravity read and control your real Chrome browser, the way Claude in Chrome does. It ships as a Chrome extension (Manifest V3), a local bridge, an MCP server, and an Antigravity plugin with skills.

It works inside your everyday Chrome profile, so your logins and cookies stay available. The agent can only touch tabs in the blue Antigravity tab group.

Status: 0.2.0, early release. Tool schemas and output formats may still change.

Requirements

  • Node.js 20 or later (no npm dependencies)

  • Chrome, Chromium, Brave, or Arc

  • macOS or Linux for the Native Messaging installer

Related MCP server: chrome-mcp

Install

  1. Load the extension. Open chrome://extensions, turn on Developer mode, click Load unpacked, and select the extension/ folder. The extension ID is always ckbboikabkmdigmlfbejkkcefbahifjc.

  2. Register the native host and the plugin.

    npm run install:host
    npm run install:plugin

    The first command installs the Native Messaging manifest for your browsers. The second links this folder into ~/.gemini/config/plugins/antigravity-in-chrome, after which you can toggle the plugin in Antigravity's Customizations screen.

  3. Check the connection. Click the extension icon to open the side panel. The badge should read Connected.

Optional: WebSocket fallback

Only needed where Native Messaging is unavailable. The fallback stays disabled until you pair it.

npm run pairing-key

Paste the printed key into the side panel under Bridge Pairing and click Pair. Use npm run pairing-key -- --rotate to issue a new key, then restart running MCP servers.

Use

  1. Ask Antigravity to do something in Chrome. It calls tabs_context first, which opens a tab in the Antigravity group if there is none.

  2. To hand over a tab you already have open, click + Attach Current Tab in the side panel.

  3. Pick a permission mode in the side panel:

    • Ask: approve every action that changes a page.

    • Auto: actions inside the tab group run without prompts.

    • Autonomous: no prompts.

  4. Click Stop in the side panel or on the page overlay to halt the agent. Every command is refused until you click Resume in the side panel.

Tools

Area

Tools

Tabs

tabs_context, tabs_create, tabs_close, navigate, resize_window

Reading

read_page, find, get_page_text

Input

form_input, computer, upload_image, javascript_tool, handle_dialog

Debugging

read_console_messages, read_network_requests

Other

gif_creator, shortcuts_list

Parameters are listed in tools-reference.md.

Configuration

Variable

Purpose

AGY_CHROME_UPLOAD_ROOTS

Folders that upload_image may read and gif_creator may write to. Defaults to the MCP client's workspace, then the server's working directory.

AGY_CHROME_EXTENSION_IDS

Extra extension IDs to accept, comma-separated, if you load the extension under a different ID.

AGY_CHROME_AUTO_LAUNCH

Set to 0 to stop the MCP server from launching Chrome when the extension is not connected.

AGY_CHROME_BINARY

Browser binary to launch.

AGY_CHROME_PORT

WebSocket fallback port (default 47321).

AGY_CHROME_STATE_DIR

Where bridge state and the pairing key are stored (default ~/.antigravity-in-chrome).

Security

  • Only local processes running as your user can drive the browser. The bridge binds to loopback and checks a token stored in a 0600 file.

  • The WebSocket fallback requires the fixed extension origin and mutual authentication with the pairing key.

  • File tools are confined to the project folder: upload_image reads files up to 50 MB, and gif_creator writes only .gif files. Symlinks that point outside are rejected.

  • Page text, console output, and network logs are written by websites. The agent is told to treat them as data and never as instructions.

  • Reading console or network logs attaches Chrome's debugger, so Chrome shows its "debugging" banner while monitoring is on.

Troubleshooting

  • "Extension is not connected": confirm the extension is enabled, open the side panel, and click Reconnect. Run npm run install:host again if the badge stays disconnected.

  • A tab is rejected: it is outside the Antigravity tab group. Attach it from the side panel.

  • Clicks fall back to synthetic events: DevTools is open on that tab. Close it so the debugger can attach.

Development

npm test
npm run test:coverage

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents to directly control your real Chrome browser with full context including login sessions, cookies, and open tabs. It provides tools for page scanning, JavaScript execution, CDP control, screenshots, and physical mouse/keyboard input for authentic browser automation.
      20
      243
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables any coding agent to use the user's existing Chrome profiles and logins to open tabs, read pages, fill forms, click through flows, and take screenshots.
      33 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to inspect and operate web pages in the user's Chrome browser through a single browser tool, carrying out clicks, typing, navigation, and page reads while pausing for approval on risky or sensitive actions.
      1
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Lets AI agents drive the user's real Chromium browser, including opening and controlling tabs, taking screenshots, capturing network traffic, recording screen activity, and handing control back for logins or payments while using the user's existing sessions, logins, and extensions.
      1,280
      MIT