Skip to content
Zed

codex mcp tool for Zed

io.github.x51xxx/codex-mcp-tool

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

client:Zed transport:stdio runtime:npm

Install codex mcp tool in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "codex-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/codex-mcp-tool"
      ],
      "env": {
        "CODEX_MCP_CWD": "<CODEX_MCP_CWD>",
        "CODEX_SESSION_TTL_MS": "<CODEX_SESSION_TTL_MS>",
        "CODEX_MAX_SESSIONS": "<CODEX_MAX_SESSIONS>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

codex mcp tool in other clients