CleanClean
Getting Started

Connect Your Agents

Add the Clean MCP config to your coding agent — local stdio or cloud.

How your agent connects depends on which edition you use. Both expose the same MCP tools.

Once your repos are indexed, the dashboard's MCP Config step shows the exact snippet for your agent. Go to mcp.tryclean.ai/dashboard/onboarding and skip to that step, or visit Dashboard → API Keys to generate a new key and see the config.

The config connects your agent to Clean's cloud endpoint:

https://api.tryclean.ai/mcp/sse

Two headers are required:

HeaderValue
AuthorizationBearer clean_sk_...
X-Clean-SlugYour organization slug

Both are included automatically in the config shown on the dashboard.

Agent-specific guides

Verifying the connection

Ask your agent:

"List the available MCP tools"

You should see Clean's tools — search_code, expand_result, get_source, get_file_tree, list_repos, and (on the local edition) index_repo and delete_repo.

On this page