MCP Server
MCP
io.github.hampsterx/codex-mcp-bridge
Wraps Codex CLI as MCP tools: codex, review, query, search, structured, ping, listSessions.
Install
npx -y codex-mcp-bridge@0.9.1
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "codex-mcp-bridge",
"version": "0.9.1",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Path to the codex CLI binary. Defaults to 'codex' on PATH.",
"format": "string",
"default": "codex",
"name": "CODEX_CLI_PATH"
},
{
"description": "Default Codex model for codex/query/search.",
"format": "string",
"name": "CODEX_DEFAULT_MODEL"
},
{
"description": "Model to use when the primary model hits a quota error.",
"format": "string",
"name": "CODEX_FALLBACK_MODEL"
},
{
"description": "Maximum concurrent Codex CLI subprocesses (default 3).",
"format": "number",
"default": "3",
"name": "CODEX_MAX_CONCURRENT"
},
{
"description": "Controls which MCP servers from ~/.codex/config.toml stay enabled inside the Codex subprocess. Empty/unset disables all non-required servers; 'inherit' passes config through; comma-separated names (e.g. 'serena,github') enables those; values starting with '{' or '[' are raw TOML.",
"format": "string",
"name": "CODEX_MCP_SERVERS"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment