codex-app-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codex-app-mcpstart a new thread to investigate the production outage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Codex app-server MCP
Production-oriented MCP gateway for managing Codex through one persistent
codex app-server process. The former codex exec/codex_delegate runtime is
not part of this repository.
The installed codex binary remains a runtime dependency because it provides
codex app-server.
Capabilities
threads, turns, steering, interrupt, fork, archive and rollback;
autonomous persisted goals with model, reasoning effort and token budget;
native review, command sessions, filesystem v2 and unsandboxed
process/*;approvals, user input, dynamic tools and server-initiated requests;
durable SQLite jobs, worktree lanes and timezone-aware RRULE schedules;
typed access to all methods in the configured experimental schema;
downstream MCP/SaaS calls with server and tool allowlists;
stdio MCP and bearer-protected HTTP;
exact-schema introspection, audit, metrics, retry and recovery.
Related MCP server: codex-mcp-server
Repository
codex_app_mcp/ runtime package
docs/ reference, migration, research and verification
scripts/ repeatable protocol and transport probes
tests/ automated test suite
pyproject.toml package and entrypoint metadataInstall
Set-Location "<path-to-repository>"
py -3 -m pip install -e ".[test]"Project paths fail closed until roots are configured:
$env:CODEX_APP_MCP_ALLOWED_ROOTS = "D:\Projects;D:\Work"Full host access is explicit:
$env:CODEX_APP_MCP_ALLOW_FULL_ACCESS = "1"
$env:CODEX_APP_MCP_DEFAULT_SANDBOX = "danger-full-access"
$env:CODEX_APP_MCP_DEFAULT_APPROVAL_POLICY = "never"State-changing administrative and raw RPC calls use a separate gate:
$env:CODEX_APP_MCP_ALLOW_UNSAFE_RPC = "1"
$env:CODEX_APP_MCP_ALLOWED_RPC_METHODS = "*"Use a narrow method allowlist instead of * outside a trusted local control
plane.
Run
# MCP stdio
codex-app-mcp
# MCP over HTTP
$env:CODEX_APP_MCP_HTTP_TOKEN = "<long-random-secret>"
codex-app-mcp --transport http --host 127.0.0.1 --port 8765For a service deployment, use CODEX_APP_MCP_HTTP_TOKEN_FILE instead of
putting the bearer token directly in the process environment. The two token
settings are mutually exclusive.
Verify
py -3 -m pytest -q
py -3 -m compileall -q codex_app_mcp scripts tests
py -3 scripts\check_protocol.py
py -3 scripts\audit_protocol.py
py -3 scripts\probe_stdio.py
py -3 scripts\probe_http.pyThe full probe mutates only its own temporary repositories:
py -3 scripts\probe_full.pyThe optional persisted-goal probe may consume model usage:
py -3 scripts\probe_goal.py --goalDocumentation
The protocol catalog is generated from the configured binary, so an older Codex build cannot be mistaken for one that supports a future method.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for Codex CLI — tmux persistence, git worktree isolation, async dispatch.Last updated41MIT
- AlicenseCqualityBmaintenanceBridges MCP clients with local Codex CLI to execute autonomous coding tasks, manage threads, and inspect history via SQLite state.Last updated138734Apache 2.0
- AlicenseAqualityAmaintenanceMCP server that wraps Codex CLI as a subprocess, exposing code execution, web search, and structured output as Model Context Protocol tools.Last updated84253MIT
- Alicense-qualityBmaintenanceAn experimental MCP server for MNCS-native development and evidence control, enabling Codex to manage project authority, candidate lineage, evidence gaps, and evaluator-mode boundaries.Last updatedApache 2.0
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/zai-one/codex-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server