{"name":"Codex MCP Server: Bridge Claude Code with OpenAI Codex CLI","description":"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.","github":"https://github.com/tuannvm/codex-mcp-server","url":"https://osrepos.com/repo/tuannvm-codex-mcp-server","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/tuannvm-codex-mcp-server","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/tuannvm-codex-mcp-server.md","json":"https://osrepos.com/repo/tuannvm-codex-mcp-server.json","topics":["claude-code","codex","cursor","mcp","TypeScript","AI","Development Tools","Code Generation"],"keywords":["claude-code","codex","cursor","mcp","TypeScript","AI","Development Tools","Code Generation"],"stars":null,"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.","content":"## Introduction\n\nThe `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.\n\n## Installation\n\nTo get started with `codex-mcp-server`, follow these simple steps:\n\n### 1. Install Codex CLI\n\nFirst, ensure you have the OpenAI Codex CLI installed globally and authenticated:\n\nbash\nnpm i -g @openai/codex\ncodex login --api-key \"your-openai-api-key\"\n\n\n### 2. Add to Claude Code\n\nNext, integrate the `codex-mcp-server` into Claude Code using the `claude mcp add` command:\n\nbash\nclaude mcp add codex-cli -- npx -y codex-mcp-server\n\n\nFor a one-click installation experience, you can also use the provided links for VS Code, VS Code Insiders, and Cursor:\n*   [VS Code Install](https://vscode.dev/redirect/mcp/install?name=codex-cli&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22codex-mcp-server%22%5D%7D){target=\"_blank\"}\n*   [VS Code Insiders Install](https://insiders.vscode.dev/redirect/mcp/install?name=codex-cli&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22codex-mcp-server%22%5D%7D){target=\"_blank\"}\n*   [Cursor Install](https://cursor.com/en/install-mcp?name=codex&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4IC15IGNvZGV4LW1jcC1zZXJ2ZXIiLCJlbnYie30ifQ%3D%3D){target=\"_blank\"}\n\n## Examples\n\nOnce installed, you can start leveraging Codex's AI capabilities through Claude Code. Here are some common ways to interact with it:\n\n### Basic Usage\n\n\nAsk codex to explain this function\nUse codex to refactor this code for better performance\nUse review to check my uncommitted changes\n\n\n### Code Analysis\n\n\nUse codex to analyze this authentication logic for security issues\n\n\n### Multi-turn Conversations\n\n`codex-mcp-server` supports multi-turn conversations using session IDs, allowing you to maintain context across multiple interactions:\n\n\nUse codex with sessionId \"refactor\" to analyze this module\nUse codex with sessionId \"refactor\" to implement your suggestions\n\n\n### Code Review\n\nPerform AI-powered code reviews on uncommitted changes, branches, or commits:\n\n\nUse review with base \"main\" to check my PR changes\nUse review with uncommitted true to review my local changes\n\n\n### Web Search\n\nUtilize the `websearch` tool to perform web searches directly:\n\n\nUse websearch with query \"TypeScript 5.8 new features\"\nUse websearch with query \"Rust vs Go performance 2025\" and numResults 15\n\n\n## Why Use Codex MCP Server?\n\nIntegrating `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.\n\n## Links\n\nFor more detailed information and to contribute to the project, visit the official repository:\n*   [GitHub Repository](https://github.com/tuannvm/codex-mcp-server){target=\"_blank\"}\n*   [npm Package](https://www.npmjs.com/package/codex-mcp-server){target=\"_blank\"}","metrics":{"detailViews":2,"githubClicks":0},"dates":{"published":null,"modified":"2026-08-23T00:20:57.000Z"}}