Codex Supervisor MCP logo

Codex Supervisor MCP

Runs parallel Codex CLI workers in isolated Git worktrees, tracks them in SQLite, and provides a local monitoring board.

Install Codex Supervisor MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "codex-supervisor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codex-supervisor-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 39 tools correctly ().

Overview

codex-supervisor-mcp coordinates multiple Codex CLI workers from an MCP client, giving each Git task its own worktree while recording state in SQLite. It exposes tools for preflight checks, worker creation, waiting, inspection, resumption, acceptance testing, and landing changes into an integration branch. A local web board shows sessions, worker status, commands, reports, diffs, and events. Reach for it when a coding agent needs to split independent work across workers without filling the main conversation with worker output.

Use cases

  • Split independent feature packages across parallel Codex workers
  • Run isolated test or documentation tasks in separate Git worktrees
  • Inspect worker diffs and command evidence before merging changes
  • Resume a worker's existing Codex conversation after a restart
  • Monitor multiple coding tasks from a local web board

Key features

  • Parallel Codex CLI worker orchestration
  • Per-worker Git worktrees and owned-path checks
  • SQLite state and JSONL event persistence
  • Preflight probes and acceptance validation
  • Worker resumption and controlled landing
  • Local session and worker monitoring board

Tools39

What Codex Supervisor MCP lets your agent do. Expand a tool for its parameters.

Verified live~9.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 47d

What it can do

From the 39 tools this server returned when we ran it.

Runs commands · 3Can delete or modify data · 4Handles credentials · 3Makes network requests · 3Read-only tools · 32
Network at startup4 connections
Files written at startup1
Install scriptspostinstall
npm provenanceNot published
Package age44 days
Maintainers1

Observed 2026-11-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · codex-supervisor-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
npm downloads2.9kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed39Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Codex Supervisor MCP works

What codex-supervisor-mcp does

codex-supervisor-mcp acts as an orchestration layer between an MCP client and the Codex CLI. A primary agent can dispatch several workers, keep their work isolated, inspect their evidence, and decide which changes should enter the main branch. Each Git-backed worker normally receives a separate codex/<taskId> branch and worktree; workers do not commit, push, or merge on their own.

The server also supports nonstandard workspace modes. read_only_in_place allows inspection without edits, scratch is intended for network research, and in_place_write requires explicit authorization and path controls. Non-Git locations are not written by default.

How it works

A typical run begins with a preflight probe using the intended workspace, base revision, sandbox, command guard, and environment contract. Once the probe passes, the main agent creates workers with goals, owned paths, setup commands, acceptance commands, limits, and optional dependencies. Overlapping ownedPaths can be checked before dispatch so independent tasks can run concurrently while dependent or conflicting work remains ordered.

Worker events are written to JSONL files under the supervisor data directory. Persistent work records, including Codex thread_id values, are stored in SQLite, allowing the supervisor to distinguish completed, failed, and lost workers after a restart. A resumed worker continues the same Codex conversation; a follow-up worker can inherit the parent task context and an appropriate branch base.

After workers finish, the main agent can inspect reports, command evidence, diffs, and event history. Acceptance commands run inside the worker worktree, and a failed acceptance prevents landing. Approved work can be landed with a supplied commit message. Delivery verification can produce a cleanup plan, while explicit cleanup is required before worktrees are removed.

Setup and configuration

Use Node.js 22.13.0 or newer and make the codex executable available on PATH. Install the package globally with npm:

Terminal
npm install -g codex-supervisor-mcp

The package can register itself with detected Claude Code or Codex installations when npm install scripts are enabled. Manual registration is available through either client:

Terminal
claude mcp add -s user codex-supervisor -- npx -y codex-supervisor-mcp
codex mcp add codex-supervisor -- npx -y codex-supervisor-mcp

Restart the MCP client after registration. The optional web board starts with codex-supervisor-web and listens at http://127.0.0.1:7877 by default. SUPERVISOR_WEB_PORT changes the port, while SUPERVISOR_HOME influences where state is found. A separate stage CLI can report long-running gate progress; stage details should not contain credentials or connection strings.

Tools and capabilities

The documented tool set includes:

  • preflight_codex_worker and get_worker_preflight for environment probes and command evidence.
  • create_codex_worker and create_codex_followup_worker for isolated or follow-up tasks.
  • wait_codex_workers, check_workers, and overview_delta for polling progress without returning the entire history.
  • get_worker_result and get_worker_diff for comparing reported work with actual commands and changes.
  • resume_codex_worker for continuing an existing Codex thread, optionally rebasing its worktree.
  • check_acceptance and worker-level acceptance commands for validation before landing.
  • land_codex_worker for committing approved changes into the integration branch.

The web board is read-only for orchestration: it displays session and worker activity but does not dispatch or cancel work. Its worker view includes summaries, reports, changes, commands, events, task instructions, and read-only side questions through a forked Codex conversation.

Limitations and notes

The worker process depends on the Codex CLI and its configured providers. Git worktree isolation is the normal mode, while non-Git writes require explicit workspace authorization, paths, and acceptance checks. The default wait budget is capped at 60 seconds unless the host confirms that a longer wait is allowed. Main-thread changes must be committed and pushed separately when delivery requires them; landing a worker only integrates the worker's approved changes.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Codex Supervisor MCP

codex-supervisor-mcp is an MCP server that connects MCP clients to the Codex CLI, Git worktrees, and SQLite-backed run state. Its main tools create, wait for, inspect, resume, validate, and land Codex workers, while a local web board displays sessions, commands, reports, diffs, and events.

Install it with Node.js 22.13.0 or newer using `npm install -g codex-supervisor-mcp`, then register it with Claude Code or Codex using their MCP commands. Restart the client afterward. Automatic registration depends on npm install scripts being enabled; manual registration is supported.

Yes, it can be used from any MCP client, including Cursor, because the server is launched through the standard `npx -y codex-supervisor-mcp` command. The primary documented workflows use Claude Code and Codex, but the orchestration tools are exposed through MCP.

It normally gives each Git worker a separate worktree and branch, and tasks can declare `ownedPaths` so overlapping write areas are identified before dispatch. Tasks with conflicting paths should be serialized, while non-overlapping tasks can run in parallel.

Run `codex-supervisor-web` and open `http://127.0.0.1:7877`. The read-only board groups workers by session and shows status, active commands, reports, diffs, event history, task instructions, and timing information.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCodex Supervisor MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/codex-supervisor-mcp?style=directory)](https://allmcps.com/mcp/codex-supervisor-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/codex-supervisor-mcp"><img src="https://allmcps.com/api/badge/codex-supervisor-mcp?style=directory" alt="Codex Supervisor MCP on AllMCPs" /></a>