Skip to content

OpenAI Codex

OpenAI Codex can use Chronary’s hosted MCP server: agents, calendars, events, availability, booking pages and scheduling between agents. Connect by signing in to Chronary in your browser, or with an API key. The Codex CLI, the IDE extension and the ChatGPT desktop app share one Codex configuration, so you set it up once.

  • Codex (the CLI, the IDE extension or the ChatGPT desktop app). Keep it up to date: signing in uses Codex’s built-in support for MCP sign-in.
  • A Chronary account. If you sign in and don’t have one, you create it during sign-in. It is free to start.
  1. Add Chronary to ~/.codex/config.toml (or .codex/config.toml in a trusted project), with no token:

    [mcp_servers.chronary]
    url = "https://api.chronary.ai/mcp"
  2. From a terminal, sign in:

    Terminal window
    codex mcp login chronary
  3. Chronary opens in your browser. Sign in, or create an account, then check that the request names Codex and choose Allow. The page notes that this app runs on your computer: allow it only if you started the sign-in yourself.

  4. Restart Codex (or the IDE extension) so it picks up the connection.

On a machine without a browser, run codex mcp login chronary --no-browser, open the printed address in a browser elsewhere, sign in, and paste the full address you land on back into the terminal.

Run codex mcp list: chronary should be listed. In the Codex terminal UI, /mcp shows the active servers.

Then ask Codex: “Use the Chronary tools to list my agents.” It should call list_agents and return your agents (an empty list is fine for a new account).

A signed-in connection acts for your whole organization, like an Organization key, and uses your organization’s plan and limits. It gets the same tools as the Claude connector, except create_scoped_key and accept_terms, which need an API key. A key connection uses your plan and limits exactly as the key does anywhere else. Every tool is marked read-only or as one that changes data. See the Tools Reference for each tool.

Open the console and go to Settings → Security → Connected apps. Choose Revoke next to Codex. The connection stops working within about a minute. To stop Codex using Chronary, also remove the [mcp_servers.chronary] entry.

Changing or resetting your password, changing your account email, or scheduling your account for deletion also disconnects every connected app. Run codex mcp login chronary to sign in again.

ProblemWhat to do
The sign-in page says the request expiredA connection request lasts 10 minutes and works only in the browser that opened it. Run codex mcp login chronary again.
codex mcp login says it can’t register with ChronaryUpdate Codex, then try again. Or connect with an API key.
The sign-in page says this app can’t connectUpdate Codex, then sign in again. Or connect with an API key.
Tool calls fail with 401 with an API keyThe key is wrong, revoked, or CHRONARY_API_KEY isn’t set where Codex runs.
A tool returns plan_required or quota_exceededThe feature isn’t in your plan, or a limit is reached. The error names it. See Billing & Plans.

Look up an error in Error Codes first. If that doesn’t settle it, email [email protected] and include the request_id from the error if there is one.