Skip to main content
Glama
yksanjo

Codex Conductor

by yksanjo

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-conductor gives you a fast terminal table of recent sessions.

  • codex-conductor up opens a local cockpit on 127.0.0.1.

  • codex-conductor mcp lets 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 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_sessions lists Codex sessions by default.

  • summarize_session expands one session by id, short id, or label.

  • whats_left returns inferred goals and recent actions.

  • pending_questions lists live sessions that appear blocked on a human.

  • auto_continue sends continue only when the irreversibility gate allows it.

  • reply_to_session, send_key, and run_window drive 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

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    An MCP server that integrates Codex CLI into Claude Code workflows for code writing, execution, and review with session management. It features real-time progress monitoring via a local HTTP dashboard and supports detailed configuration for various coding tools.
    6
    9
    165
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    An open-source MCP server that connects your IDE or AI assistant to the Codex CLI, enabling non-interactive automation with codex exec, safe sandboxed edits with approvals, and large-scale code analysis via @ file references.
    8
    34
    MIT

View all related MCP servers

Related MCP Connectors

  • A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).

View all MCP Connectors

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