Skip to content

Advertise MCP App UI support to Codex Apps#31435

Closed
martinauyeung-oai wants to merge 5 commits into
mainfrom
martinauyeung/codex-widget-ui-capability
Closed

Advertise MCP App UI support to Codex Apps#31435
martinauyeung-oai wants to merge 5 commits into
mainfrom
martinauyeung/codex-widget-ui-capability

Conversation

@martinauyeung-oai

@martinauyeung-oai martinauyeung-oai commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Work hosts that can render MCP App WebViews now advertise the trusted io.modelcontextprotocol/ui capability during Codex Apps initialize and every codex_apps tools/call. The capability is parsed from app-server initialize, scoped to trusted widget-capable hosts, stripped/replaced when callers spoof reserved metadata, and carried request-scoped through turns, reviews, direct MCP calls, and realtime handoffs so mixed clients cannot cross-contaminate runtime selection. Tests cover parsing/spoof stripping, downstream metadata, runtime rebuild/isolation, and realtime routing.

@martinauyeung-oai

Copy link
Copy Markdown
Contributor Author

duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant