
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Wraps the OpenAI Codex CLI as an MCP server exposing tools for code generation, explanation, debugging, and interactive coding sessions with Claude.
OpenAI Codex MCP Server is cataloged as an MCP server attributed to tomatio13. Wraps the OpenAI Codex CLI as an MCP server exposing tools for code generation, explanation, debugging, and interactive coding sessions with Claude. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License with Attribution. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for OpenAI Codex MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The provider parameter supports openai, azure, gemini, ollama, mistral, deepseek, xai, and groq.
Yes, full-auto mode runs in a network-disabled sandbox, and file operations are limited to the current working directory.
README.md · 66f13894366b · 采集于 2026-11-13 13:55:36 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Wraps OpenAI Codex CLI as an MCP (Model Context Protocol) server for integration with Claude.
This MCP server provides the following tools:
codex_agent: Comprehensive tool with access to all OpenAI Codex CLI features
codex_interactive: Tool for starting interactive sessions
OpenAI Codex CLI:
npm install -g @openai/codex
Python 3.12 or higher
Environment setup: Copy .env.example to .env and configure
git clone https://github.com/Tomatio13/openai-codex-mcp.git
cd openai-codex-mcp
./setup.sh
./run.sh
./run_sse.sh [port] [host]
# Examples:
./run_sse.sh 8080 0.0.0.0 # Port 8080, listen on all interfaces
./run_sse.sh # Default: localhost:8000
# stdio mode
python codex_server.py --mode stdio
# SSE mode
python codex_server.py --mode sse --port 8000 --host localhost
Or run setup and start in one command:
./setup_and_run.sh
# Install dependencies
pip install -e .
# Start server
python codex_server.py
To use the MCP server with Claude Desktop, add the following to your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"openai-codex": {
"command": "python",
"args": ["/path/to/openai-codex-mcp/codex_server.py", "--mode", "stdio"],
"env": {
"PATH": "/usr/local/bin:/usr/bin:/bin"
}
}
}
}
%APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"openai-codex": {
"command": "python",
"args": ["C:\\path\\to\\openai-codex-mcp\\codex_server.py", "--mode", "stdio"],
"env": {
"PATH": "C:\\Program Files\\nodejs;C:\\Windows\\System32"
}
}
}
}
In SSE mode, you can access the MCP server via HTTP endpoints:
# Start server
./run_sse.sh 8000
# Available endpoints
# GET http://localhost:8000/sse - SSE connection
# POST http://localhost:8000/message - Send message
Once the MCP server is configured in Claude Desktop, you can use the tools as follows:
@openai-codex codex_agent prompt="Create a Python function to calculate Fibonacci numbers"
@openai-codex codex_agent prompt="Explain this code" task_type="code-explanation"
@openai-codex codex_agent prompt="Fix the bug in utils.py" task_type="debugging" model="o4-preview"
@openai-codex codex_agent prompt="Check for security vulnerabilities" task_type="security"
# Suggestions only (default, safest)
@openai-codex codex_agent prompt="Refactor this code" approval_mode="suggest"
# Auto-edit (automatic file read/write, command execution requires confirmation)
@openai-codex codex_agent prompt="Explain this codebase" approval_mode="auto-edit"
# Full auto (fully automatic execution in network-disabled sandbox)
@openai-codex codex_agent prompt="Create and run tests" approval_mode="full-auto"
@openai-codex codex_agent prompt="Implement this UI design" images=["design.png"] task_type="code-generation"
@openai-codex codex_agent prompt="Review this code" provider="azure" model="gpt-4.1"
@openai-codex codex_agent prompt="Explain this" provider="ollama" model="llama3"
@openai-codex codex_interactive initial_prompt="Tell me about the project structure" approval_mode="auto-edit"
Use the task_type parameter to generate prompts optimized for specific tasks:
general: General coding assistance (default)code-generation: Generate new codecode-explanation: Explain existing codedebugging: Find and fix bugsrefactoring: Improve code structuretesting: Write or fix testssecurity: Security analysis and fixesdocumentation: Generate or improve documentationSupported AI providers through the provider parameter:
openai: OpenAI (default)azure: Azure OpenAIgemini: Google Geminiollama: Ollama (local models)mistral: Mistral AIdeepseek: DeepSeekxai: xAIgroq: Groqsuggest: Only suggests changes, requires approval for all actions (safest)auto-edit: Can read and write files automatically, asks for shell commandsfull-auto: Full autonomy with network-disabled sandbox (most powerful)full-auto mode runs in a network-disabled sandbox for securityfull-auto mode"codex command not found"
npm install -g @openai/codex
Permission denied on scripts
chmod +x *.sh
Python version issues
python3 -m venv venv && source venv/bin/activateMCP connection issues
MIT License with Attribution - see LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any issues or have questions, please open an issue on GitHub.
Made with ❤️ for the Claude + OpenAI Codex community
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for OpenAI Codex MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/openai-codex-mcp-tomatio13)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.