Codex Conductor
An MCP server that allows AI agents to monitor and interact with Codex sessions, providing session awareness, status summaries, and managed tmux windows for automated continuation.
README
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.
Install
git clone https://github.com/yksanjo/codex-conductor ~/codex-conductor
cd ~/codex-conductor
npm link
No 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 stdio
The 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 review
Adopting an existing Codex session opens it with codex resume <SESSION_ID> in tmux:
codex-conductor ls --all
codex-conductor adopt 019f1111 review
If 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 mcp
Useful 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 test
The test suite builds a temporary Codex transcript fixture and verifies the Codex-first CLI path plus the irreversibility gate.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.