Set Up Clean
Get Clean running — through the hosted dashboard, or self-hosted on your own machine.
Clean comes in two editions. Choose the one that fits how you work — both expose the same MCP tools.
After signing up, the dashboard walks you through a four-step onboarding flow. You can reach it any time at mcp.tryclean.ai/dashboard/onboarding.
Step 1: Install the GitHub App
Click Install GitHub App to grant Clean read-only access to your repositories. You choose exactly which repos to share. Clean never writes to or modifies your code. Once you complete the GitHub authorization, the page updates automatically.
Step 2: Select repos to index
Choose the repositories you want Clean to search. The number of repos depends on your plan:
| Plan | Repos |
|---|---|
| Free | 3 |
| Pro | 15 |
| Max / Enterprise | Unlimited |
Step 3: Wait for indexing
Clean clones your repos, parses them with tree-sitter, and embeds every function and class. This typically takes 1–5 minutes per repo. You'll see live progress; once all repos show Done, you move on automatically.
Step 4: Copy your MCP config
The dashboard shows a ready-to-use config block. Select your agent (Claude Code, Cursor, Claude Desktop, Antigravity, Codex) and either:
- Run the terminal command — pastes the config into the right file for you (recommended).
- Copy the JSON/TOML config — add it manually if you have other MCP servers to preserve.
Your API key is included automatically.