Codex MCP Server: Bridge Claude Code with OpenAI Codex CLI
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Codex MCP Server is an essential tool that acts as a bridge between Claude Code and OpenAI's Codex CLI. It allows developers to integrate powerful AI-driven code analysis, generation, and review capabilities directly into their editor. This server wrapper enables Claude Code to fully leverage Codex's advanced AI functionalities.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
The codex-mcp-server project provides a crucial link, enabling Claude Code to tap into the robust AI capabilities of OpenAI's Codex CLI. This server wrapper acts as a bridge, bringing AI-powered code analysis, generation, and review directly into your development workflow. It simplifies the integration, allowing developers to enhance their coding experience with advanced AI assistance.
Installation
To get started with codex-mcp-server, follow these simple steps:
1. Install Codex CLI
First, ensure you have the OpenAI Codex CLI installed globally and authenticated:
npm i -g @openai/codex
codex login --api-key "your-openai-api-key"
2. Add to Claude Code
Next, integrate the codex-mcp-server into Claude Code using the claude mcp add command:
claude mcp add codex-cli -- npx -y codex-mcp-server
For a one-click installation experience, you can also use the provided links for VS Code, VS Code Insiders, and Cursor:
Examples
Once installed, you can start leveraging Codex's AI capabilities through Claude Code. Here are some common ways to interact with it:
Basic Usage
Ask codex to explain this function
Use codex to refactor this code for better performance
Use review to check my uncommitted changes
Code Analysis
Use codex to analyze this authentication logic for security issues
Multi-turn Conversations
codex-mcp-server supports multi-turn conversations using session IDs, allowing you to maintain context across multiple interactions:
Use codex with sessionId "refactor" to analyze this module
Use codex with sessionId "refactor" to implement your suggestions
Code Review
Perform AI-powered code reviews on uncommitted changes, branches, or commits:
Use review with base "main" to check my PR changes
Use review with uncommitted true to review my local changes
Web Search
Utilize the websearch tool to perform web searches directly:
Use websearch with query "TypeScript 5.8 new features"
Use websearch with query "Rust vs Go performance 2025" and numResults 15
Why Use Codex MCP Server?
Integrating codex-mcp-server into your development environment offers significant advantages. It empowers developers with on-demand AI assistance for complex tasks like code analysis, refactoring, and security checks. The ability to conduct multi-turn conversations and perform AI-powered code reviews streamlines workflows and enhances code quality. By bridging Claude Code with OpenAI Codex, this project brings cutting-edge AI directly to your fingertips, boosting productivity and enabling more efficient development.
Links
For more detailed information and to contribute to the project, visit the official repository:
Related repositories
Similar repositories that may be relevant next.

AgentBridge: Local Bridge for Claude Code and Codex Collaboration
August 22, 2026
AgentBridge is an innovative local tool designed to facilitate real-time, bidirectional collaboration between Claude Code and Codex AI agents. It enables seamless cross-review, task splitting, and quota relay, allowing these powerful models to work together efficiently within a single session without manual intervention. Notably, the tool itself was largely built by Claude Code and Codex collaborating through AgentBridge.
ios-simulator-skill: Enhance Claude's iOS App Development with Simulator Skill
August 22, 2026
The ios-simulator-skill is a production-ready skill for Claude Code, designed to build, test, and automate iOS applications efficiently. It optimizes Claude's interaction with the iOS Simulator and Xcode builds, significantly reducing token wastage from LLM output. This skill provides 27 scripts for robust semantic UI navigation, accessibility testing, and device lifecycle management.
awesome-agent-skills: A Curated Collection of 1000+ AI Agent Skills
August 22, 2026
VoltAgent's awesome-agent-skills is a comprehensive repository featuring over 1000 hand-picked AI agent skills from official development teams and the community. This valuable resource supports various AI coding assistants like Claude Code, Codex, Gemini CLI, and Cursor. It stands out for its focus on real-world, non-AI-generated skills, making it an essential toolkit for developers building intelligent agents.

Claude Ads: AI-Powered Paid Advertising Audit for Claude Code
June 14, 2026
Claude Ads is an AI-powered skill for Claude Code designed to automate comprehensive paid advertising audits. It performs over 250 checks across major ad platforms, providing a weighted health score, prioritized action plans, and AI creative generation. This tool drastically reduces the time and cost associated with manual ad account analysis.
Source repository
Open the original repository on GitHub.