codex mcp add command or directly in ~/.codex/config.toml.
Server URL
Option 1 - CLI command
Option 2 - Edit config file
Add this block to~/.codex/config.toml:
codex mcp login mytruv-mcp to sign in.
The ChatGPT desktop app, the Codex CLI, and the Codex IDE extension share this configuration, so a server added here is available in all three.