by tuannvm
MCP server wrapper for OpenAI Codex CLI that enables Claude Code to leverage Codex's AI capabilities directly.
# Add to your Claude Code skills
git clone https://github.com/tuannvm/codex-mcp-serverGuides for using mcp servers skills like codex-mcp-server.
Last scanned: 5/18/2026
{
"issues": [
{
"type": "npm-audit",
"message": "express-rate-limit: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "fast-uri: fast-uri vulnerable to path traversal via percent-encoded dot segments",
"severity": "high"
},
{
"type": "npm-audit",
"message": "hono: hono Improperly Handles JSX Attribute Names Allows HTML Injection in hono/jsx SSR",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "ip-address: ip-address has XSS in Address6 HTML-emitting methods",
"severity": "medium"
}
],
"status": "WARNING",
"scannedAt": "2026-05-18T08:05:57.311Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}codex-mcp-server is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by tuannvm. MCP server wrapper for OpenAI Codex CLI that enables Claude Code to leverage Codex's AI capabilities directly. It has 603 GitHub stars.
codex-mcp-server returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/tuannvm/codex-mcp-server" and add it to your Claude Code skills directory (see the Installation section above).
codex-mcp-server is primarily written in TypeScript. It is open-source under tuannvm on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh codex-mcp-server against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
Bridge between Claude and OpenAI's Codex CLI — get AI-powered code analysis, generation, and review right in your editor.
graph LR
A[Claude Code] --> B[Codex MCP Server]
B --> C[Codex CLI]
C --> D[OpenAI API]
style A fill:#FF6B35
style B fill:#4A90E2
style C fill:#00D4AA
style D fill:#FFA500
npm i -g @openai/codex
codex login --api-key "your-openai-api-key"
claude mcp add codex-cli -- npx -y codex-mcp-server
Ask codex to explain this function
Use codex to refactor this code for better performance
Use review to check my uncommitted changes
| Tool | Description |
|---|---|
codex |
AI coding assistant with session support, model selection, and structured output metadata |
review |
AI-powered code review for uncommitted changes, branches, or commits |
websearch |
Web search using Codex CLI with customizable result count and search depth |
listSessions |
View active conversation sessions |
ping |
Test server connection |
help |
Get Codex CLI help |
Code analysis:
Use codex to analyze this authentication logic for security issues
Multi-turn conversations:
Use codex with sessionId "refactor" to analyze this module
Use codex with sessionId "refactor" to implement your suggestions
Passing a sessionId creates the session on first use, so listSessions will show it (for this server instance) and subsequent calls can resume context.
Code review:
Use review with base "main" to check my PR changes
Use review with uncommitted true to review my local changes
Advanced options:
Use codex with model "o3" and reasoningEffort "high" for complex analysis
Use codex with fullAuto true and sandbox "workspace-write" for automated tasks
Use codex with callbackUri "http://localhost:1234/callback" for static callbacks
Use codex to return structuredContent with threadId metadata when available
Web search:
Use websearch with query "TypeScript 5.8 new features"
Use websearch with query "Rust vs Go performance 2025" and numResults 15
Use websearch with query "React Server Components" and searchDepth "full"
npm i -g @openai/codex or brew install codexcodex login --api-key "your-key" to authenticatethreadId, this server returns it in content metadata and structuredContent, and advertises an outputSchema for structured responses.CODEX_MCP_CALLBACK_URI: Static MCP callback URI passed to Codex when set (overridden by callbackUri tool arg)npm install # Install dependencies
npm run dev # Development mode
npm run build # Build for production
npm test # Run tests
ISC