# Codex MCP Tool

> Codex MCP Tool is an open-source MCP server. MCP server bridging AI assistants to OpenAI Codex CLI for code analysis and review. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/x51xxx/codex-mcp-tool
- **MCP Registry name:** io.github.x51xxx/codex-mcp-tool
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add codex-mcp-tool -- npx -y @trishchuk/codex-mcp-tool
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "codex-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/codex-mcp-tool"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "codex-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/codex-mcp-tool"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "codex-mcp-tool": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/codex-mcp-tool"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "codex-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/codex-mcp-tool"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "codex-mcp-tool": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/codex-mcp-tool"
      ]
    }
  }
}
```

## FAQ

### Is Codex MCP Tool free?

Yes. Codex MCP Tool is open source, so you can use and self-host it for free.

### How do I add Codex MCP Tool to Claude Code?

Run this command in your terminal: claude mcp add codex-mcp-tool -- npx -y @trishchuk/codex-mcp-tool

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/codex-mcp-tool
