Connecting to Antigravity

Antigravity IDE supports MCP servers via its configuration file.

Step 1: Open the Config File

Locate the Antigravity configuration file:

  • ~/.gemini/config/mcp_servers.json

(If the file does not exist, create it).

Step 2: Add the Configuration

Add the Libro MCP connection command.

{
  "mcpServers": {
    "libro": {
      "command": "npx",
      "args": ["-y", "libro-mcp-server@latest"],
      "env": {
        "LIBRO_API_KEY": "YOUR_API_KEY",
        "LIBRO_USER_ID": "YOUR_USER_ID",
        "LIBRO_BASE_URL": "https://www.libro.co.in"
      }
    }
  }
}

Step 3: Reload Window

Reload your Antigravity IDE Window. The Antigravity agent will now automatically invoke the Libro memory tools to store and retrieve your context.