MCP bridge that lets Claude Code and other hosts delegate implementation to the OpenAI Codex CLI
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add codex-delegate -- npx -y codex-delegate-mcp~/.codex/config.toml
[mcp_servers.codex-delegate]
command = "npx"
args = ["-y", "codex-delegate-mcp"]
# codex mcp add codex-delegate -- npx -y codex-delegate-mcp~/.cursor/mcp.json
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"codex-delegate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"codex-delegate": {
"command": "npx",
"args": [
"-y",
"codex-delegate-mcp"
]
}
}
}