local-codex-bridge
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-bridgeAsk Codex to summarize the main responsibilities of this repository"
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.
GPT–Codex Stateful Relay V1.3
Release version: v1.0.0-stateful-relay.3
What it is
Stateful Relay V1 is a durable mailbox between GPT and a native Codex session. It stores task intent, Codex results, notification state, and review lineage without requiring users to copy an entire project between agents.
Related MCP server: mcp-local-files
Architecture
GPT <-> Stateful Relay <-> Codex
|
+---- Read-only Bridge ----> Project inspection
Codex ----------------------> Project executionGPT owns planning, instruction, and review. Codex owns project inspection and execution in its normal trusted environment. Relay owns durable task/result/ notification state. The Operator UX is only a bounded facade over that state.
Manual workflow
GPT: dispatch
Codex: inbox
Codex: report
GPT: results
GPT: reviewRecovery is explicit through resume and status. A task is not automatically
reclaimed, retried, reviewed, or executed in the background.
Reliability
append-only TASK / RESULT / REVIEW lineage
durable notifications
claim leases and generation fencing
stale-claim recovery
result delivery recovery
restart durability
deterministic recovery summaries
exact task/result preservation
Operator API
GPT commands:
dispatchresultsresumestatus
Codex commands:
inboxreport
Phrase aliases are deterministic and bounded. Ambiguous conversation does not dispatch a task. Trusted project aliases are configured by the server-side deployment and never resolve caller input directly to a filesystem path.
MCP deployment adapter
The public MCP entry point is mcp-server.mjs. It retains the five bounded
project read tools and exposes read-only dispatch, the separately gated
dispatch_bounded_write, and results for the Stateful Relay operator.
V1.3 bounds dispatch to classroom, investment, exam, and
second_brain, with execution_mode=read_only; bridge remains read-only and
cannot dispatch. Logical enablement comes from a deployment-owned execution
registry, while physical roots remain in the native consumer's trusted mapping.
dispatch_bounded_write accepts only the frozen Stateful Relay
Orchestrator Skill v1 installation operation; its project, target scope, and
trusted Skill root and fixed Skill leaf are server-side fixed, and callers cannot pass paths,
cwd, commands, shells, processes, or arbitrary prompts. Both dispatch paths
create durable Relay tasks but never launch Codex. See
MCP_DEPLOYMENT_ADAPTER.md for the deployment contract.
The deployment config names only an existing canonical trusted Skill root; the
operation owns the fixed stateful-relay-orchestrator/ leaf. The first native
bounded-write consumer is deliberately a disposable E2E fixture mailbox. It is started separately with
npm run bounded-write-mailbox-consumer -- --once, uses only deployment-owned
configuration, and writes no real Skill content itself. The normal Native Codex
session performs the one fixture write. Relay verifies the exact fixture bytes
and returns the correlation, scope, mutation, and expected-write evidence
through results.
The formal installer is a separate one-shot Native Codex consumer,
stateful-relay-native-skill-installer.mjs, and is not the fixture consumer.
When explicitly authorized in a later gate, it loads only the frozen Skill
payload, stages it under the deployment-owned root, atomically creates the fixed
stateful-relay-orchestrator/ leaf, and returns exact before/after manifest
evidence. A successful formal result consumes the durable one-time bounded-write
capability instance. The instance is atomically consumed before any filesystem
mutation, remains terminal across crashes and failures, and cannot be re-armed;
a retry requires a new capability instance and authorization. The deployment
must then run with
STATEFUL_RELAY_BOUNDED_WRITE_ENABLED=false. This enablement gate does not run
that consumer and does not mutate the formal Skill target. The readback verifier
is read-only and independently compares the fixed leaf against the frozen
payload; it does not add a write capability.
Security boundary
Relay does not spawn Codex.
Relay cannot perform arbitrary project-file writes; bounded Skill writes are deployment-gated and executed only by the separately configured Native Codex mailbox session.
The read-only Bridge has no project-write primitive.
Operator calls do not accept arbitrary paths, executables, shells, environments, credentials, or claim authority.
The MCP/Relay process does not directly spawn Codex. A deployment-owned, on-demand one-shot launcher may start the fixed Native read-only executor only after an exact durable wake correlation; it processes at most one task and never reviews, dispatches, or polls for unrelated work.
Local credentials, runtime state, machine hashes, and disposable databases are deployment-local and are not public source content.
Known limitations
Windows Auto-start and Native wakeup require separate owner-scoped deployment configuration and are not installed merely by installing this package.
There is no automatic review.
Git/worktree deployment depends on the owner execution context.
Native execution requires a deployment-pinned official Codex runtime and a fixed owner authentication authority.
This V1 is not a fully autonomous agent loop.
The Relay-spawn execution path is deprecated and is not part of Stateful Relay V1.
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
- FlicenseAqualityCmaintenanceA secure MCP server that exposes local repository context to ChatGPT/Codex with read-only access, path validation, and no generic shell.17
- AlicenseNot gradedqualityFmaintenanceEnables ChatGPT/Codex to read, search, and edit files in a single allowed folder on Windows through OpenAI Secure MCP Tunnel.ISC
- FlicenseBqualityBmaintenanceA local MCP server that bridges ChatGPT to a Windows PC, offering filesystem, shell, Git, and diagnostic tools via a secure tunnel.171
- AlicenseNot gradedqualityCmaintenanceLocal MCP server enabling Codex and ChatGPT to read/write files, execute commands, manage processes, use Git, and inspect images on the user's machine with full privileges.Apache 2.0
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
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/yipp2025-codex/local-codex-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server