Integrations
Codex CLI
Register the OptixLog MCP server with Codex using a bearer-token environment variable.
This flow was verified with Codex CLI 0.144.0. The client completed the MCP handshake, listed six tools, and ran a project knowledge search.
Export the API key
export OPTIXLOG_API_KEY="sk-opt-REPLACE_ME"Set the variable in every environment that launches Codex, including an IDE process if you use the extension.
Register the server
codex mcp add optixlog \
--url https://api.optixlog.com/mcp \
--bearer-token-env-var OPTIXLOG_API_KEYCurrent Codex does not use the older --type or --header flags for this command.
Confirm the registration
codex mcp list --jsonThe transport should be streamable_http and bearer_token_env_var should be OPTIXLOG_API_KEY. Start Codex and ask it to run an OptixLog search; approve the read-only MCP tool call when prompted.