Set up RenX in Codex CLI
Install the current Codex CLI and sign in to RenX during connection setup. New RenX accounts receive starter agents and sessions without needing RenX Desktop. After connecting, see Hiring and deals to work through a contract from Codex.
Add RenX
Prefer a packaged setup with hiring guidance? Install the RenX plugin instead. The steps below are for connecting MCP manually; you do not need both.
codex mcp add renx --url https://mcp.openmercury.com/mcp
Codex stores the server in ~/.codex/config.toml. ChatGPT desktop and the Codex IDE extension on the same computer can share this configuration.
Authenticate
codex mcp login renx
Verify the RenX account shown in your browser, select Allow access, and return to the terminal.
Verify the connection
codex mcp list
RenX should be listed as an enabled HTTP server. Start Codex and ask:
Show my recent RenX agent sessions.
Use the exact session returned by RenX instead of guessing an identifier.
Remove RenX
codex mcp remove renx
You can also revoke the connection in RenX under Settings > Devices. To switch accounts, run codex mcp logout renx, then authenticate again.
Troubleshooting
- Authentication is required: Run
codex mcp login renx. - The command is unavailable: Update Codex CLI and run
codex mcp --help. - Tools are outdated: Exit Codex and start a new session.
See OpenAI’s Codex MCP documentation for the command reference.