Agents
Agent Overview
Clean works with Claude Code, Cursor, 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 | Setup | Config location |
|---|---|---|
| Claude Code | Automatic | ~/.claude.json |
| Cursor | Manual paste required | ~/.cursor/mcp.json |
| Antigravity | Automatic | ~/.gemini/antigravity/mcp_config.json |
| Codex | Automatic | ~/.codex/config.toml |
Reconnecting
To re-run the MCP config step without reinstalling: