# OpenAI Codex CLI + Dizo

> Register Dizo in the Codex CLI config.toml so Codex can look up companies, people and emails while it works.

Type: MCP client — server URL `https://mcp.dizo.ai/mcp`. No native app needed.

## Steps
1. Export `DIZO_API_KEY` in your shell.
2. Add the block below to `~/.codex/config.toml`.
3. Start `codex` and ask it to list MCP tools.

## ~/.codex/config.toml
```
[mcp_servers.dizo]
url = "https://mcp.dizo.ai/mcp"
bearer_token_env_var = "DIZO_API_KEY"

# stdio alternative for older builds:
# command = "npx"
# args = ["-y", "@dizo/mcp"]
# env = { DIZO_API_KEY = "dz_live_..." }
```

## Notes
- Codex config keys change between releases; if remote URLs are not supported in yours, use the stdio form.

## Related API docs
- [/docs/search](https://dizo.ai/docs/search.md)
- [/docs/company-enrich](https://dizo.ai/docs/company-enrich.md)
