Codex Conductor
Allows managing Codex sessions through tmux windows, including launching, sending commands, and attaching to sessions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Codex Conductorlist my active sessions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Codex Conductor
Codex Conductor is a local cockpit, CLI, and MCP server for watching your Codex sessions across projects.
It reads the local Codex transcript trail under ~/.codex/sessions/, joins it with ~/.codex/session_index.jsonl when available, and turns scattered runs into a status board grouped by working, open, recent, and idle sessions.
Why
Codex already stores local transcripts so you can resume work later. Codex Conductor turns those transcripts into operational awareness:
codex-conductorgives you a fast terminal table of recent sessions.codex-conductor upopens a local cockpit on127.0.0.1.codex-conductor mcplets an MCP-aware agent ask what is active, what is blocked, and what is left.Managed tmux windows let you launch or drive Codex sessions from one board.
The irreversibility gate refuses unattended deploy, send, delete, and spend approvals.
Related MCP server: mcp-codex-dev
Install
git clone https://github.com/yksanjo/codex-conductor ~/codex-conductor
cd ~/codex-conductor
npm linkNo build step and no runtime dependencies.
Usage
codex-conductor # table of recent Codex sessions
codex-conductor --minutes 120 # widen the lookback window
codex-conductor --all # include older local sessions
codex-conductor --json # structured output
codex-conductor up # local web cockpit
codex-conductor mcp # MCP server over stdioThe cockpit binds to localhost. State-changing endpoints require a local origin and the X-Conductor: 1 header.
Codex Adapter
The default codex-code adapter reads:
~/.codex/sessions/YYYY/MM/DD/*.jsonl~/.codex/session_index.jsonl
Labels come from the session working directory. Override labels with:
{
"my-project": "My Product",
"codex-conductor": "Codex Conductor"
}Save that as ~/.codex-conductor/labels.json.
Managed Codex Windows
Managed windows run inside a dedicated tmux session. This is the reliable control channel for sending replies or keys.
codex-conductor run review
codex-conductor say review "continue"
codex-conductor attach review
codex-conductor managed
codex-conductor stop reviewAdopting an existing Codex session opens it with codex resume <SESSION_ID> in tmux:
codex-conductor ls --all
codex-conductor adopt 019f1111 reviewIf you keep the original tab open too, you will have two clients pointed at related work. Close the old tab when you want one control surface.
MCP
Run the server:
codex-conductor mcpUseful tools:
list_sessionslists Codex sessions by default.summarize_sessionexpands one session by id, short id, or label.whats_leftreturns inferred goals and recent actions.pending_questionslists live sessions that appear blocked on a human.auto_continuesendscontinueonly when the irreversibility gate allows it.reply_to_session,send_key, andrun_windowdrive managed tmux windows.
Example Codex MCP config:
[mcp_servers.codex_conductor]
command = "node"
args = ["/Users/you/codex-conductor/mcp.js"]Development
npm testThe test suite builds a temporary Codex transcript fixture and verifies the Codex-first CLI path plus the irreversibility gate.
License
MIT
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yksanjo/codex-conductor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server