Library / protocol / Coinbase MCP App & SEP-1865 Hosts

Coinbase MCP App & SEP-1865: Host sandboxes, _meta isolation and Skybridge lock-in

Cross-host SEP-1865 MCP Apps teardown comparing ChatGPT, Claude, and Antigravity sandboxes alongside Coinbase’s 31-action ChatGPT plugin: visibility=["app"] tool gating, _meta confirmationToken isolation, check_status idempotency, Skybridge lock-in, and wallet-mcp approvalUrl fallback.

Contract model · conceptual sequence, not a claim about internal deployment
  1. Triple _meta + inline HTML across 3 desktop hosts
  2. _meta confirmationToken + visibility=["app"] execute
  3. check_status idempotency + Skybridge vs SEP-1865
01 / EMPIRICAL RECORD

Investigation question

How do OpenAI ChatGPT/Codex, Anthropic Claude, and Google Antigravity sandbox SEP-1865 MCP App widgets differently, and how does Coinbase’s ChatGPT confirmation-card plugin isolate HMAC confirmation tokens from LLM context while remaining locked to window.openai?

02 / EMPIRICAL RECORD

Observed

Comparing the SEP-1865 (@modelcontextprotocol/ext-apps 2026-01-26) specification, public OpenAI Apps SDK documentation, Coinbase agent documentation and OAuth protected-resource discovery (agents.coinbase.com/mcp vs /mcp/chatgpt), and static inspection of shipped desktop host runtimes maps sharp cross-host portability limits. While ChatGPT, Claude, and Antigravity all resolve ui:// HTML resources via _meta.ui.resourceUri (falling back to _meta["ui/resourceUri"]), only ChatGPT supports _meta["openai/outputTemplate"] and its dual window.openai Skybridge shim (5s ui/initialize timeout, merging csp.resourceDomains into connect-src). Claude Desktop enforces a closed Electron webRequest.onBeforeRequest network kill switch (default-src "none", 256 KiB postMessage cap, user-activation gating on ui/message), and Antigravity’s Go host enforces strict ui:// validation (rejecting openai/outputTemplate), 10 MiB resource / 1 MiB result / 4 concurrent call / 800 px inline height caps, and omits ui/resource-teardown completely. Inspecting Coinbase’s ChatGPT plugin endpoint (https://agents.coinbase.com/mcp/chatgpt, distinct from generic allowlisted https://agents.coinbase.com/mcp which carries no confirmation cards) shows 31 actions split into 20 public reads, 4 preview card triggers, 1 dual ["app", "model"] order poller, and 6 visibility=["app"] private execution/refresh tools—delivering an HMAC coinbase/confirmationToken solely in _meta (stripped from model structuredContent) and exposing check_status: true for network-ambiguity recovery, yet invoking zero SEP-1865 JSON-RPC calls inside its 633 KB bundle.

03 / EMPIRICAL RECORD

Inferred

Four engineering requirements govern portable financial MCP Apps: (1) ship a single self-contained HTML document with zero external CDN scripts, stylesheets, or icon fetches (because Claude Desktop blocks non-mainFrame requests and Antigravity defaults to default-src "none"); (2) speak standard SEP-1865 JSON-RPC (@modelcontextprotocol/ext-apps) while emitting _meta.ui.resourceUri alongside legacy _meta["ui/resourceUri"] and _meta["openai/outputTemplate"] aliases; (3) isolate confirmation tokens in _meta, bind client_order_id at preview time, hide execute/refresh/cancel tools with visibility=["app"], support check_status: true on ambiguous timeouts, and persist receipts eagerly server-side because Antigravity omits ui/resource-teardown; and (4) recognize that headless TUI hosts without iframes need an out-of-band approval fallback like wallet-mcp.coinbase.com’s approvalUrl plus get_request_status polling.

04 / METHODOLOGICAL BOUNDARY

Unknown & limitations

This analysis covers public specifications, unauthenticated discovery metadata, documentation, and static host/widget bundle inspection; zero live trades were executed, and no private account identifiers, balances, or server-side HMAC signing keys were accessed.

05 / EMPIRICAL RECORD

Architecture

Cross-host MCP Apps pair ui:// resource bundles with JSON-RPC over postMessage/preload bridges inside host sandboxes (OpenAI web-sandbox.oaiusercontent.com double iframe, Claude *.claudemcpcontent.com / Electron WebContentsView, Antigravity SafeContentFrame on scf.usercontent.goog), while Coinbase separates allowlisted generic remote MCP (agents.coinbase.com/mcp) from its ChatGPT Skybridge endpoint (/mcp/chatgpt).

06 / EMPIRICAL RECORD

Domain & data models

Coinbase’s plugin partitions structuredContent (24 preview/price keys with non-localized decimal strings) from widget-only _meta (coinbase/confirmationToken, coinbase/widget, correlation_id); visibility=["app"] hides 6 execute/refresh/cancel tools from model tool calls while coinbase_orders_get uses ["app", "model"].

07 / EMPIRICAL RECORD

Workflows & state machines

Order confirmation flows through loading -> idle (background refresh_after_ms loop calling visibility=["app"] refresh with rotated HMAC token) -> expired (user-triggered follow-up prompt) or cancelled -> placed (polling coinbase_orders_get until terminal status) or unknown (recovering via check_status: true on client_order_id without duplicate orders).

08 / EMPIRICAL RECORD

API & protocol surfaces

SEP-1865 JSON-RPC methods (ui/initialize, ui/notifications/tool-result, tools/call, ui/update-model-context, ui/message, ui/open-link, ui/notifications/size-changed), ChatGPT Skybridge window.openai globals, agents.coinbase.com OAuth PKCE S256 (10 mcp:* scopes), and wallet-mcp.coinbase.com approvalUrl + get_request_status polling.