Skip to main content

Build commerce agents with UCP

Build unified agentic experiences that securely act on behalf of buyers with the Universal Commerce Protocol (UCP) and Shopify's UCP-compliant MCP servers.

Install the UCP CLI and Shopify AI Toolkit plugin for your supported AI tool. Built for agent workflows, the CLI provides structured commands to search the Catalog, build carts, create checkouts, hand off buyers, and track orders. The toolkit's ucp skill helps agents apply UCP best practices against each merchant's live schema.

Before you install, make sure you have Node.js 18 or higher. The toolkit is supported on any agent that supports the skills format.

Terminal: Install the UCP CLI

npm install -g @shopify/ucp-cli

Claude Code: Enable marketplace

/plugin marketplace add Shopify/shopify-ai-toolkit

Claude Code: Install plugin

/plugin install shopify-plugin@shopify-ai-toolkit

One Cart, every brand. The Universal Cart API lets AI agents collect items from any merchant, on or off Shopify, into a single, unified cart, all via UCP.

Universal Cart.
The four-stage agentic commerce buyer journey: discovery, cart, checkout, and orders, connected by dashed arrows.

Anchor to How Shopify does UCPHow Shopify does UCP

Shopify's MCP tools implement UCP at every step of the buyer journey:

  • Negotiate and authenticate: Identify your agent and get the right access tier.
  • Discover products: Search across hundreds of millions of Shopify listings.
  • Carts and checkout: Build carts, convert them to checkouts, and hand off to the merchant for payment.
  • Monitor orders: Receive order webhooks and fetch fresh order state on demand.