← Back to directory
C

Codex Control Plane MCP

Community
Durable orchestration for long-running Codex Desktop tasks.
Category
Dev Tools #132 of 751
Stars
★ 111 Very popular
Transport
stdio (local process)
Runtime
Python 3.11+
Credentials
API key / credential required
License
Apache-2.0
Last commit
Tools
17
58FMRS · C

This is a local stdio server for Codex Desktop orchestration, focused on durable long-running tasks, Plan Mode, code review, approvals, and diagnostics. The README calls OpenClaw and Hermes first-class clients, but does not provide enough explicit evidence to assign compatibility levels to particular clients.

Strongest · Documentation 15/20 Weakest · Maintenance 9/20

Reliability
10/20
Security and permissions
12/20
Maintenance
9/20
Documentation
15/20
Setup experience
12/20
Why each score
Reliability 10/20
The README describes a stdio server, durable operation state, retry protection, recovery flows, structured errors, and health diagnostics, and lists CI and test commands. This suggests coverage of common failure cases. However, this review is limited to the README and manifest, so it cannot verify the CI workflow, committed tests, or tool implementation and therefore cannot confirm that initialization and tool listings match actual behavior. The static calibration caps the score at 10 here.
Security and permissions 12/20
The documentation describes local-first use, warns against public exposure, gives read-only and on-request defaults, mentions path allowlists, dry-run repairs, and explains redaction boundaries for status data. These claims cannot be checked against implementation from the supplied material. Defaults are not hard limits because callers can supply more permissive policies, and Plan Mode raises read-only to workspace-write. The evidence does not establish a red-line risk.
Maintenance 9/20
The supplied material states an Apache-2.0 license, provides a PyPI installation path, shows a CI badge, links security-related documentation, and says the repository is not archived. It does not provide commit or release history, issue response records, dependency update evidence, or security response timelines, so sustained maintenance cannot be established.
Documentation 15/20
The README covers installation, client configuration, workflows, tools, configuration, security posture, runtime limits, error formats, diagnostics, and recovery examples. It states that Windows is the full live target while Linux and macOS currently receive protocol-only checks. The API contract and implementation are not available for verification here, and cost details and dependency-failure guidance are limited.
Setup experience 12/20
The README offers pipx, uvx, and Git installation paths, a stdio client configuration example, and an admin command for generating configuration. Setup is constrained by the stated Windows and Codex Desktop/app-server live target, and requires users to prepare the runtime and configure local paths and a state database. The supplied material does not verify that installation or client examples work.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkChanges third-party account dataConnects to a database

Best for

  • Developers who need a local orchestrator to manage long-running Codex Desktop tasks reliably.
  • Teams using OpenClaw, Hermes, or another local MCP orchestration client.
  • Workflows that need persisted task state, retry protection, approval status, and structured results.

Not for

  • Public network service or remote access without separately configured authentication.
  • Users who require full live support on Linux or macOS.
  • Workflows that do not use Codex Desktop or codex-app-server.

Required permissions

  • Requires access to local Codex Desktop and codex-app-server to run tasks and workflows.
  • Requires access to the local state database and configured project directories; the read/write scope depends on sandbox and approval policies.
  • Plan Mode uses at least workspace-write on Windows; if read-only is requested, the server raises the workflow sandbox and reports the adjustment in status.
  • For untrusted repositories, the documentation recommends read-only on first run and on-request approval when testing new workflows.

Risks and side effects

  • The server is designed for trusted local environments; exposing it as a network service without authentication could allow unauthorized control of Codex operations.
  • workspace-write or danger-full-access permits writes within the corresponding scope; write tasks in the same project may contend for resource locks.
  • A forced app-server restart can leave active turns in an unknown or orphaned state.
  • Local state, logs, .env, and .codex directories may contain sensitive information and should be protected.

Setup

Before you start

Runtime:Python 3.11+

Other optional settings (31)
CODEX_HOME optional Codex home directory; defaults to %USERPROFILE%\.codex.
CODEX_PROJECTS_ROOT optional Project root scanned by project catalog and read tools; set it to a local project directory.
CODEX_ALLOWED_ROOTS optional Semicolon-separated path allowlist; set it to approved local paths.
CODEX_PROJECTS_REGISTRY optional Optional JSON project registry; point it to a local registry file.
CODEX_MCP_STATE_DB optional Path to the MCP state SQLite database; set it to a local database file.
CODEX_CONTROL_PLANE_MCP_LOG optional Log file path; set it to a local log location.
CODEX_MCP_HOOK_HISTORY_ENABLED optional Enables or disables SQLite hook history; enabled by default.
CODEX_MCP_HOOK_HISTORY_MAX_TEXT_CHARS optional Per-message hook capture character limit; set the desired cap.
CODEX_KB_HISTORY_PROJECTS_ROOT optional Optional legacy normalized knowledge base history root; set it to a local directory.
CODEX_BINARY_PATH optional Optional explicit Codex binary path; point it to the local executable.
CODEX_MCP_DEFAULT_SANDBOX optional Default write sandbox policy; defaults to read-only.
CODEX_MCP_DEFAULT_APPROVAL_POLICY optional Default write approval policy; defaults to on-request.
CODEX_MCP_DEFAULT_MODEL optional Default Codex model passed to app-server; set the desired model.
CODEX_MCP_DEFAULT_EFFORT optional Default reasoning effort; set the desired level.
CODEX_MCP_MAX_IMAGE_INPUT_ITEMS optional Maximum image attachments per codex_submit_task; defaults to 10.
CODEX_MCP_MAX_IMAGE_INPUT_BYTES optional Maximum bytes for one local image input; defaults to 20000000.
CODEX_MCP_TURN_STALL_TIMEOUT_SECONDS optional Inactivity threshold for reporting a stalled turn; defaults to 900 seconds.
CODEX_MCP_STALLED_TURN_ACTION optional Policy for stalled turns; defaults to diagnose_only.
CODEX_MCP_APPROVAL_RESPONSE_TIMEOUT_SECONDS optional Timeout for pending interaction responses; set the desired number of seconds.
CODEX_MCP_INSTRUCTIONS_FILE optional Optional UTF-8 instructions file returned to MCP clients; defaults to ~/.codex-control-plane/instructions.md.
DEEPSEEK_ENV_PATH optional Optional .env file path for DeepSeek summary settings; point it to the local file.
DEEPSEEK_SUMMARY_ENABLED optional Enables or disables remote summary calls; set the desired value.
CODEX_CONTROL_PLANE_MCP_CONFIG optional JSON configuration file path; set it to the config file location.
OPENCLAW_CODEX_MCP_CONFIG optional Legacy fallback for CODEX_CONTROL_PLANE_MCP_CONFIG; set it to the config file location.
CODEX_MCP_EXECUTION_MODE optional Execution mode; examples set it to worker for the central worker or client for client processes.
CODEX_MCP_MAX_ACTIVE_TURNS_GLOBAL optional Global concurrent turn limit; documented default is 4.
CODEX_MCP_MAX_ACTIVE_TURNS_PER_PROJECT optional Concurrent turn limit per project; documented default is 3.
CODEX_MCP_MAX_ACTIVE_TURNS_PER_AGENT optional Concurrent turn limit per agent; documented default is 3.
CODEX_MCP_MAX_ACTIVE_TURNS_PER_THREAD optional Concurrent turn limit per thread; documented default is 1.
CODEX_MCP_MAX_ACTIVE_WRITE_TURNS_PER_PROJECT optional Concurrent write-turn limit per project; documented default is 1.
CODEX_MCP_MAX_APP_SERVER_PENDING_REQUESTS optional Pending app-server request limit; documented default is 8.

Install with pipx install codex-control-plane-mcp or uvx codex-control-plane-mcp. Add the provided stdio configuration to the MCP client configuration, and ensure Codex Desktop and codex-app-server are configured locally. The documentation also provides an admin command to initialize the state database and projects root.

MCP config · JSON
{"mcpServers":{"codex-control-plane":{"command":"codex-control-plane-mcp","args":[]}}}

Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "codex-control-plane": {
      "command": "codex-control-plane-mcp",
      "args": []
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.codex-control-plane]
command = "codex-control-plane-mcp"
args = []

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add codex-control-plane -- codex-control-plane-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Start the MCP client and confirm codex_health_summary and codex_submit_task appear in its tool list. Call codex_health_summary to check the server version and current readiness.

Troubleshooting

  1. Call codex_health_summary at startup or after reconnect to check current readiness.
  2. Use codex_get_runtime_capabilities to inspect models, permission profiles, sandbox readiness, and app-server capabilities; request refresh when needed.
  3. After submission, retry with the same client_request_id and poll operation status; do not casually create a new request identifier after a timeout.
  4. Check pending approvals, queue capacity, worker status, and resource locks; follow the next steps in agentGuidance.
  5. Use codex_collect_diagnostics and codex_analyze_issue to gather information; repair actions default to dry_run=true.

Things to try

Once connected, you can ask your AI assistant things like:

  • Submit a task to analyze migration risks in the current project and return a structured report.
  • Start a code review of the current project's uncommitted changes and summarize the result when it finishes.
  • Check Codex runtime health and list any pending approvals or questions.

Tools 17

codex_submit_task writes
Submit a durable Codex task and receive an operation identifier immediately.
codex_get_operation_status read-only
Check operation status, progress, and final report.
codex_start_plan_workflow writes
Start a pollable Plan Mode workflow.
codex_start_review_workflow writes
Start a Codex code review workflow.
codex_get_workflow_status read-only
Check workflow status, recommended next action, and results.
codex_approve_plan writes
Approve a plan and start its execution.
codex_list_pending_interactions read-only
List pending approvals and questions.
codex_answer_pending_interaction writes
Answer a pending approval or question.
Show 9 more tools
codex_interrupt_turn writes
Interrupt a turn using a thread, operation, or workflow identifier.
codex_archive_thread writes
Archive a thread.
codex_unarchive_thread writes
Unarchive a thread.
codex_start_thread_compaction writes
Start thread compaction and return an action identifier.
codex_get_thread_compaction_status read-only
Check thread compaction status.
codex_get_runtime_capabilities read-only
Retrieve runtime capabilities and environment inventory.
codex_health_summary read-only
Check current service readiness and health.
codex_collect_diagnostics read-only
Collect diagnostic information.
codex_repair_issue writes
Analyze or repair an issue; repairs default to dry-run mode.

Use cases

Submit long-running Codex Desktop tasks and continue checking them after a client timeout or MCP restart.
Start Plan Mode or code review workflows, poll progress, and handle approvals.
Diagnose local orchestration issues using health, runtime capability, and diagnostic tools.

Overview

Codex Control Plane MCP runs durable asynchronous tasks and workflows through Codex Desktop and codex-app-server. MCP clients can submit work, poll its status, handle approvals, and read results; the server also provides runtime capability, health, diagnostics, and repair tools. It is primarily intended for local orchestration. The documentation identifies Windows as the full live target, while Linux and macOS currently have protocol-only checks.

Similar servers

Source revision 543d34014398 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/codex-control-plane-mcp.svg)](https://followmcp.com/en/servers/codex-control-plane-mcp)