The Codex MCP server wraps OpenAI Codex CLI, exposing AI-powered code generation, autocompletion, and translation to AI agents. It connects directly to OpenAI's Codex API. Developers use it to integrate AI coding assistance into their workflows, automating code writing and improving productivity.
The Codex MCP server wraps OpenAI Codex CLI, exposing AI-powered code generation, autocompletion, and translation to AI agents. It connects directly to OpenAI's Codex API. Developers use it to integrate AI coding assistance into their workflows, automating code writing and improving productivity.
npx -y codex-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"tuannvm-codex-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y codex-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from codex?"
API Key Required
This server requires an API key from codex. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| CODEX_API_KEY | Yes | Your codex API key |
"What resources are available in codex?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in codex"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in codex with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.