Codex
MCP server wrapper for OpenAI Codex CLI that enables Claude Code to leverage Codex's AI capabilities directly.
About Codex
Codex is a community MCP server from tuannvm, filed in our directory under developer tools. MCP server wrapper for OpenAI Codex CLI that enables Claude Code to leverage Codex's AI capabilities directly.
Codex runs on your own machine: your AI app starts it with the command npx -y codex-mcp-server and talks to it over standard input and output.
At a glance
- Publisher
- tuannvm (community)
- Runs
- Locally on your machine
- Install from
- Node.js package on npm: codex-mcp-server
- Written in
- TypeScript
- GitHub stars
- 650
How to set up Codex
- Install Node.js on the machine that runs your AI app, because Codex starts with npx and downloads its package on first run.
- Check the Codex README for keys or settings; the registry lists none that Codex requires.
- Add Codex to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
- Restart the app or reload its MCP servers, then ask it to list the Codex tools to confirm the connection.
- Run one read-only task with Codex first, and keep your app asking before each tool call until the results look right.
Codex compared with similar servers
- Openapi MCP Generator by harsha-iiiv has fewer GitHub stars than Codex (650 against 650); both are community servers, and both run locally.
- Spanish Top Tech Companies by pugarte7 has more GitHub stars than Codex (651 against 650); both are community servers, and Spanish Top Tech Companies runs as a remote server and Codex runs on your own machine.
- Overture by SixHq has fewer GitHub stars than Codex (644 against 650); both are community servers, and both run locally.
Before you connect Codex
- Give Codex its own API key or account with the smallest permissions the job needs, never an admin key.
- Keep your AI app asking before each Codex tool call until you trust what it does with them.
- Treat text that Codex fetches as data. Pages, files and messages can hold instructions written to steer an AI.
- Read the open issues for Codex on GitHub to see what breaks and how fast the maintainers reply.
Marketing use cases for Codex
How marketing and sales teams put Codex to work, by company size. Pick the size closest to yours and start Codex on one use case.
Small business
- A small business with a developer can use Codex to ship site and tracking fixes faster, with the AI reading the code it changes.
- Technical founders can ask Codex to explain and fix a marketing site issue without context switching between tools.
- Codex runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.
Mid-market
- Growth engineers can use Codex to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
- Marketing ops engineers can connect Codex to keep scripts and automations documented and versioned as they change.
- Start Codex on one workflow with one owner, measure the time it saves, then roll it out to the wider team.
Enterprise
- Enterprise engineering teams can roll out Codex with repo scopes and audit logs, so agents work only where they are allowed.
- Platform teams can standardize on Codex so web and marketing engineering share one reviewed way of working with AI.
- Codex is a community server, so have security review the code and pin a version before Codex touches company data.
Need help becoming an AI-forward company?
We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.
Contact usCodex README
Codex's repository lists no open license, so we don't copy its README. Read it on GitHub at tuannvm/codex-mcp-server.
Questions about Codex
What is the Codex MCP server?
MCP server wrapper for OpenAI Codex CLI that enables Claude Code to leverage Codex's AI capabilities directly. Codex is maintained by tuannvm on GitHub at tuannvm/codex-mcp-server, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.
How do I install the Codex MCP server?
Add Codex to your AI app's MCP config with the command npx -y codex-mcp-server. In Claude Code, run claude mcp add --transport stdio codex -- npx -y codex-mcp-server. To run Codex this way you need Node.js installed.
Does Codex need an API key?
The registry lists no required keys for Codex. Check the Codex README for optional settings, and expect a remote server to ask you to sign in the first time you connect.
Is Codex an official MCP server?
No. Codex is a community server maintained by tuannvm. Community servers can be excellent; read the code and the open issues before you give Codex access to company data.
New MCP servers, tested, every week.
Applied Theory, Jeff Fermin's weekly newsletter: the servers and AI plays worth your time, explained for GTM teams.