MCP Catalogs
Home

codex-mcp-tool

by x51xxx·21·Score 43

MCP server connecting Claude/Cursor to Codex CLI with file analysis, multi-turn conversations, and local model support.

developer-toolsai-llm
5
Forks
0
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

Codex MCP Server provides a bridge between Claude/Cursor and the Codex CLI, enabling advanced code analysis through file references (@src/, @package.json), multi-turn conversations with session management, and structured change modes for refactoring. The server supports various models including GPT-5.5 and local OSS models via Ollama or LM Studio. It features sandboxed code execution, web search capabilities, and brainstorming frameworks like SCAMPER.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Code analysis and refactoring with file references
you:Multi-turn conversations about code with context preservation
you:Local model integration for private code analysis
you:What do I need to install before using this MCP server?
you:Can I use local models with this MCP server?

When to choose this

Choose this server when you're already using Codex CLI and want seamless integration with Claude/Cursor for code analysis, especially for multi-turn conversations about your codebase.

When NOT to choose this

Avoid if you need write access to files (this is read-only) or if you're not already using Codex CLI, as the setup requires additional CLI installation beyond MCP configuration.

Tools this server exposes

5 tools extracted from the README
  • ask-codex

    Execute Codex CLI with file analysis, models, sessions

  • brainstorm

    Generate ideas with SCAMPER, design-thinking, etc.

  • list-sessions

    View/delete/clear conversation sessions

  • health

    Diagnose CLI installation, version, features

  • ping

    Test connection with Codex CLI

Comparable tools

gemini-mcp-toolclaude-codexgithub-mcpcursor-cli

Installation

Installation

Claude Desktop

claude mcp add codex-cli -- npx -y @trishchuk/codex-mcp-tool

Configuration

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

**Config locations:**

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

FAQ

What do I need to install before using this MCP server?
You need Node.js 18+, the Codex CLI installed, and authentication with OpenAI configured. The server works with Claude Desktop.
Can I use local models with this MCP server?
Yes, v1.6.0+ supports local OSS models via Ollama or LM Studio. You need to have Ollama running with a model that supports tool calling.

Compare codex-mcp-tool with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.