Status: proposal for decision (voicebox-beads-cwx5.12). Written 2026-11-12.
Voicebox Mini-Apps are interactive HTML pages that the voice assistant can drive through tools. Two public standards now cover neighbouring ground: WebMCP (a page registers tools for an agent) and MCP Apps (an MCP server ships a UI that a host renders). This page compares all three and recommends what Voicebox should do before launch.
Mini-Apps are a WebMCP-shaped system, not an MCP Apps-shaped one. The Mini-App itself owns the tools and the model calls into the page. In MCP Apps the server owns the tools and the page is a view onto them. These are opposite directions, so “should Mini-Apps be MCP Apps?” has two different answers:
ui:// resources from MCP servers. Voicebox already has the hard part, the double-iframe sandbox.flowchart LR
subgraph VB["Voicebox Mini-App today (WebMCP-shaped)"]
direction LR
M1["Voice model"] -->|"calls tool"| H1["Voicebox host"]
H1 -->|"call_tool over MessagePort"| A1["Mini-App page<br/>owns the tools"]
A1 -->|"register_tool"| H1
end
subgraph MA["MCP Apps"]
direction LR
M2["Model"] -->|"tools/call"| H2["Host"]
H2 -->|"tools/call"| S2["MCP server<br/>owns the tools"]
H2 -->|"tool-input, tool-result"| V2["View iframe"]
V2 -->|"tools/call, ui/message,<br/>ui/update-model-context"| H2
end
| Voicebox Mini-Apps | WebMCP (draft, Chrome origin trial) | MCP Apps (spec 2026-01-26) | |
|---|---|---|---|
| What an app is | An .html file on the host shelf or in the workspace |
Any web page | A ui:// resource served by an MCP server, MIME text/html;profile=mcp-app |
| Who defines tools | The page | The page | The server. A view may only call them |
| Registration API | document.modelContext.registerTool({name, description, inputSchema, execute}, {signal}); window.webMcp kept as an alias |
document.modelContext.registerTool({name, description, inputSchema, execute, annotations}, {signal}) |
Server tools/list, tool carries _meta.ui.resourceUri |
| Unregistering | Abort the signal |
Abort the signal |
Server listChanged |
| Tool result | Any JSON value, 64 KiB cap | A string | MCP content and structuredContent |
| Schema dialect | Strict allowlisted subset of JSON Schema, max 16 tools | JSON Schema | JSON Schema |
| Transport | Custom messages over a private MessagePort (register_tool, call_tool, tool_result) |
Browser-internal | JSON-RPC over postMessage (ui/initialize, ui/notifications/tool-input, tools/call, …) |
| Sandbox | Same-origin bridge iframe wrapping an inner sandbox="allow-scripts" opaque-origin iframe |
The page’s own origin | Web hosts must use a sandbox proxy iframe on a different origin wrapping the view |
| Network policy | Default-deny CSP on the inner frame; the app declares connectDomains and resourceDomains and the user allows them once per app; host /api only through a policed relay |
Normal page rules | Declared per resource: _meta.ui.csp.connectDomains, resourceDomains; default deny |
| Device permissions | allow="autoplay" only |
Normal page rules | Declared: camera, microphone, geolocation, clipboardWrite |
| App talks to the model | Yes: voicebox.sendMessage and voicebox.updateModelContext, framed as the app’s and rate-limited |
No | Yes: ui/message and ui/update-model-context |
| Host pushes data to the app | Only as tool-call arguments | Only as tool-call arguments | Yes: streamed tool input, tool result, host context (theme, size) |
| Display modes | Pop-over window, collapse, full screen, set by the host | n/a | inline, fullscreen, pip, requested by the view |
| Runs elsewhere | Only in Voicebox | Any WebMCP-capable browser agent | Claude, VS Code Copilot, Goose and other MCP Apps hosts |
voicebox.sendMessage and voicebox.updateModelContext. A Mini-App has no way to tell the model that the user clicked something. A game cannot say “the player lost”, and a form cannot submit. MCP Apps has ui/message and ui/update-model-context for exactly this. For a voice product this is the largest functional gap.srcdoc and the server’s CSP is report-only, so a Mini-App could load or beacon to any origin. MCP Apps makes the app declare its origins and denies by default./api routes through the bridge (voicebox-beads-j6im). MCP Apps has no equivalent: a view can only call tools the host chooses to expose with visibility: ["app"].document.modelContext.registerTool with inputSchema and abort signals. window.webMcp with parameters matches no published draft. WebMCP now uses document.modelContext and inputSchema, with navigator.modelContext deprecated in Chrome 150.In order, with the first three before launch:
document.modelContext.registerTool (and the deprecated navigator.modelContext alias) into the inner frame, accept inputSchema, honour the abort signal, and accept string results. Keep window.webMcp and parameters as a deprecated alias so existing apps keep working. The pitch for the announcement becomes “a Mini-App is a WebMCP page”.callHostTool(name, args) channel limited to an allowlist the user can see, modelled on MCP Apps’ visibility: ["app"]. This closes j6im by design instead of by filtering.connectDomains, resourceDomains and permissions using the MCP Apps field names, and inject a matching CSP <meta> into the srcdoc. No declaration means no network.sendMessage(text) and updateModelContext(data), mapped onto the live session, with the same semantics as ui/message and ui/update-model-context._meta.ui.resourceUri, render it in the existing Mini-App window by speaking the ui/* JSON-RPC dialect from the bridge. The catalogue already has mcp-server-local.json and mcp-server-remote.json entries to build on.ui:// resource. This only works well once step 4 exists, because page-owned tools have no direct MCP Apps equivalent: the spec reserves an appCapabilities.tools field but does not yet define view-side tools/list or tools/call.Nothing, if the old window.webMcp names are kept as aliases. Step 2 changes behaviour for any Mini-App that uses the fetch relay; the three built-in apps in public/apps/ need checking. Step 3 breaks any existing Mini-App that loads a script, font or image from a CDN, or calls an outside API, until it declares the origin and the user allows it; the room names the blocked origin so the fix is obvious.
17-mini-apps-architecture.md, public/mini-app-sdk.js, public/mini-app-bridge.js, core/mini-app.ts