CleanClean
Agents

Agent Overview

Clean works with Claude Code, Cursor, Claude Desktop, Antigravity, and Codex via MCP — locally over stdio or through the cloud.

Clean connects to AI coding agents through the Model Context Protocol (MCP), an open standard for giving AI tools structured access to external services.

Once connected, your agent gains Clean's full set of MCP toolssearch_code, expand_result, get_source, get_file_tree, list_repos, and (on the local edition) index_repo and delete_repo.

Two transports

How your agent connects depends on which edition you use:

EditionTransportHow it connects
Local (open source)stdioThe agent launches python -m clean.local.mcp_server and talks to it over stdin/stdout. No URL, no key.
CloudSSE / HTTPThe agent connects to https://api.tryclean.ai/mcp with an API key and org slug.

Pick a tab on each agent's page to see the matching config.

Supported agents

AgentLocal config locationCloud config location
Claude Code.mcp.json (or claude mcp add)~/.claude.json
Cursor~/.cursor/mcp.json~/.cursor/mcp.json
Claude DesktopClaude Desktop config (command)Claude Desktop config (stdio proxy)
Antigravity~/.gemini/antigravity/mcp_config.json~/.gemini/antigravity/mcp_config.json
Codex~/.codex/config.toml (or codex mcp add)~/.codex/config.toml

Any MCP-compatible client works — these just have ready-made snippets.

Getting your config

On this page