Skip to main content
Glama
menaje

codex-mcp-bridge

by menaje

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODEX_MCP_BRIDGE_HOSTNoHTTP bind host; no-auth mode rejects non-loopback values127.0.0.1
CODEX_MCP_BRIDGE_PORTNoDirect-server port; the bundled local/secure launcher defaults to 88768765
CONTROL_PLANE_API_KEYNoRuntime API key for the Secure MCP Tunnel
CODEX_MCP_BRIDGE_CODEXNoCodex CLI executable path or commandcodex
CODEX_MCP_BRIDGE_DEBUGNoEmit local diagnostic errors and Codex stderr
CODEX_MCP_BRIDGE_ROOTSNoComma-separated absolute allowed rootscurrent directory
CODEX_MCP_BRIDGE_TOKENNoOptional bearer token; required unless loopback-only no-auth mode is enabled
CONTROL_PLANE_TUNNEL_IDNoTunnel ID for the Secure MCP Tunnel
CODEX_MCP_BRIDGE_NO_AUTHNoSet to 1 only for a loopback endpoint or Secure MCP Tunnel transport boundary
CODEX_MCP_BRIDGE_JOB_TTL_MSNoCompleted job retention21600000
CODEX_MCP_BRIDGE_ALLOW_WRITENoMust be 1 before write mode is accepted
CODEX_MCP_BRIDGE_ALLOWED_HOSTSNoOptional comma-separated HTTP Host allowlist; the launcher sets loopback hosts
CODEX_MCP_BRIDGE_DEFAULT_MODELNoOptional default Codex model id; individual initial calls may override it
CODEX_MCP_BRIDGE_FAST_RETURN_MSNoDelay before returning a job ID25000
CODEX_MCP_BRIDGE_JOB_STATE_FILENoLegacy job JSON imported once when present~/.codex-mcp-bridge/jobs.json
CODEX_MCP_BRIDGE_APPROVAL_POLICYNountrusted, on-request, or neveron-request
CODEX_MCP_BRIDGE_DEFAULT_BACKENDNoBackend for new threads: stable mcp-server or experimental app-server; each thread remains stickymcp-server
CODEX_MCP_BRIDGE_DEFAULT_SANDBOXNoread-only, workspace-write, or danger-full-access; the matching capability must be enabledread-only
CODEX_MCP_BRIDGE_MAX_PROMPT_CHARSNoMaximum prompt length per tool call50000
CODEX_MCP_BRIDGE_MAX_RETAINED_JOBSNoMaximum running/terminal job records retained in memory and durable state100
CODEX_MCP_BRIDGE_AUTO_RESUME_TTL_MSNoInitial saved idle window for automatic recent-session reuse; explicit continuation is still allowed21600000
CODEX_MCP_BRIDGE_JOB_STALE_AFTER_MSNoNo-progress interval before a running job is labeled no-progress-observed; this does not establish process liveness600000
CODEX_MCP_BRIDGE_SESSION_STATE_FILENoLegacy session JSON imported once when present~/.codex-mcp-bridge/sessions.json
CODEX_MCP_BRIDGE_UPSTREAM_POOL_SIZENoLazy Codex MCP worker pool; cannot exceed the active-job limit4
CODEX_MCP_BRIDGE_DISABLE_SECRET_SCANNoExplicitly bypass filename preflight
CODEX_MCP_BRIDGE_MAX_CONCURRENT_JOBSNoOwner maximum and initial saved active Codex-call limit30
CODEX_MCP_BRIDGE_SETTINGS_STATE_FILENoLegacy settings JSON imported once when present~/.codex-mcp-bridge/settings.json
CODEX_MCP_BRIDGE_STATE_DATABASE_FILENoPrimary private transactional settings/session/job store~/.codex-mcp-bridge/state.sqlite
CODEX_MCP_BRIDGE_DEFAULT_SESSION_MODENoInitial card default for omitted session mode: auto or newauto
CODEX_MCP_BRIDGE_MAX_JOB_RESULT_BYTESNoMaximum retained serialized result size per job1048576
CODEX_MCP_BRIDGE_DEFAULT_ACCESS_STRATEGYNoInitial card strategy: read-only, adaptive, or always-full; the last value requires full-access capabilityadaptive
CODEX_MCP_BRIDGE_ALLOW_DANGER_FULL_ACCESSNoMust be 1 before danger-full-access is accepted
CODEX_MCP_BRIDGE_DEFAULT_REASONING_EFFORTNoOptional default effort; must be supported by the selected model
CODEX_MCP_BRIDGE_MODEL_CATALOG_STATE_FILENoPrivate last-successful model catalog fallback~/.codex-mcp-bridge/models.json
CODEX_MCP_BRIDGE_MODEL_CATALOG_TIMEOUT_MSNoTimeout for refreshing the Codex model catalog30000
CODEX_MCP_BRIDGE_MODEL_CATALOG_CACHE_TTL_MSNoTime to cache a successful dynamic Codex model catalog600000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/menaje/codex-mcp-bridge-for-chatgpt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server