Skip to content

Connect OpenAI Codex ​

As of: October 22, 2026

The Codex CLI, the Codex extension for VS Code/Cursor and the Codex app share the same configuration in ~/.codex/config.toml.

1. Add the server ​

In the terminal:

sh
codex mcp add helfinity --url https://mcp.helfinity.cloud/mcp

That writes to ~/.codex/config.toml:

toml
[mcp_servers.helfinity]
url = "https://mcp.helfinity.cloud/mcp"

You do not need a client ID; Codex registers itself.

2. Sign in ​

sh
codex mcp login helfinity

The browser opens "Connect agent"; sign in with your passkey and click "Allow". Codex then reports that the sign-in is stored.

Codex asks for all rights the server offers. The consent page therefore also lists "Change budgets" and "Delete projects". Both stay protected by the budget cap and your approval in the portal (Rights).

3. Try it ​

codex mcp list shows helfinity as signed in. Then in Codex:

Call get_platform_info on Helfinity and briefly summarize the limits.

Continue with the first deployment.

When it gets stuck ​

  • Sign-in hangs after "Allow": Codex waits for the callback on http://127.0.0.1. If Codex runs on another computer (SSH, container), set a fixed port in config.toml (mcp_oauth_callback_port = 5555) and forward it (ssh -L 5555:127.0.0.1:5555 …).
  • A tool is missing after an update of the platform: Codex loads the tool list at start. Quit Codex and start it again.
  • Sign in again: codex mcp logout helfinity, then codex mcp login helfinity.
  • Timeout at start: startup_timeout_sec = 30 in the section [mcp_servers.helfinity].

More under When something does not work.