Behavry Integration — Google Antigravity
Google Antigravity speaks MCP over Streamable HTTP via ~/.config/antigravity/mcp.json. It connects to Behavry's unified MCP gateway (/mcp/v1) with the agent's client credentials as an HTTP Basic header, using the standard mcpServers shape.
Prerequisites
- A running Behavry instance (your control-plane URL, or
http://localhost:8000for a local stack) - Google Antigravity installed
- An enrolled agent (gives you the
client_id/client_secret)
1. Enroll the agent
In the dashboard: Agents → Enroll Agent → Antigravity (Google). Behavry provisions the agent and gives you the config block to paste, with credentials filled in.
2. Config file location
~/.config/antigravity/mcp.json
3. Config block
Merge under the mcpServers key:
{
"mcpServers": {
"behavry": {
"url": "https://<your-behavry-host>/mcp/v1",
"headers": {
"Authorization": "Basic <base64(client_id:client_secret)>"
}
}
}
}
Activate
- Open Antigravity → Settings → Extensions → MCP Servers
behavryshould appear with a connected status- If not visible, restart Antigravity
Verify
Invoke a tool (e.g. "List files in the current directory"). The tool call appears in the dashboard → Live Activity.
Troubleshooting
401 Unauthorized — Credentials wrong or agent revoked. Re-enroll and paste the fresh block.
Server not connecting — Confirm the url ends in /mcp/v1 and the backend is reachable: curl https://<your-behavry-host>/health.