Antigravity

Add Scalebrowser to Google Antigravity, which shares one MCP configuration across its IDE and CLI.

Antigravity keeps one MCP configuration for the IDE and the CLI together. Its remote-server entry uses serverUrl rather than the url most other clients expect.

Before you start

Everything below assumes a daemon that is already running and a token to reach it with.

Windows desktop app

The app starts the daemon for you. The token is the contents of %LOCALAPPDATA%\Scalebrowser\token, and the address it is listening on is the native_addr field of %LOCALAPPDATA%\Scalebrowser\runtime.json. That is usually 127.0.0.1:8787, but the app moves up a port when something else already holds it.

Self-hosted daemon

scalebrowser-daemon --generate-token prints a token and stores it under <data_dir>/token. The address is whatever bind_addr says, which is 127.0.0.1:8787 unless you changed it. See Install & run.

Add the server

~/.gemini/config/mcp_config.json applies everywhere; .agents/mcp_config.json in a workspace overrides it there.

~/.gemini/config/mcp_config.jsonjson
{
  "mcpServers": {
    "scalebrowser": {
      "serverUrl": "http://127.0.0.1:8787/v1/mcp",
      "headers": {
        "Authorization": "Bearer <token>"
      }
    }
  }
}

In the IDE you can reach the same file without leaving the editor: at the top of the agent panel → MCP ServersManage MCP ServersView raw config.

What the agent can do now

Ask it to open a page and it will lease a profile, bind a tab and start reading. The tool set, the page map and the failure shapes are on MCP server; what the agent is allowed to do is decided by the daemon, not by the client, so see tool profiles.