Skip to main content
skill CX Codex

codex-mcp-server-integration — Claude Code & Codex skill: what it does

codex-mcp-server-integration — a skill that bridges OpenAI Codex CLI to Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode via MCP. Brings code analysis, generation, branch review, and web search into the editor.

no license 171 installs ★ 9 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/mcp-skills --skill codex-mcp-server-integration -a claude-code
Open on GitHub

What codex-mcp-server-integration does

The skill runs on six platforms: Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It exposes a set of tools through the Model Context Protocol on top of Codex CLI — codex for analysis and generation, review for uncommitted diffs or branch comparisons, websearch for pulling fresh documentation, listSessions to track active conversations, plus ping and help.

The sessionId parameter keeps context across turns: start a session to audit an authentication module, then continue in the same thread to generate tests for the fixes found. The review tool accepts uncommitted, base/head, or commit flags, so checking local edits and reviewing a branch before a PR both go through one call.

Codex CLI 0.75.0 or higher must be installed and authenticated with OPENAI_API_KEY before the MCP server can reach the OpenAI API. The server starts without the key, but every tool call returns an authorization error.

What it helps with

  • review uncommitted changes before committing via Codex
  • compare a feature branch against main before opening a PR
  • search for up-to-date library documentation through the built-in web search
  • run a multi-turn refactoring session with persistent context across messages
  • generate code autonomously with workspace-write sandbox permissions

Example prompts for the agent

  • Analyze src/auth/login.ts with Codex and suggest security fixes
  • Review all uncommitted changes using Codex
  • Search for the latest Prisma docs with Codex and help migrate src/models/user.ts

How to install codex-mcp-server-integration

1Skills CLI (Vercel)

npx skills add reason-machines/mcp-skills --skill codex-mcp-server-integration -a claude-code

2Manually: put the files in place

~/.claude/skills/codex-mcp-server-integration/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/codex-mcp-server-integration/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about codex-mcp-server-integration

How do I install codex-mcp-server-integration in Claude Code?

Run npx skills add reason-machines/mcp-skills --skill codex-mcp-server-integration -a claude-code. The skill file will be placed at ~/.claude/skills/codex-mcp-server-integration/SKILL.md.

What does the codex-mcp-server-integration skill do?

It connects Codex CLI to any MCP-compatible editor and adds tools for code analysis, diff review, generation, and web search. The agent calls them directly in response to your prompts.

What does the skill require to work?

Codex CLI 0.75.0 or higher — install with npm install -g @openai/codex or brew install codex — and a valid OPENAI_API_KEY passed via codex login --api-key. Without authentication every tool call fails.

Similar skills

All skills for Code review and refactoring →

From the same set98

The whole set →
mcp-code-execution-mode mcp-code-execution-mode executes Python inside rootless containers and routes calls to MCP servers to keep token consumption minimal. CX Codex +1 174installs mcp-server-code-execution-mode mcp-server-code-execution-mode executes Python in rootless Podman or Docker containers and proxies MCP tools through a single entry point, cutting context from 30,000 to 200 tokens. CX Codex +1 173installs nanobanana-mcp-image-generation The nanobanana-mcp-image-generation skill connects an agent to Gemini image generation and editing with model selection, 4K output, aspect ratios, and templates. Use it for visual assets from a coding workspace. CX Codex +1 172installs mcp-server-bash-sdk mcp-server-bash-sdk guides you in building zero-runtime Model Context Protocol servers using pure Bash and jq instead of heavy runtimes. CX Codex +1 171installs remote-mcp-server-with-auth remote-mcp-server-with-auth is a Claude Code skill for building and deploying a Cloudflare Workers MCP server with GitHub OAuth and PostgreSQL. It supports role-based permissions. CX Codex +1 168installs postman-mcp-server Hooks your coding agent up to Postman over MCP: workspaces, collections, environments, request runs and client code generation. CX Codex +1 168installs mcp-server-12306 Enables AI agents to query China Railway 12306 services. Checks real-time train availability, seat prices, schedules, and transfer routes. CX Codex +1 167installs quickbooks-online-mcp-server Connects coding assistants to a QuickBooks Online MCP server to handle bookkeeping entities and inspect accounting reports. CX Codex +1 166installs

Project sponsors

Companies that keep this analytics open