config.toml paths below. The ConnectKey labels (Which workspace should ... use?, Allow, Cancel, and Disconnect in Agents) come from app source at f7c8d23. Neither source check exercised Codex CLI. The endpoint results above are from public HTTP probes.
- Add
https://mcp.connectkey.ai/mcpto your client. - Sign in to ConnectKey (Untested: requires sign-in and a serving
/mcpendpoint). - Pick a workspace (Untested: requires sign-in and a serving
/mcpendpoint). - Allow access to that workspace (Untested: requires sign-in and a serving
/mcpendpoint).
Copy the ConnectKey URL for Codex CLI
Prerequisites
- Codex CLI installed.
- A ConnectKey account.
Steps
- OpenAI’s documented registration command (not tested in Codex CLI): run
codex mcp add connectkey --url https://mcp.connectkey.ai/mcp(or add a[mcp_servers.connectkey]table withurl = "https://mcp.connectkey.ai/mcp"in~/.codex/config.toml). - Untested (needs sign-in and a serving
/mcpendpoint): runcodex mcp login connectkey. In a terminal without a local browser, runcodex mcp login connectkey --no-browserand open the authorization URL that Codex prints in a browser. Codex documents Streamable HTTP with OAuth supporting Client ID Metadata Documents (CIMD) and Dynamic Client Registration (DCR). - Untested (needs sign-in and a serving
/mcpendpoint): in the browser, sign in to ConnectKey, pick a workspace (Which workspace should ... use?), and select Allow. - Untested (requires the
--no-browsersign-in above): OpenAI says to paste the full redirect URL from the browser into your own waiting Codex CLI prompt, even if the callback page does not load. Use the redirect URL only in that prompt. Never share it or include it in screenshots, logs, or other test evidence.
What to check
- OpenAI’s documented local config check (not tested in Codex CLI): run
codex mcp listor check~/.codex/config.tomlfor a[mcp_servers.connectkey]entry. - Untested (needs sign-in and a serving
/mcpendpoint): start Codex, use/mcpin the TUI to check active servers, and ask Codex to list the ConnectKey tools.
If it fails
- Codex ignores a project
.codex/config.tomlunless the project is trusted. Use the user file~/.codex/config.tomlinstead. - OpenAI documents that the ChatGPT desktop app, Codex CLI, and IDE extension share MCP configuration for the same Codex host. This setup does not configure ChatGPT web or a remote executor.
- On 2026-11-25, staging returned
404for/mcp,/.well-known/oauth-protected-resource, and/.well-known/oauth-authorization-server. These responses did not establish thatcodex mcp login connectkeycould complete discovery. - To disconnect later, run
codex mcp logout connectkey, runcodex mcp remove connectkey(or remove[mcp_servers.connectkey]from~/.codex/config.toml), and open Agents in ConnectKey to select the agent and choose Disconnect. The ConnectKey label comes from app source atf7c8d23; logout, removal, and revocation have not been tested.
Do I need to edit a file to register a remote server in Codex CLI?
No. OpenAI documentscodex mcp add with a server name and --url, so you do not have to edit the local configuration by hand.
How does Codex CLI distinguish an OAuth login from adding a server?
Codex has a separatecodex mcp login <server-name> command for a named Streamable HTTP server. ConnectKey sign-in through that command has not been tested.
Where can I find a manually configured Codex server?
OpenAI documents named[mcp_servers.<server-name>] entries in the user configuration file ~/.codex/config.toml. This is an alternative to adding the server with the CLI.
Why might Codex ignore a project’s MCP configuration?
Codex requires the project to be trusted before using its project.codex/config.toml configuration. An entry in the project file is not enough on its own.
Does a local Codex configuration also configure a cloud executor?
The documented CLI method applies to the local host. It does not establish that a cloud executor can use the same entry.Does a ChatGPT web connection verify Codex CLI or an IDE?
No. ChatGPT web, the local CLI and IDE integrations are separate clients. No Codex CLI build has been verified with ConnectKey.Evidence
- Status: documented
- Vendor documentation retrieved: 2026-11-25
- Real-client result: None recorded for Codex CLI, the ChatGPT desktop app, or the IDE extension. OpenAI’s documentation and ConnectKey’s app source (development f7c8d23) describe the commands, config paths, and labels. On 2026-11-25, public probes returned
404on staging for/mcp,/.well-known/oauth-protected-resource, and/.well-known/oauth-authorization-server. The production MCP host did not resolve. None of these checks verify registering the server, signing in, listing or calling tools, or revoking access in Codex. - OpenAI: Model Context Protocol (Codex CLI)
- OpenAI: Developer commands (Codex CLI)