Skip to main content

Codex MCP Tool

io.github.x51xxx/codex-mcp-tool

v2.7.0Updated Nov 14, 2026stdio · npm

MCP server bridging AI assistants to OpenAI Codex CLI for code analysis and review

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add codex-mcp-tool -- npx -y @trishchuk/[email protected]

Configuration

3 settings.

  • CODEX_MCP_CWD
    Env var· optional
    Override working directory for all tool calls
  • CODEX_SESSION_TTL_MS
    Env var· optional
    Session time-to-live in milliseconds (default: 86400000 = 24h)
  • CODEX_MAX_SESSIONS
    Env var· optional
    Maximum concurrent sessions (default: 50)

Listed in the official MCP Registry since Nov 14, 2026. Mirrored daily; last checked Nov 26, 2026.