codex-mcp-tool
local MCP serverInstallation
Terminal
claude mcp add codex-mcp-tool -e CODEX_MCP_CWD=... -e CODEX_SESSION_TTL_MS=... -e CODEX_MAX_SESSIONS=... -- npx -y @trishchuk/codex-mcp-tool
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
],
"env": {
"CODEX_MCP_CWD": "...",
"CODEX_SESSION_TTL_MS": "...",
"CODEX_MAX_SESSIONS": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
MCP server bridging AI assistants to OpenAI Codex CLI for code analysis and review
Questions
codex-mcp-tool is a local MCP server distributed as the npm package @trishchuk/codex-mcp-tool.
Run: claude mcp add codex-mcp-tool -e CODEX_MCP_CWD=... -e CODEX_SESSION_TTL_MS=... -e CODEX_MAX_SESSIONS=... -- npx -y @trishchuk/codex-mcp-tool
Run: codex mcp add codex-mcp-tool --env CODEX_MCP_CWD=... --env CODEX_SESSION_TTL_MS=... --env CODEX_MAX_SESSIONS=... -- npx -y @trishchuk/codex-mcp-tool
Similar MCP servers
NameStars
- google-analytics-mcpio.github.surendranb/google-analytics-mcp242
- ask-codexio.github.Lykhoyda/ask-codex18
- ha-mcpio.github.homeassistant-ai/ha-mcp4,868
- DBHubio.github.bytebase/dbhub3,574
- jshookmcpio.github.vmoranv/jshookmcp2,021
- testkube-mcpio.github.kubeshop/testkube-mcp1,661
- MCP Server for WinDbg Crash Analysisio.github.svnscha/mcp-windbg1,594
- ChiR24-unreal_mcp_serverai.smithery/ChiR24-unreal_mcp_server891