Skip to Content
runelay
Connect agents

Antigravity

One block in mcp_config.json, or runelay connect.

Add runelay to Antigravity with your endpoint and an agent key (rnl_…). Replace the URL and the key with yours; with the desktop app the URL is http://127.0.0.1:4312/v1/mcp.

~/.gemini/config/mcp_config.json
{
  "mcpServers": {
    "runelay": {
      "serverUrl": "https://runelay.example.com/v1/mcp",
      "headers": { "Authorization": "Bearer rnl_..." }
    }
  }
}

Save the file and reopen Antigravity. To find the file, use View raw config under Manage MCP Servers in the IDE, or Copy Config File Path under Customizations in the app. .agents/mcp_config.json in a workspace covers one project.

runelay connect writes this block into ~/.gemini/config/mcp_config.json when it finds ~/.gemini/antigravity or ~/.gemini/config, and also into the older ~/.gemini/antigravity/mcp_config.json if that file exists. Other servers in the file stay. If the file is not valid JSON, connect leaves it alone and tells you to add the block by hand. Antigravity's Knowledge Items have no file setting, so connect only prints a reminder to review them in the Agent Manager. See the native memory table.

Step by step, with what Antigravity gets once connected: runelay.com/guides/antigravity.