Codex MCP Tool MCP Server
by x51xxxio.github.x51xxx/codex-mcp-toolv2.2.0
Connect an IDE or AI assistant to Codex CLI for code analysis and editing, with support for multiple models.
context tax
queued
security
queued
cold start
queued
freshness
Active9d ago
Install Codex MCP Tool MCP server
Install in Claude Code
claude mcp add codex-mcp-tool -- npx -y @trishchuk/codex-mcp-toolInstall in Cursor
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"codex-mcp-tool": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"codex-mcp-tool": {
"command": "npx",
"args": [
"-y",
"@trishchuk/codex-mcp-tool"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| 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) |
Freshness
Active — last maintenance signal 9d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-30 · 9d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-03-13 · 7mo ago · official registry · v2.2.0
FAQ
›How do I install the Codex MCP Tool MCP server in Claude Code?
Run: claude mcp add codex-mcp-tool -- npx -y @trishchuk/codex-mcp-tool. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Codex MCP Tool require an API key?
No required environment variables are declared in its published metadata.
›Can I use Codex MCP Tool as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Codex MCP Tool in the official MCP registry?
Yes, as io.github.x51xxx/codex-mcp-tool.
Alternatives to Codex MCP Tool
Other ai & llm tools MCP servers.