Browse
→ Code & Dev
→ mcp-server-codex
mcp-server-codex
TypeScript MCP server for controlling the local OpenAI Codex CLI from another agent. It forces Codex JSON/JSONL execution, structures long-running session results, resumes and forks sessions, restricts accessible disk scope, supports code review targets, and exposes image generation without requiring an API key beyond the logged-in Codex CLI. Public GitHub repository created September 15, 2026.
MCP unverified
Integration
| Transport | stdio |
| Auth | none |
| Endpoint | npx -y mcp-server-codex |
| Install | npm install -g mcp-server-codex |
Use Cases
| 01 | Let one agent start, resume, fork, or review Codex CLI sessions through MCP instead of an interactive terminal |
| 02 | Run Codex in constrained workspaces with structured JSONL result parsing and long-run handling |
| 03 | Expose Codex-backed image generation and code-review workflows to MCP clients after local Codex login |
Tags
codex-cli coding-agent sessions code-review image-generation jsonl typescript stdio
Machine-readable: /api/servers.json
· JSON-LD schema embedded in <head>