Repository navigation
Host standard MCP Apps inline in desktop conversations - #3700
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
reachjalil
force-pushed
the
codex/mcp-apps-host
branch
from
August 12, 2026 09:34
a50df72 to
34a511c
Compare
reachjalil
force-pushed
the
codex/mcp-apps-host
branch
from
August 12, 2026 09:44
34a511c to
0f3f9eb
Compare
reachjalil
force-pushed
the
codex/mcp-apps-host
branch
from
August 12, 2026 11:02
0f3f9eb to
c796b16
Compare
reachjalil
force-pushed
the
codex/mcp-apps-host
branch
from
August 12, 2026 11:11
c796b16 to
b096866
Compare
reachjalil
force-pushed
the
codex/mcp-apps-host
branch
from
August 12, 2026 11:13
b096866 to
dccc9e6
Compare
Contributor
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (dccc9e66f22e918baa20a07bb5f0c0b9fcc4d00b). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
reachjalil
enabled auto-merge (squash)
August 12, 2026 14:14
This branch was successfully deployed
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
Adds the desktop/web host needed to render standard MCP Apps attached to configured remote MCP tools.
content,structuredContent, and result metadata in completed tool parts_meta.ui.resourceUriui://resources through the originating configured MCP server and requirestext/html;profile=mcp-appStable MCP Apps host boundary
The host follows the stable 2026-01-26 MCP Apps flow:
Content-Security-Policyui/notifications/sandbox-resource-readyallow-scripts allow-same-originiframeThe direct
srcdochost path has been removed. Local desktop builds use the equivalentlocalhost/127.0.0.1origins for isolation; non-local deployments fail closed if the configured OpenWork server would share the host origin.Remote MCP egress uses the existing guarded transport: HTTPS in production, DNS/address validation at the socket boundary, guarded redirects, and no credential forwarding across origins. Loopback HTTP remains available only in explicit development mode.
The host rejects full documents containing markup before the policy-bearing
<head>, applies deny-by-default resource CSP, keeps MCP credentials server-side, and enforces resource, result, catalog, pagination, height, and event-rate limits. Device permissions, dedicated app origins, sampling, downloads, external links, write tools, and stdio resource resolution are not granted in this slice.Compatibility with generated Artifact views (#3715)
The exact #3700 and #3715 heads are independently rebased onto the same
devhead and merge without source conflicts. Together they provide:structuredContentresources/readBoth sides enforce the same 512 KiB HTML ceiling.
Verification
git diff --checkThe opt-in Testkit journey remains available for a full packaged-app visual pass; that broader proof is separate from the focused contract and security checks above.
Current compatibility
Supports configured remote Streamable HTTP MCP servers with legacy SSE fallback. The Den
openwork-cloudMCP used by #3715 is a configured runtime MCP and its server-side bearer headers stay on the server. Command/stdio MCP resources and separately vault-managed OAuth credential adapters remain follow-ups; the fallback transcript continues to work for them.Base:
396a6e3141e302a230f2319afc45c2e855e79606Head:
dccc9e66f22e918baa20a07bb5f0c0b9fcc4d00b