{"repo":"agency-ai-solutions/openai-codex-mcp","free":true,"listed":false,"github":"https://github.com/agency-ai-solutions/openai-codex-mcp","clone":"git clone https://github.com/agency-ai-solutions/openai-codex-mcp.git","description":"An MCP server to communicated with, use, and wrap the API for the OpenAI Codex CLI tool.","language":"Python","stars":51,"topics":[],"license":null,"category":"mcp-servers","readme_excerpt":"openai-codex-mcp An MCP server to wrap the OpenAI Codex CLI tool for use with Claude Code. Overview This project provides a simple JSON-RPC server that allows Claude Code to interact with the OpenAI Codex CLI tool. This enables Claude Code to use OpenAI's models for code generation, explanation, and problem-solving when needed. Video Demo https://www.loom.com/share/5d9532a79ae24b309af08c1727156f9c?sid=d9277b91-bf8c-43ec-a3c6-dc69fc52e1d2 Recent Improvements The MCP server has been enhanced to provide a more intuitive and robust interface: 1. Specialized Methods : Added dedicated methods for common coding tasks: - write code : Generate code for a specific task in a specified language - explain code : Get detailed explanations of how code works - debug code : Find and fix bugs in problematic code 2. Model Selection : Clearly defined model options with defaults: - o4-mini - o4-preview - o4-pro - o4-latest 3. Simplified Syntax : More intuitive parameter naming and structure for easier integration These improvements make it easier for Claude Code to use OpenAI's models for specific programming tasks without requiring complex prompt engineering. Prerequisites - Python 3.12+ - OpenAI Codex CLI tool ( npm install -g @openai/codex ) - Valid OpenAI API key (for the Codex CLI, not for this server) Installation and Setup This project uses a PEP‑621 pyproject.toml . Follow these steps: After installation, the codex server entrypoint is available in your PATH. Running the Server Quick Star","default_branch":null,"files":null,"tree":[],"storefront":"/r/agency-ai-solutions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/agency-ai-solutions/openai-codex-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}