Storefront MCP's get_cart / update_cart is being deprecated. Migrate to the UCP-compliant Cart MCP (new endpoint /api/ucp/mcp). The old tools remain available until August 31, 2026 .
get_cart / update_cart will work until August 31, 2026, but after that all documentation will assume the new tools.
https://{shop}.myshopify.com/api/mcp 's get_cart / update_cart is affected.
https://{shop-domain}/api/ucp/mcp. Implements the UCP cart features dev.ucp.shopping.cart(version 2026-04-08).
The old tools are maintained until this date. Migration must be completed by then.
dev.ucp.shopping.cart(version 2026-04-08). It adds what the old tools lacked, create_cart / cancel_cart covering the entire lifecycle.
| Item | Old: Storefront MCP | New: UCP Cart MCP |
|---|---|---|
| Endpoint | https://{shop}.myshopify.com/api/mcp |
https://{shop-domain}/api/ucp/mcp |
| Tools | 2 types get_cart / update_cart | 4 types create / get / update / cancel |
| Compliant spec | Shopify proprietary | UCP dev.ucp.shopping.cart(2026-04-08) |
| meta object | Not documented | On every request, ucp-agent.profile is required. cancel also idempotency-keyneeds a (UUID). |
| Meaning of update | Not documented | PUT Full replacement (send all line_items every time) |
| Support deadline | Until 2026-08-31 | The future standard |
get_cart / update_cart Point the calls to /api/ucp/mcp the Cart MCP tools.
ucp-agent.profile Always include it.cancel_cart For idempotency-keya (UUID) too.
update_cart is a full replacement. Every time the complete line_items arrayeach time.
Review the new request/response schemas for all cart tools and align your app.
shopify.dev/docs/agents/carts-and-checkout/cart-mcp). The migration grace period runs until August 31, 2026 .meta["idempotency-key"] Put a UUID in it. It's a safeguard against double cancellation on retries.Cart operations now conform to UCP dev.ucp.shopping.cart(2026-04-08). A move to align agent integration with a cross-vendor standard.
The old set had only get/update. The new one adds create_cart / cancel_cart, covering the full cart lifecycle.
A state replacement, not a diff patch. You need to redesign the client to assemble the complete line items.
on every request ucp-agent.profile. cancel also needs idempotency-key(UUID). Preparing a single shared request wrapper makes this easier.
The old tools are maintained until this date, but after that all documentation assumes the new tools. Identify the endpoint URL (myshopify.com/api/mcp → {shop-domain}/api/ucp/mcp) and schema differences and switch over before the deadline.
/api/ucp/mcp). Handle all cart operations with the four tools: create/get/update/cancel.meta.ucp-agent.profile is attached automatically. Only cancel generates and injects a UUID idempotency key./api/mcp) and tool names makes them easy to find. After migrating, add integration tests against the new schema to CI./api/ucp/mcp, with 4 tools: create/get/update/cancel).