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.

opcode: A Powerful GUI Toolkit for Claude Code AI Development
August 28, 2026
opcode is a robust desktop application built with Tauri 2, designed to enhance interaction with Claude Code. It offers a comprehensive GUI for managing AI-assisted development sessions, creating custom agents, and tracking usage, bridging the gap between the command-line interface and a more intuitive visual experience.

ECC: The Agent Harness Performance Optimization System for LLMs
August 28, 2026
ECC is an advanced agent harness performance optimization system, providing a coordinated engineering system and toolbox for LLM development. It enables agents to plan, test, implement, review, and learn effectively, enhancing productivity and security for AI-driven coding workflows across platforms like Claude Code, Codex, and Cursor.

AntiVibe: Learn Code with AI-Powered Deep Dives and Architectural Audits
August 26, 2026
AntiVibe is an innovative code learning and audit framework designed to help developers truly understand code, whether it's AI-generated, new, or legacy. It transforms any codebase into educational deep dives or senior-level architectural audits, moving beyond mere code summaries to explain the 'what,' 'why,' and 'when' of code patterns. This tool addresses the common problem of developers copying AI-generated code without grasping its underlying logic or implications.

awesome-claude-code: A Curated List of Resources for Anthropic's Claude Code
August 24, 2026
The awesome-claude-code repository offers a comprehensive, curated list of tools, integrations, frameworks, and resources specifically designed for developers utilizing Anthropic's Claude Code. This valuable collection helps users discover everything from official SDKs and agent skills to IDE integrations and client GUIs. It serves as an essential guide for enhancing development workflows with AI-powered coding assistance.
Source repository
Open the original repository on GitHub.
10 counted GitHub visits