Local Codex Bridge
Provides an MCP control plane for OpenAI Codex native sessions, enabling authenticated tunnel access and translating eight explicit operations for managing Codex session identity, history, runtime state, and results.
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., "@Local Codex BridgeStart a Codex session in the 'work' workspace to refactor the authentication module."
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.
Local Codex Bridge
Frozen experimental reference. This repository is intended to remain read-only and is not production-ready or supported. It did not complete authenticated Tunnel, macOS real-device, or Android ChatGPT Work validation. See EXPERIMENTAL.md.
Local Codex Bridge is a narrow MCP control plane for Codex native sessions on a user-approved Windows or macOS host. It is designed for authenticated access through OpenAI Secure MCP Tunnel.
The bridge translates eight explicit operations. Codex native threads remain the only source of truth for session identity, history, runtime state, and results.
Status
Development is frozen. The source is published only to preserve the protocol, security-boundary, and testing work as an experimental reference. No runnable release artifact is provided.
Related MCP server: subcodex-mcp
Security boundary
No arbitrary shell, process, filesystem, archive, delete, fork, or rollback tool is exposed.
Callers choose a locally approved workspace identifier, never an arbitrary machine path.
Callers cannot override the configured permission profile, sandbox, network policy, model-provider configuration, or App Server configuration.
The bridge has no session database, transcript mirror, task registry, or durable pending-request store.
Secrets belong in Windows DPAPI-protected storage or macOS Keychain and must not enter repository files, command arguments, logs, screenshots, or fixtures.
See the threat model and protocol decisions before operating the bridge. The architecture notes describe state ownership, the fixed process boundary, and restart behavior. Platform setup documents credentials, launchers, managed tunnel supervision, and recovery. The real-device acceptance runbook defines the Windows, macOS, Tunnel, and Android evidence procedure without retaining native identities or private host metadata beyond its explicit public-version allowlist. Its sanitized report format preserves a historical, uncompleted runtime-release gate; it is not evidence for this frozen source publication. The release runbook defines the fail-closed publication gate.
Development
Requires Node.js 24 or newer, npm, Codex CLI, and gitleaks.
npm ci
npm run check
npm run secret:scanThe commands above are for source inspection and test reproduction, not an installation or deployment recommendation.
Non-goals
V1 does not wake dormant ChatGPT conversations, implement Workspace Agents API triggers, control turns owned by another App Server runtime, or provide a general remote shell.
License
MIT.
This server cannot be installed
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
- Alicense-qualityAmaintenanceMCP server that enables Claude Code to send code and plans for review by OpenAI Codex, returning structured feedback inline.9423MIT
- AlicenseBqualityDmaintenanceMCP server that enables Claude Code to delegate code generation and debugging to OpenAI Codex, with stall detection and auto-recovery.28MIT
- Alicense-qualityCmaintenanceAn MCP server that allows AI agents to monitor and interact with Codex sessions, providing session awareness, status summaries, and managed tmux windows for automated continuation.1MIT
- Alicense-qualityDmaintenanceMCP server that enables Claude Code to delegate tasks to Codex for real-time collaborative code generation and execution.9MIT
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
A paid remote MCP for OpenAI Codex memory MCP, built to return verdicts, receipts, usage logs, and a
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
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/lijihong9836-debug/local-codex-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server