MCP Server
io.github.x51xxx/codex-mcp-tool MCP Server
io.github.x51xxx/codex-mcp-tool
What is the io.github.x51xxx/codex-mcp-tool MCP server?
MCP server bridging AI assistants to OpenAI Codex CLI for code analysis and review
How to install io.github.x51xxx/codex-mcp-tool
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
CODEX_MCP_CWDOverride working directory for all tool calls
CODEX_SESSION_TTL_MSSession time-to-live in milliseconds (default: 86400000 = 24h)
CODEX_MAX_SESSIONSMaximum concurrent sessions (default: 50)
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
],
"env": {
"CODEX_MCP_CWD": "<YOUR_CODEX_MCP_CWD>",
"CODEX_SESSION_TTL_MS": "<YOUR_CODEX_SESSION_TTL_MS>",
"CODEX_MAX_SESSIONS": "<YOUR_CODEX_MAX_SESSIONS>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
],
"env": {
"CODEX_MCP_CWD": "<YOUR_CODEX_MCP_CWD>",
"CODEX_SESSION_TTL_MS": "<YOUR_CODEX_SESSION_TTL_MS>",
"CODEX_MAX_SESSIONS": "<YOUR_CODEX_MAX_SESSIONS>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
],
"env": {
"CODEX_MCP_CWD": "<YOUR_CODEX_MCP_CWD>",
"CODEX_SESSION_TTL_MS": "<YOUR_CODEX_SESSION_TTL_MS>",
"CODEX_MAX_SESSIONS": "<YOUR_CODEX_MAX_SESSIONS>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"codex-mcp-tool": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
],
"env": {
"CODEX_MCP_CWD": "<YOUR_CODEX_MCP_CWD>",
"CODEX_SESSION_TTL_MS": "<YOUR_CODEX_SESSION_TTL_MS>",
"CODEX_MAX_SESSIONS": "<YOUR_CODEX_MAX_SESSIONS>"
}
}
}
}Claude Code
claude mcp add codex-mcp-tool --env CODEX_MCP_CWD=<YOUR_CODEX_MCP_CWD> --env CODEX_SESSION_TTL_MS=<YOUR_CODEX_SESSION_TTL_MS> --env CODEX_MAX_SESSIONS=<YOUR_CODEX_MAX_SESSIONS> -- npx -y @trishchuk/codex-mcp-toolRelated MCP servers
MCP server bridging AI assistants to Moonshot AI Kimi Code CLI for code analysis and review
View repository →