CleanClean
Agents

Antigravity

Connect Clean to Antigravity (Google's AI coding agent).

Add the following to ~/.gemini/antigravity/mcp_config.json:

{
  "mcpServers": {
    "clean": {
      "serverUrl": "https://api.tryclean.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY",
        "X-Clean-Slug": "your-org-slug"
      }
    }
  }
}

Replace YOUR_API_KEY with your clean_sk_... key and your-org-slug with your organization slug.

Getting the config from the dashboard

Go to tryclean.ai/dashboard/onboarding, open the MCP Config step, and select the Antigravity tab. The dashboard generates the config with your credentials pre-filled.

Verify

Ask Antigravity to list its available tools. You should see search_code, index_repo, and list_repos.

On this page