Skip to main content
Codex supports ApexGenius as a remote streamable HTTP MCP server. The Codex CLI, IDE extension, and ChatGPT desktop app share the same Codex host configuration.

Add ApexGenius with the CLI

Run these commands in a terminal:
The login command opens your browser. Sign in to ApexGenius, approve Codex, then return to the terminal. The list command should show the apexgenius server.

Or configure config.toml

Add this table to ~/.codex/config.toml for your user, or to .codex/config.toml in a trusted project:
Then start authorization:
Do not add a bearer token or static authorization header. ApexGenius publishes the OAuth information Codex needs for browser authorization.

Verify the connection

Start Codex and use /mcp to confirm the server is active. Then ask:
Confirm the result names the intended Salesforce project and production org or sandbox. If the server is listed but not authenticated, run codex mcp login apexgenius again.
User configuration makes ApexGenius available across your Codex work. Project configuration keeps the server declaration with one trusted project. Choose the scope that matches who should discover the server, while keeping authorization tied to each user.
For the current CLI commands, configuration keys, and OAuth behavior, see OpenAI’s Codex MCP guide.
Last modified on August 28, 2026