CleanClean
Agents

Codex

Connect Clean to OpenAI Codex CLI.

The installer writes the MCP config to ~/.codex/config.toml automatically.

Manual setup

Add the following to ~/.codex/config.toml:

[mcp_servers.clean]
url = "http://localhost:8000/mcp"
 
[mcp_servers.clean.http_headers]
Authorization = "Bearer YOUR_API_KEY"

Verify

Run Codex and ask it to list its MCP tools. You should see search_code, index_repo, and list_repos.

On this page