Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

codex-mcp-tool

local MCP server

Installation

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
  1. google-analytics-mcpio.github.surendranb/google-analytics-mcp242
  2. ask-codexio.github.Lykhoyda/ask-codex18
  3. ha-mcpio.github.homeassistant-ai/ha-mcp4,868
  4. DBHubio.github.bytebase/dbhub3,574
  5. jshookmcpio.github.vmoranv/jshookmcp2,021
  6. testkube-mcpio.github.kubeshop/testkube-mcp1,661
  7. MCP Server for WinDbg Crash Analysisio.github.svnscha/mcp-windbg1,594
  8. ChiR24-unreal_mcp_serverai.smithery/ChiR24-unreal_mcp_server891
Buy me a coffee