Back to MCP Servers

Codex Mcp Tool

MCP server that connects your IDE or AI assistant to Codex CLI for code analysis and editing with support for multiple models (gpt-5-codex, o3, codex-1)

coding-agentsai

Installation

npx -y codex-mcp-tool

Configuration

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

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub