Skip to main content

Build shopping into your agent

Bring product discovery, checkout, and order history into your agent or app with Shop MCP. Help buyers shop from Shopify merchants, from their first search to their next purchase.

Anchor to From product discovery to purchaseFrom product discovery to purchase

With Shop MCP, bring the shopping journey into your agent or app, from product discovery and carts to checkout and order history. You don't need an API key or a custom UCP profile.

  • Find the right products: Search the catalog and view product details without buyer sign-in. With Shop sign-in, use the buyer's saved preferences to help find products that fit.
  • Build a cart: Add and update products as buyers decide what to buy. Create a checkout when they're ready, with one checkout per merchant.
  • Complete the purchase: Without Shop sign-in, buyers review and pay on the merchant's checkout page. With Shop sign-in, your agent completes checkout after the buyer confirms the total and selects a payment method.
  • Check order history: After a buyer signs in with Shop, search their Shop-tracked orders to answer questions in the same conversation.

Learn what your agent can do with Shop MCP, or compare integration options.

The shopping journey: product discovery, cart, checkout, and orders.

Most agents and apps should start with Shop MCP, Shopify's hosted Model Context Protocol (MCP) server:

  • Shop MCP: Use to search products, build carts, check out, accept Shop Pay, personalize results, view order history, or earn commission on sales. Shop MCP can be used whether buyers sign in with Shop, connect your platform's accounts to their Shop accounts, or shop without sign-in.

Depending on your platform's needs, other options for agents include:

  • UCP directly: The Universal Commerce Protocol (UCP) is an open standard for agents to shop on behalf of buyers. Use UCP directly to identify buyers only through your platform's accounts, without asking them to connect a Shop account.
  • Global Catalog or Storefront Catalog: Global Catalog and Storefront Catalog are MCP servers for product discovery across Shopify merchants and within a single merchant's storefront, respectively. Use these catalog tools to replace Shopify's product ranking with your own, using Shopify product data. Sorting or filtering Shop MCP results doesn't require this.
  • Catalog API: The Catalog API provides direct access to Shopify's Global Catalog for product search. Use it to search products when you don't need accounts, carts, or checkout.

When you use UCP directly, your platform manages buyer identity, consent, any custom product ranking, and order reconciliation. Completing checkout within your agent requires Shopify's permission. Without that permission, buyers complete their purchase on the merchant's checkout page.

Shop MCP handles these parts of the integration for you. It's the recommended starting point for most agents and apps. Learn how to connect your agent to Shop MCP.

An illustrated product search using search_catalog, with product results in a shopping conversation.

Was this page helpful?
⌂ 换网址