Shopify Fall ’26: Consumer Shop MCP, WASI CLI and off-Shopify SpendRequests
Inside Shopify’s 19-tool consumer Shop MCP, Skills-over-MCP discovery, WASI CLI (shop.wasm), virtual-card SpendRequests, and HTML-in-Canvas Expo Mode.
- Discovery + Skills-over-MCP
- Shop cart / checkout or SpendRequest
- Confirmed payment or virtual card
Investigation question
How do Shopify’s consumer mcp.shop.com endpoint and @shopify/shop WASI CLI let personal AI agents search catalogs, complete Shop Pay checkouts, and pay off-Shopify merchants without exposing raw payment credentials to model stdout?
Observed
Unauthenticated OAuth discovery on https://mcp.shop.com/.well-known/oauth-protected-resource paired with binary/tarball inspection of @shopify/shop@1.2.0 (lib/shop.wasm compiled from Rust crates/shop-core and crates/shop, com.shop/shop v1.2.0+7a521063c268) establishes a 19-tool JSON-RPC MCP surface (2026-07-28) plus Skills-over-MCP (io.modelcontextprotocol/skills: server/discover, skills/list, skills/get, resources/read). Authentication uses accounts.shop.app/oauth/device with the personal_agent scope, while catalog (search_catalog, lookup_catalog, get_product) and retail store location (search_locations, lookup_locations) tools work keylessly. Beyond Shopify carts and Shop Pay checkouts, five spend_request tools (create_spend_request, get_spend_request, update_spend_request, cancel_spend_request, complete_spend_request) broker buyer-approved single-use virtual cards for off-Shopify merchants. Separately, Shopify’s Fall ’26 Editions showcase uses WICG HTML-in-Canvas (<canvas content="drawable" layoutsubtree>) to rasterize live accessible DOM subtrees into WebGPU shaders.
Inferred
Compiling the consumer shopping CLI to a single WASI module (shop.wasm) gives identical JSON Schema validation (--schema), local --dry-run checks, RFC 6902 guarded --patch semantics (requiring a preceding test op on /line_items/N/id), and Markdown budget formatting (json_budget.rs) across Node and agent runtimes while keeping remote business rules on mcp.shop.com. Writing get_spend_request --include card output to an exclusive 0600 (O_CREAT | O_EXCL | O_NOFOLLOW) file and emitting only credential_output_file on stdout prevents single-use card PANs from entering LLM context windows.
Unknown & limitations
No live Shop Pay purchase, buyer personal_agent device-code grant, or virtual-card SpendRequest was executed. Issuer card-network routing, per-buyer spend velocity limits, merchant risk scoring, and browser flag rollout timelines for WICG <canvas layoutsubtree> remain outside static package and public protocol inspection.
Architecture
Shopify separates merchant-scoped UCP (https://{shop}.myshopify.com/api/ucp/mcp, 13 tools) from buyer-scoped https://mcp.shop.com/ (19 tools). Personal AI agents authenticate once via RFC 8628 device authorization (accounts.shop.app/oauth/device, scope personal_agent) and dynamically load procedural shopping playbooks over MCP itself via the io.modelcontextprotocol/skills capability extension rather than baking brittle prompt rules into every client.
Domain & data models
Cart and checkout mutations (update_cart, update_checkout) use full-document replacement on the wire, whereas @shopify/shop@1.2.0 adds client-side RFC 6902 JSON Patch translation gated by mandatory test assertions. Off-Shopify SpendRequest objects model { business, currency, totals, approval_limit, context: { intent }, line_items }; reading get_spend_request without include polls pending/approved status, while include: "card" transitions the record to consumed to release the single-use virtual card.
Workflows & state machines
Two safety workflows stand out: (1) Shopify-native checkout requires complete_checkout to pass an explicitly selected, buyer-confirmed payment instrument (confirmed_instrument_with_selected_true) for single-attempt submission; (2) off-Shopify agent checkout creates a SpendRequest with an explicit approval_limit, waits for buyer approval (--wait 90), writes the issued virtual card to a 0600 file (--output-file), and reports terminal merchant order metadata or failure_code back through complete_spend_request.
API & protocol surfaces
POST https://mcp.shop.com/ exposes 19 tools across 6 groups: Catalog (search_catalog, lookup_catalog, get_product), Retail Locations (search_locations, lookup_locations), Cart (create_cart, get_cart, update_cart), Checkout (create_checkout, get_checkout, update_checkout, complete_checkout), Buyer Account (get_account, search_orders), and Off-Shopify Spend Requests (create_spend_request, get_spend_request, update_spend_request, cancel_spend_request, complete_spend_request), mirrored 1:1 in @shopify/shop@1.2.0 (shop search, shop cart, shop checkout, shop spend-request, --schema, --dry-run, --format md).