Skip to content
Agent Process
All agents

Connect Codex

One block of settings gives Codex your processes, the data and email templates you've allowed, and a way to wait for your approval.

Setup

  1. Get your address and an access token

    In your workspace, open Agents and create an access token. The page shows your exact MCP address and fills it, and the token, into these settings for you. Tokens are shown once, so keep yours somewhere safe.

  2. Run this, and set PROCESS_FLOW_TOKEN to your access token in the shell Codex runs from.

    Command
    codex mcp add process-flow --url https://<your-mcp-endpoint>/mcp \
      --bearer-token-env-var PROCESS_FLOW_TOKEN
  3. Check it's connected

    Ask Codex: “What processes can you see?” It should list the published processes in your workspace. If it can't reach the server, check the address and that the token hasn't been revoked.

Codex's MCP documentation

This setup is written from Codex's own MCP documentation.