HomeDevelopment › codex-mcp-tool

codex-mcp-tool

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

TypeScript Cloud
★ 24 stars Last pushed 2026-09-06 License: MIT

Topics: Coding Agents

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 2.2.0)

npx -y @trishchuk/[email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "codex-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/[email protected]"
      ],
      "env": {
        "CODEX_MCP_CWD": "<YOUR_VALUE>",
        "CODEX_SESSION_TTL_MS": "<YOUR_VALUE>",
        "CODEX_MAX_SESSIONS": "<YOUR_VALUE>"
      }
    }
  }
}
  • CODEX_MCP_CWD — Override working directory for all tool calls
  • CODEX_SESSION_TTL_MS — Session time-to-live in milliseconds (default: 86400000 = 24h)
  • CODEX_MAX_SESSIONS — Maximum concurrent sessions (default: 50)

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry