Choose a Codex Path
| Path | Authentication | Best for | Status |
|---|---|---|---|
| Codex OAuth login | COLA Cloud OAuth through WorkOS/AuthKit | Interactive Codex CLI or IDE setup | Preferred when available |
| Codex API-key Bearer auth | COLA Cloud API key in Authorization | Non-interactive setup, CI, and fallback workflows | Supported |
Codex with OAuth
Add the COLA Cloud remote MCP server to your Codex config:/mcp in the
Codex UI to confirm the server is connected, then ask Codex to use COLA Cloud.
Codex with API-Key Bearer Auth
Create a COLA Cloud API key in Dashboard > API Keys, then configure Codex to read it from your environment:- “Use COLA Cloud to find recent bourbon approvals from Kentucky.”
- “Fetch details for the most relevant COLA records and include links.”
- “Search permittees in New York matching importer.”
Troubleshooting
| Symptom | What to check |
|---|---|
codex mcp login colacloud is not available | Use API-key Bearer auth for that Codex version or surface. |
OAuth login succeeds but tool calls fail with oauth_connection_required | The OAuth subject is not linked to an active COLA Cloud account. Contact help@colacloud.us. |
| Tools do not appear | Confirm the config table is [mcp_servers.colacloud], the URL is https://mcp.colacloud.us/mcp, and the server is enabled in /mcp. |
| API-key setup fails | Confirm COLA_API_KEY is exported in the same shell that starts Codex and that the value starts with cola_. |

