2026-01-26). A card is presentation only: the tool returns the same text and structuredContent to every host, and a host without MCP Apps loses nothing.
What is served
Each tool advertises its card as
_meta.ui.resourceUri and, for ChatGPT, as _meta["openai/outputTemplate"] with the same URI. resources/list and resources/read return the cards with MIME type text/html;profile=mcp-app, behind the same authentication as tools/*.
What a card may do
- Render the tool’s
structuredContent, writing data only throughtextContent. - Call
approval.inspect,operation.inspectorroom.listthrough the host’stools/call(Refresh, Next page). The host authorizes those calls like any other. - Tell the model what the user now sees, with
ui/update-model-context. - Open a link into AG2 Space.
Approval view
Shows the server-owned decision state of a held Action and an Open in AG2 Space link tohttps://ag2.space/home/<room id>, where the owner decides. Refresh re-calls approval.inspect.
Operation view
Shows the operation id and state, what to do next, and the result. It is the fallback for anyroom.action.execute result that is neither held nor a Summon.
Summon view
When the executed Action isroom.commons.summon, the card shows who was summoned, the page or surface, the quoted context and a state pill (sent, sending, pending approval, approved, failed). Its link opens the exact page:
?surface=<kind>.
Building a host
The cards speak the MCP Apps JSON-RPC dialect overwindow.parent.postMessage: ui/initialize, then ui/notifications/initialized; the host sends ui/notifications/tool-input, ui/notifications/tool-result, ui/notifications/host-context-changed and ui/resource-teardown. If window.openai globals are present before the standard handshake completes, the cards use them as a fallback.