Agents
Codex
Connect Clean to OpenAI Codex CLI.
Add the following to ~/.codex/config.toml:
Replace YOUR_API_KEY with your clean_sk_... key and your-org-slug with your organization slug.
Getting the config from the dashboard
Go to tryclean.ai/dashboard/onboarding, open the MCP Config step, and select the Codex tab. The dashboard generates the TOML with your credentials pre-filled.
Verify
Run Codex and ask it to list its MCP tools. You should see search_code, index_repo, and list_repos.