Prerequisites
The Codex app is available on macOS (Apple Silicon). Download it from OpenAI.The Codex app, Codex CLI, and Codex IDE extension all share the same
~/.codex/config.toml configuration. Setting up Danube in any one of them makes it available in all three.Setup
1
Open MCP Settings
Go to Codex Settings → MCP Servers → + Add Server.
2
Add the Danube Server
Fill in the “Connect to a custom MCP” form:
Leave all other fields empty and click Save.
3
Authenticate
After saving, click Authenticate on the Danube server entry. This opens the Danube OAuth authorization page. Paste your Danube API key and click Authorize.
4
Verify Connection
The Danube server should now show as connected in your MCP Servers list. Tools will be available to the Codex agent across all threads.
Troubleshooting
Tools not appearing
Tools not appearing
- Verify the server shows as connected in Settings → MCP Servers
- Check that the transport is set to Streamable HTTP, not STDIO
- Try clicking Authenticate again to re-authorize
Authentication failed
Authentication failed
- Verify your API key is correct
- Generate a new API key from danubeai.com/dashboard/api-keys
- Ensure your Danube account is active
Connection timeout
Connection timeout
- Check your internet connection
- Test the health check:
curl https://mcp.danubeai.com/mcp/health
