Agents
Agent Overview
Clean works with Claude Code, Cursor, Claude Desktop, Antigravity, and Codex via MCP.
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 three tools:
| Tool | Description |
|---|---|
search_code | Semantic search across indexed repos |
index_repo | Trigger indexing for a repository |
list_repos | List all indexed repositories |
Supported agents
| Agent | Transport | Config location |
|---|---|---|
| Claude Code | SSE | ~/.claude.json |
| Cursor | SSE | ~/.cursor/mcp.json |
| Claude Desktop | stdio proxy | Claude Desktop config |
| Antigravity | SSE | ~/.gemini/antigravity/mcp_config.json |
| Codex | HTTP | ~/.codex/config.toml |
Getting your config
The dashboard generates the correct config block for each agent. Go to tryclean.ai/dashboard/onboarding and open the MCP Config step, or visit Dashboard → API Keys to get a config with a specific key.