CleanClean
Agents

Antigravity

Connect Clean to Antigravity (Google's AI coding agent) — locally over stdio or through the cloud.

Antigravity reads MCP servers from ~/.gemini/antigravity/mcp_config.json.

The local edition runs as a stdio server that Antigravity launches. Add this to ~/.gemini/antigravity/mcp_config.json:

{
  "mcpServers": {
    "clean": {
      "command": "python",
      "args": ["-m", "clean.local.mcp_server"]
    }
  }
}

To pin a default repo, append --repo owner/repo to args. Install Clean from source first.

Verify

Ask Antigravity to list its available tools. You should see Clean's toolssearch_code, expand_result, get_source, get_file_tree, list_repos (plus index_repo and delete_repo locally).

On this page