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.
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.
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.
The token is a full-power credential. It reaches every profile, every stored session and the whole management API. Treat it like a password: keep it out of a repository, and prefer your client's environment-variable syntax over a literal in a config file that gets committed.
Add the server
~/.gemini/config/mcp_config.json applies everywhere; .agents/mcp_config.json in a
workspace overrides it there.
{
"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 Servers → Manage MCP Servers → View raw config.
serverUrl, not url. An entry that says url is read as a different shape and the
server never loads.
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.