Add Onyx
/mcp to check that Onyx is connected,
then send the test prompt. The Codex CLI, desktop app,
and IDE extension share this configuration.
Configure with TOML
Instead ofcodex mcp add, add this to ~/.codex/config.toml, then run codex mcp login onyx:
[mcp_servers.onyx] table in the file.
Personal access token
To use a token instead of OAuth, export a personal access token asONYX_TOKEN and use this table:
codex from the shell that exports ONYX_TOKEN. A desktop app started separately may not see it.