MCP Ecommerce
Shopify logo

Installation guide

How to install Shopify Storefront MCP

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

Shopify's documentation says the catalog and cart tools on the old `https://{shop}/api/mcp` endpoint were removed. The same capabilities now live on Universal Commerce Protocol (UCP) at `https://{shop}/api/ucp/mcp`, with Shop MCP as the recommended route for third-party assistants. This guide covers connecting to the UCP endpoint, which is hosted by Shopify, so nothing is installed locally. Replace `{shop}` with the store's domain.

A developer or agency technical lead should do this, working with the merchant who owns the store. The documentation does not describe a sign-in flow for catalog reads, but it says every request to `/api/ucp/mcp` must include an agent profile, and Checkout MCP requests must be authenticated or signed. Merchants who only want AI chat on their store without code should use the Inbox agent in Shopify Inbox instead.

Shopify Storefront MCP setup guide: Shopify's MCP documentation page on shopify.dev, shown in a browser frame (store platform MCP server for e-commerce)
Shopify Storefront MCP setup guide preview: Shopify’s documentation on shopify.dev, captured Nov 26, 2026. The page may have changed since; the link opens the live version.

Before you start

  • The store's domain, to substitute for {shop} in https://{shop}/api/ucp/mcp.
  • Shopify's migration page and the Shop MCP and UCP docs open, so you can take the exact agent profile format from them.
  • An MCP client that can add a remote server by URL and can send the required agent profile with each request.
  • A developer with access to the store setup. Keep the first session read-only (catalog search and policy questions).
  • Catalog and policy content already reviewed, since assistants answer from it.
How it runs
Remote, added by URL
Access
Varies by tool
Server address
https://{shop}/api/ucp/mcp

Shopify Storefront MCP in Claude

  1. Open Claude.ai or the Claude Desktop app and go to Settings > Connectors.
  2. Choose the option to add a custom connector by URL.
  3. Enter https://{shop}/api/ucp/mcp with your real store domain in place of {shop}.
  4. The docs do not cover Claude, and they require an agent profile on every request. Check Shopify's Shop MCP and UCP docs for how to supply it, because a plain URL connector may not send one.
  5. Save the connector and enable it in a new chat.
  6. Run a read-only prompt such as a product search to confirm it responds.
Connector URL
https://{shop}/api/ucp/mcp

Shopify Storefront MCP in ChatGPT

  1. In ChatGPT, enable Developer mode under the connectors settings, as OpenAI describes for custom MCP connectors.
  2. Add a new custom connector and paste https://{shop}/api/ucp/mcp with your store domain substituted.
  3. The Shopify docs do not cover ChatGPT. Take the agent profile requirements from Shopify's docs and confirm ChatGPT can send them.
  4. Save the connector and enable it for a new conversation.
  5. Ask a read-only catalog question to test, and avoid cart changes until you have supervised a first run.
Connector URL
https://{shop}/api/ucp/mcp

Shopify Storefront MCP in Gemini

  1. Open the Gemini CLI settings file that holds mcpServers.
  2. Add an entry with url set to https://{shop}/api/ucp/mcp, using your store domain.
  3. The docs do not cover Gemini. Check Shopify's UCP docs for the agent profile that each request must include and how to send it.
  4. Restart Gemini CLI so it reloads the server list.
  5. Run a read-only product search to confirm the tools respond.
settings.json (mcpServers)
{
  "mcpServers": {
    "shopify-ucp": {
      "url": "https://{shop}/api/ucp/mcp"
    }
  }
}

Shopify Storefront MCP in Microsoft Copilot

  1. For GitHub Copilot in VS Code, create or open .vscode/mcp.json in your workspace.
  2. Add a server under servers with the URL https://{shop}/api/ucp/mcp, using your store domain.
  3. For Microsoft Copilot Studio, add an MCP tool or custom connector with the same URL. The docs do not cover either product.
  4. Take the required agent profile format from Shopify's UCP docs and confirm your setup sends it on every request.
  5. Start the server from the editor and run a read-only catalog query.
.vscode/mcp.json
{
  "servers": {
    "shopify-ucp": {
      "type": "http",
      "url": "https://{shop}/api/ucp/mcp"
    }
  }
}

Shopify Storefront MCP in Perplexity

  1. Open the Perplexity desktop app and go to its connectors settings.
  2. Add a custom remote connector if your plan offers it, and enter https://{shop}/api/ucp/mcp with your store domain.
  3. The Shopify docs do not cover Perplexity. Check Shopify's docs for the agent profile every request needs, and whether Perplexity can send it.
  4. Save the connector and enable it for a new thread.
  5. Ask a read-only question about a product or return policy.
Connector URL
https://{shop}/api/ucp/mcp

Shopify Storefront MCP in Cursor

  1. Open Cursor's MCP settings, or edit .cursor/mcp.json in your project.
  2. Add an entry under mcpServers with url set to https://{shop}/api/ucp/mcp.
  3. The docs do not cover Cursor. Take the agent profile requirement from Shopify's UCP docs and confirm how your setup includes it.
  4. Save the file and confirm the server shows as connected in the MCP settings.
  5. Test with a read-only catalog search.
mcp.json
{
  "mcpServers": {
    "shopify-ucp": {
      "url": "https://{shop}/api/ucp/mcp"
    }
  }
}

Shopify Storefront MCP in Claude Code

  1. Open a terminal in the project where you want the server available.
  2. Run the claude mcp add command with the HTTP transport and your store domain in place of {shop}.
  3. The docs do not cover Claude Code. Check Shopify's UCP docs for the agent profile each request must carry.
  4. Run claude mcp list to confirm the server is registered.
  5. Start a session and run a read-only catalog query.
Terminal
claude mcp add --transport http shopify-ucp https://{shop}/api/ucp/mcp

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • Search the catalog for a product type we sell and list the top three results with price and availability.
  • Look up the full details for one specific product by name, including variants, and tell me which fields are empty.
  • Ask the business what its return and shipping policies are, and quote the policy text you found.

Troubleshooting

+

Why does `https://{shop}/api/mcp` return an error or no tools?

Shopify's docs state the catalog and cart tools on `/api/mcp` were removed. Point your client at `https://{shop}/api/ucp/mcp` instead, or use Shop MCP. The docs also say the Customer Accounts MCP server is unchanged and documented separately.

+

Why are my requests to `/api/ucp/mcp` rejected?

The docs say every request to `/api/ucp/mcp` must include an agent profile. Many generic clients send only a bare URL request. Take the exact profile format from Shopify's UCP documentation and check that your client or wrapper sends it. Checkout MCP also requires authenticated or signed requests.

+

Why did my cart lose items after an update?

Per the docs, each `update_cart` request replaces the full cart. Send every line item and field you want to keep. Carts are created with `create_cart`. Treat cart and checkout actions as write access and test them only in supervised sessions.

Written Nov 26, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers

Questions readers and searchers ask about installing Shopify Storefront MCP, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.