Codex + Exponential

Codex that knows what to work on next.

Add the open-source Exponential MCP server to Codex and it can read your backlog, check what a ticket depends on, record the decisions it makes and log the time it spends, all in your real workspace. It signs in with its own agent key, so its work is attributed to Codex rather than to you.

What you can ask Codex

  • “Pick the next ready ticket in the Platform product and summarise it”
  • “What is overdue on the onboarding project?”
  • “Record the decisions we made in this session in the decision log”
  • “Log an hour against this ticket for the refactor I just did”
  • “Summarise yesterday's planning meeting and list its open questions”
  • “Mark the migration ticket as in QA”

How to connect Codex to Exponential

  1. 1

    Create an agent and copy its key

    In Exponential, open Settings → Agents → New agent, name it after the app it will run in, pick the workspaces it may work in and click Create agent. Copy the exp_agent_ key; it is shown once. What the agent does is attributed to it, not to you.

  2. 2

    Add the server to ~/.codex/config.toml

    Paste this into Codex's configuration file with the key you copied. The serve argument is required. Codex starts the server with npx, so you need Node.js 18 or later.

    [mcp_servers.exponential]
    command = "npx"
    args = ["-y", "exponential-mcp", "serve"]
    env = { EXPONENTIAL_API_KEY = "exp_agent_..." }
  3. 3

    Restart Codex

    Codex loads MCP servers when it starts. Then ask it something only your workspace knows, such as "what is on my plate today?".

  4. 4

    If it does not connect

    Start the server by hand with the same key. It prints "Exponential MCP server running" when it starts; press Ctrl+C to stop it. An error here is the reason Codex cannot start it.

    EXPONENTIAL_API_KEY=exp_agent_... npx -y exponential-mcp serve

The tools Codex gets

Every tool the integration exposes, by the name Codex sees.

get_workspaces
List your workspaces
get_projectsget_projectupdate_project
List, read and update projects
get_actions
List actions, filtered by project or status
get_todays_actions
What is on your plate now: overdue, today and inbox, across workspaces
get_overdue_triage
Why the overdue pile is that size: bulk-created cohorts versus real debt
create_actionupdate_actioncomplete_action
Create (natural language works), change and finish actions
reschedule_actionsdefer_actions
Move actions to a new date, or clear their dates back to the backlog
get_meetingsget_meetingcreate_meetingupdate_meetingappend_meeting_notes
Read and write meetings and their notes
get_goalsget_key_results
Objectives and key results with progress
search
Search across everything, like the app's ⌘K palette
ticketsfeaturesepicsstoriesdecisionspagescommentstimecontactsdeals
One tool per area of the SDK, each taking an operation and its parameters: the product backlog, the decision log, Knowledge pages, comments, time entries and the CRM, and more

Why connect Codex to Exponential

Made for agents doing real work

Beyond actions and projects, Codex gets the product backlog, the decision log, Knowledge pages and time entries, so it can take a ticket from ready to QA and leave a record of how.

Its own identity

With its own agent key, everything Codex writes is attributed to the agent, and time it logs arrives as proposed entries for you to confirm.

One key per app

Claude, Cursor and Codex can each have their own agent, so you can see which tool did what and revoke one without touching the others.

Open source, end to end

Exponential, the MCP server and the SDK it is built on are all AGPL-3.0. Read exactly what Codex can do, or self-host the whole stack.

Codex integration FAQ

Why put the key in config.toml?

So Codex has its own identity. EXPONENTIAL_API_KEY takes precedence over a key stored by npx exponential-mcp init, which every app on the machine would otherwise share.

What happens to time Codex logs?

Entries written with an agent key belong to the agent's owner and are always proposed, so they wait for you to confirm them in the day view.

Which workspaces can Codex see?

Only the workspaces you added the agent to. Add or remove them on the agent's card under Settings → Agents.

Does it cost anything?

The MCP server is free and open source on npm, and Exponential is free to start. You need your own OpenAI plan for Codex.

Related

Bring your workspace into Codex

Free to start. Open source. Set up in a couple of minutes.

Get started free