Durable MCP control plane for asynchronously running, monitoring, approving, and recovering Codex Desktop tasks.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
This server is confirmed live โ we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Codex Control Plane MCP.
codex_list_projectsList known Codex projects from registry, hook history, transcripts, and cached Codex state. Use this before preflight or submit when you need a project reference; later tools accept projectId, project name, or project path and return canonical projectId. Next call codex_preflight_project_run for a concrete project.
codex_list_project_chatsList chats for one project from the bounded read model. Use this to find existing threads before continuation or review. Next call codex_get_chat_status, codex_get_chat, or codex_submit_task.
codex_list_active_chatsList chats that look active from tracked, hook, transcript, or cached evidence. Use this for operator inspection, not for creating retries. Next call codex_get_turn_status or codex_get_operation_status when ids are available.
codex_search_chatsSearch chat history through the MCP-owned index and safe fallback sources. Use this for discovery or recovery when ids were lost. Do not use search results as proof that a turn is still active.
codex_get_chat_statusRead lightweight chat status and safe previews. Use this to inspect a known thread without starting live work. Next call codex_get_chat for content or codex_submit_task for a new operation.
codex_get_chatRead bounded chat content from hook history, transcripts, or legacy fallback. Use this for context recovery and final report inspection. It is not a write path and should not trigger retries.
The aresyn/codex-control-plane-mcp MCP server provides an asynchronous control layer around Codex Desktop and codex-app-server. Instead of keeping one MCP request open for the duration of a long task, a client submits work and receives an operationId or workflowId. It can then poll persisted state until the operation reaches a terminal result.
The server covers project discovery, chat and transcript lookup, task submission, Plan Mode, code review workflows, approvals, interaction requests, turn interruption, thread archiving, unarchiving, and context compaction. It also records operations, workflows, turns, hooks, and diagnostics in a local SQLite database. Hook history supports search, summaries, and fallback reads.
A typical flow begins with codex_list_projects, followed by codex_preflight_project_run for a specific project. The client submits a durable operation with codex_submit_task, including a client_request_id, and polls codex_get_operation_status. Status responses provide queue and worker guidance so the caller can wait instead of creating an unsafe retry.
Plan-based work follows a separate workflow: start it with codex_start_plan_workflow, poll codex_get_workflow_status, approve a ready plan with codex_approve_plan, and continue polling for execution and the final report. Review workflows use the same durable polling pattern. Pending approvals or questions can be found with codex_list_pending_interactions and answered with codex_answer_pending_interaction.
The aresyn/codex-control-plane-mcp MCP server can run in inline mode, where one MCP process submits and executes operations, or in client mode with a separate central worker. The worker owns app-server execution, leases, queue slots, and resource locks. Queue, concurrency, worker, and delegated command status tools help diagnose capacity and lifecycle issues.
The project requires Python 3.11 or newer. The README documents installation with pipx install codex-control-plane-mcp, direct execution with uvx codex-control-plane-mcp, or installation from the GitHub repository. The MCP stdio command is codex-control-plane-mcp; it can also be run as py -m codex_control_plane_mcp.server.
An administrative command can initialize configuration with a state database and projects root. A minimal MCP client entry uses the stdio command with no arguments. Central worker deployments use one long-running codex-control-plane-mcp-worker process and set CODEX_MCP_EXECUTION_MODE=worker; client processes use client. Shared CODEX_HOME and CODEX_MCP_STATE_DB are recommended when multiple clients use the same worker.
The aresyn/codex-control-plane-mcp MCP server exposes tools for:
Write and control actions are sent through codex-app-server. The server does not directly modify Codex internal SQLite databases or transcript files.
The fully supported live target is Windows with Codex Desktop and codex-app-server. Linux and macOS currently receive protocol-only checks. The project is local-first and is not intended to be exposed as a public network service.
The README recommends read-only for untrusted repositories and on-request approval while testing. Plan Mode requires at least workspace-write; a requested read-only setting is raised and reported in status output. Keep the state directory, logs, .env, and .codex data private, and do not expose the service remotely without authentication.
Plan Mode, execution, and other operations should be polled using the returned identifiers. Search results are for discovery and recovery, not proof that a turn remains active, and row age alone should not be used to infer a stalled turn.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/aresyn-codex-control-plane-mcp)<a href="https://allmcps.com/mcp/aresyn-codex-control-plane-mcp"><img src="https://allmcps.com/api/badge/aresyn-codex-control-plane-mcp?style=directory" alt="Codex Control Plane MCP on AllMCPs" /></a>