Skip to main content

Behavry Integration — Google Antigravity

Google Antigravity supports MCP servers natively via ~/.config/antigravity/mcp.json. Behavry connects as a Streamable HTTP MCP server.


Prerequisites

  • Behavry stack running (make dev or docker compose up)
  • Google Antigravity installed
  • Python 3.11+

Config File Location

~/.config/antigravity/mcp.json

Quick Setup

make setup

This detects Antigravity, provisions an antigravity-local agent, and merges the MCP server config into ~/.config/antigravity/mcp.json.


Manual Configuration

Add to ~/.config/antigravity/mcp.json:

{
"mcpServers": {
"behavry": {
"transport": "streamable-http",
"url": "http://localhost:8000/mcp/v1/",
"headers": {
"Authorization": "Bearer <behavry-jwt>"
}
}
}
}

Activate

  1. Open Antigravity → SettingsExtensionsMCP Servers
  2. The Behavry server should appear with a connected status
  3. If not visible, restart Antigravity

Verify

  1. Invoke a tool in Antigravity (e.g., "List files in the current directory")
  2. Check http://localhost:5173Live Activity for the event

Token Refresh

make tokens

Antigravity picks up the new token on the next MCP request without requiring a restart.