Codex MCP Server
Bridge between Claude and OpenAI's Codex CLI — get AI-powered code analysis, generation, and review right in your editor.
Quick Start
1. Install Codex CLI
npm i -g @openai/codex
codex login --api-key "your-openai-api-key"2. Add to Claude Code
claude mcp add codex-cli -- npx -y codex-mcp-server3. Start Using
Ask codex to explain this function
Use codex to refactor this code for better performance
Use review to check my uncommitted changesOne-Click Install
Tools
codex
AI coding assistant with session support and model selection
review
AI-powered code review for uncommitted changes, branches, or commits
listSessions
View active conversation sessions
ping
Test server connection
help
Get Codex CLI help
Examples
Code analysis:
Multi-turn conversations:
Code review:
Advanced options:
Requirements
Codex CLI v0.75.0+ — Install with
npm i -g @openai/codexorbrew install codexOpenAI API key — Run
codex login --api-key "your-key"to authenticate
Documentation
API Reference — Full tool parameters and response formats
Session Management — How conversations work
Codex CLI Integration — Version compatibility and CLI details
Development
Related Projects
gemini-mcp-server — MCP server for Gemini CLI with 1M+ token context, web search, and media analysis
License
ISC
Last updated
Was this helpful?