[codex] Prototype Codex Apps as virtual HTTP MCP servers#30000
Draft
aibrahim-oai wants to merge 1 commit into
Draft
[codex] Prototype Codex Apps as virtual HTTP MCP servers#30000aibrahim-oai wants to merge 1 commit into
aibrahim-oai wants to merge 1 commit into
Conversation
11b6cb0 to
d0a8930
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codex-appscrate that snapshots the shared Apps upstream and serves one authenticated loopback streamable-HTTP MCP endpoint per connectorWhy
Codex Apps are currently special-cased across MCP management. This prototype tests a cleaner boundary: Apps owns connector inventory, virtual servers, local authentication, and lifecycle; MCP management uses the ordinary configured streamable-HTTP path.
This remains intentionally unwired. The legacy production path stays intact. A production cutover still requires moving connector policy and trust, auth elicitation, file handling, approval metadata, cache and refresh behavior, progress and server notifications, long-name compatibility, and upstream lifecycle behind shared Apps-owned APIs.
Security and lifecycle
127.0.0.1:0Originrequests while retaining RMCP Host validationValidation
just test -p codex-apps(4 tests)just test -p codex-mcp(94 tests)just test -p codex-connectors(32 tests)just test -p codex-utils-string(19 tests)just test -p codex-exec-server reqwest_http_client(4 focused tests)just fix -pfor all five affected cratesjust fmtjust bazel-lock-updatejust bazel-lock-checkgit diff --check