Skip to content
Claude Code

codex mcp tool for Claude Code

io.github.x51xxx/codex-mcp-tool

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

client:Claude Code transport:stdio runtime:npm

Install codex mcp tool in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add codex-mcp-tool -e CODEX_MCP_CWD=<CODEX_MCP_CWD> -e CODEX_SESSION_TTL_MS=<CODEX_SESSION_TTL_MS> -e CODEX_MAX_SESSIONS=<CODEX_MAX_SESSIONS> -- npx -y @trishchuk/codex-mcp-tool

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

codex mcp tool in other clients