How an MCP App works
Model
Host
MCP server
Widget
The server exposes the UI as a ui://resource. The host renders it in a sandboxed iframe and relays tool input, results, and the widget's calls back over JSON-RPC.
AI text/layout recreation from video frame; verify against source image.