codex-mcp-tool

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

stdio v2.1.1

Connection Configuration

Add this to your AI agent's MCP config file to connect.

Run in your terminal:

claude mcp add io.github.x51xxx--codex-mcp-tool -- npx

Server Details

Transport

stdio

Authentication

None

Version

v2.1.1

Server Name

io.github.x51xxx/codex-mcp-tool

Last Updated

Mar 6, 2026

Get Started

How to install and connect this MCP server.

Required Configuration

Environment variables you must provide when running this server.

Variable Required
CODEX_MCP_CWD Optional
CODEX_SESSION_TTL_MS Optional
CODEX_MAX_SESSIONS Optional