← All articles

Shopify MCP Server: Complete Setup Guide for Claude & AI Agents

July 6, 2026·22 min read·MCPForge

Shopify MCP Server: Complete Setup Guide for Claude & AI Agents

Shopify now has official MCP server support — but "Shopify MCP server" means different things depending on what you're building. Before you copy a config snippet from a GitHub README, it's worth understanding exactly what exists, what it can do, and what it cannot.

This guide covers the full Shopify MCP ecosystem: Shopify's official Storefront MCP, the Shopify Dev MCP for AI coding agents, community implementations wrapping the Admin API, and how to choose the right tool for your specific workflow. It then walks through a complete, production-ready setup for the official Shopify Storefront MCP — including authentication, Claude Code integration, available tools, rate limits, security, and common errors.


Does Shopify Have an Official MCP Server?

Yes, Shopify has released official MCP server support — but there are two distinct official products, not one.

  1. Shopify Storefront MCP — A remote MCP server that exposes storefront data (products, collections, search) through the Shopify Storefront API. Designed for developers building AI-powered shopping experiences and for AI agents that need to query product catalogs.

  2. Shopify Dev MCP — A remote MCP server aimed at developers using AI coding agents like Claude Code or Cursor. It exposes Shopify developer documentation, Polaris component references, and development tooling to help AI assistants give accurate, Shopify-specific answers during app development.

These are separate servers with different purposes, different authentication models, and different capabilities. Neither one does what the other does. A common mistake is assuming a single "Shopify MCP server" handles everything from storefront queries to admin operations to coding assistance.


The Shopify MCP Ecosystem

Here's an honest map of everything currently available:

Official Shopify MCP Products

ProductPurposeTransportAuth Model
Shopify Storefront MCPAI agents querying storefront product dataRemote HTTP/SSEStorefront API access token
Shopify Dev MCPAI coding agents during Shopify app developmentRemote HTTP/SSEShopify Partner OAuth or public token

Community MCP Implementations

Several developers have published open-source MCP servers that wrap the Shopify Admin API, providing tools for order management, customer lookup, inventory, metafields, and other administrative operations that the official Storefront MCP deliberately does not expose.

These are not official Shopify products. They are community-built, maintained by independent developers, and should be evaluated accordingly before production use.


Comparison Table: Shopify MCP Solutions

SolutionOfficial?Primary Use CaseInstallation / ConnectionAuthenticationMCP Client SupportKey CapabilitiesBest For
Shopify Storefront MCP✅ OfficialAI shopping experiences, product discoveryRemote URL endpointStorefront API access tokenClaude Code, Cursor, any HTTP/SSE MCP clientProduct search, collections, variant data, storefront queriesDevelopers building AI storefronts, agents querying products
Shopify Dev MCP✅ OfficialShopify app development with AI coding agentsRemote URL endpointShopify Partner / publicClaude Code, Cursor, WindsurfPolaris docs, API reference, app scaffolding guidanceDevelopers building Shopify apps using AI coding assistants
Community Admin API MCP (e.g., github.com/pashpashpash/shopify-mcp)❌ CommunityStore admin automation via Admin APILocal stdio (Node.js)Shopify Admin API key + secretClaude Desktop, Claude Code, Cursor (stdio)Orders, customers, products (admin), inventory, metafieldsInternal tooling, store automation, custom workflows

Important caveat: The capabilities listed for community servers vary by implementation. Always read the specific README and verify the tool list before assuming any community server covers your use case.


Want to analyze your API security?

Import your OpenAPI spec and generate a Security Report automatically.

Choosing the Right Shopify MCP Solution

Here's a direct decision guide based on what you're actually trying to do:

→ Building an AI-powered shopping experience or product discovery feature? Use Shopify Storefront MCP. It's official, maintained by Shopify, and designed exactly for this.

→ Letting AI agents browse products, search inventory, or recommend items from a storefront? Use Shopify Storefront MCP. The available tools map directly to Storefront API queries.

→ Developing a Shopify app and want your AI coding assistant to understand Shopify's APIs and components? Use Shopify Dev MCP. It gives Claude Code or Cursor access to accurate Shopify-specific documentation.

→ Connecting Claude Code or Cursor to Shopify development workflows? Use Shopify Dev MCP for documentation and component references. Add Storefront MCP if you also need live storefront data during development.

→ Automating Shopify administration — orders, customers, fulfillment, inventory management? The official MCP servers do not cover this. You need either a community Admin API MCP server (with careful security review) or direct Shopify Admin API / GraphQL integration in your agent's tool layer.

→ Evaluating open-source community MCP servers for Shopify? Use the MCPForge verified directory to find community implementations that have been reviewed, and test any remote endpoint with MCPForge Verify before connecting to a live store.


Architecture and Data Flow

Understanding how the Storefront MCP connects AI agents to Shopify is useful before you configure anything:

┌─────────────────────────────────────────────────────────────────────┐
│                        AI Agent / MCP Client                        │
│           (Claude Code, Cursor, Custom Agent Loop)                  │
└────────────────────────────┬────────────────────────────────────────┘
                             │  MCP Protocol (JSON-RPC 2.0)
                             │  Transport: HTTP + SSE or Streamable HTTP
                             ▼
┌─────────────────────────────────────────────────────────────────────┐
│                  Shopify Storefront MCP Server                      │
│              (Remote endpoint hosted by Shopify)                    │
│                                                                     │
│   Tool: search_products      Tool: get_product                      │
│   Tool: get_collections      Tool: get_collection_products          │
│   Tool: get_shop             (+ other storefront tools)             │
└────────────────────────────┬────────────────────────────────────────┘
                             │  HTTPS + Storefront API Access Token
                             ▼
┌─────────────────────────────────────────────────────────────────────┐
│              Shopify Storefront API (GraphQL)                       │
│         Read-only access to: products, collections,                 │
│         variants, pricing, search, shop metadata                    │
└─────────────────────────────────────────────────────────────────────┘
                             │
                             ▼
                    Your Shopify Store

For the Shopify Dev MCP, the flow is different — the server doesn't connect to your store at all:

┌─────────────────────────────────────────────────────────────────────┐
│              AI Coding Agent (Claude Code, Cursor)                  │
└────────────────────────────┬────────────────────────────────────────┘
                             │  MCP Protocol
                             ▼
┌─────────────────────────────────────────────────────────────────────┐
│                    Shopify Dev MCP Server                           │
│         (Shopify-hosted developer documentation service)            │
│                                                                     │
│   Tool: search_docs          Tool: get_component                    │
│   Tool: api_reference        Tool: get_changelog                    │
└─────────────────────────────────────────────────────────────────────┘
                             │
                             ▼
          Shopify Developer Docs + Polaris + API References

These two data flows are completely independent. The Dev MCP has no knowledge of your store, and the Storefront MCP has no knowledge of Shopify's developer documentation.


Tutorial: Setting Up Shopify Storefront MCP

This tutorial covers the official Shopify Storefront MCP. It does not apply to the Dev MCP or any community implementation. Steps, commands, and configuration below are specific to Storefront MCP.

Prerequisites

  • A Shopify store (development store is fine for testing)
  • Shopify admin access to create a Storefront API token
  • Node.js 18+ installed (for Claude Code)
  • An MCP-compatible client: Claude Code (recommended), Cursor, or another HTTP/SSE-capable MCP client
  • Basic familiarity with JSON configuration files

Step 1: Create a Storefront API Access Token

The Shopify Storefront MCP authenticates using a Storefront API access token, not Admin API credentials. These are different tokens with different scopes.

  1. In your Shopify Admin, go to Settings → Apps and sales channels → Develop apps
  2. Click Allow custom app development if this is your first time
  3. Click Create an app, give it a name (e.g., "Storefront MCP")
  4. Go to the app's Configuration tab
  5. Under Storefront API, click Configure
  6. Enable the following access scopes (minimum required):
    • unauthenticated_read_product_listings
    • unauthenticated_read_product_inventory
    • unauthenticated_read_collection_listings
    • unauthenticated_read_product_tags
    • unauthenticated_read_selling_plans
  7. Click Save and then Install app
  8. After installation, go to the API credentials tab
  9. Under Storefront API access token, click Copy

Store this token securely. It's a long-lived credential. You'll use it in your MCP client configuration.

Security note: Storefront API tokens are designed to be used in public-facing contexts (they appear in browser JavaScript), but that doesn't mean you should treat them carelessly. In an MCP configuration used by AI agents, store the token in an environment variable rather than hardcoding it in config files committed to version control.

Step 2: Locate the Shopify Storefront MCP Endpoint

Shopify's Storefront MCP server is accessed as a remote HTTP endpoint. The URL follows this pattern:

https://{your-store-name}.myshopify.com/api/mcp

Replace {your-store-name} with your actual Shopify store subdomain. For example, if your store is example-shop.myshopify.com, the endpoint is:

https://example-shop.myshopify.com/api/mcp

Verify this against the latest Shopify documentation. The exact MCP endpoint path may be updated by Shopify. The official source is the Shopify Storefront API documentation and the Shopify MCP developer guides.

Step 3: Connect Storefront MCP to Claude Code

Claude Code supports remote MCP servers via the claude mcp add command. Use the --transport flag to specify the connection method.

bash
claude mcp add shopify-storefront \
  --transport http \
  https://your-store.myshopify.com/api/mcp

If the server requires the Storefront API token as a header (which it does), you'll need to pass it. Check whether Claude Code's current version supports passing custom headers in the claude mcp add command, or configure it via the JSON config file directly:

json
// ~/.claude/claude_desktop_config.json or project-level .mcp.json
{
  "mcpServers": {
    "shopify-storefront": {
      "type": "http",
      "url": "https://your-store.myshopify.com/api/mcp",
      "headers": {
        "X-Shopify-Storefront-Access-Token": "${SHOPIFY_STOREFRONT_TOKEN}"
      }
    }
  }
}

Set the environment variable before launching Claude Code:

bash
export SHOPIFY_STOREFRONT_TOKEN="your_storefront_access_token_here"
claude

Or add it to your shell profile (~/.bashrc, ~/.zshrc) to persist it:

bash
echo 'export SHOPIFY_STOREFRONT_TOKEN="your_token_here"' >> ~/.zshrc
source ~/.zshrc

Step 4: Connect Shopify Dev MCP to Claude Code

For development workflows, add the Dev MCP separately. This server gives your coding agent access to Shopify's documentation, Polaris components, and API references:

bash
claude mcp add shopify-dev \
  --transport http \
  https://mcp.shopify.dev

Verify both servers are registered:

bash
claude mcp list

Expected output:

shopify-storefront: https://your-store.myshopify.com/api/mcp (http)
shopify-dev: https://mcp.shopify.dev (http)

Step 5: Configure Cursor

For Cursor, add the servers to your MCP configuration. Cursor uses a .cursor/mcp.json file in your project directory or a global config at ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "shopify-storefront": {
      "type": "http",
      "url": "https://your-store.myshopify.com/api/mcp",
      "headers": {
        "X-Shopify-Storefront-Access-Token": "${SHOPIFY_STOREFRONT_TOKEN}"
      }
    },
    "shopify-dev": {
      "type": "http",
      "url": "https://mcp.shopify.dev"
    }
  }
}

Restart Cursor after editing the config. Verify the servers appear as active in the Cursor MCP panel.

Step 6: Verify the Connection

In Claude Code, test that tool discovery works:

> List the available tools from shopify-storefront

You should see a list of tools like search_products, get_product, get_collections, get_shop, etc. If tool discovery fails, jump to the Common Errors section.

For a functional test, try a simple query:

> Search for "running shoes" on the shopify-storefront server

If the store has products matching that query, Claude will return structured data. If the store is empty or uses a development store, you'll need to add some products first.

You can also use MCPForge Verify to test your MCP endpoint independently of any specific client — paste your store's MCP URL and token, inspect the tool manifest, and run test calls before connecting to a live agent workflow.


Available Tools and Capabilities

Shopify Storefront MCP Tools

The Storefront MCP exposes tools that map to Storefront API operations. Based on Shopify's documentation, these include:

ToolDescriptionKey Parameters
search_productsFull-text search across product catalogquery, first, sortKey
get_productRetrieve full product data by handle or IDhandle or id
get_productsList products with filtering and paginationfirst, query, sortKey, after
get_collectionRetrieve a single collection by handlehandle
get_collectionsList all collectionsfirst, after
get_collection_productsProducts within a specific collectionhandle, first, after
get_shopRetrieve shop metadata (name, currency, domains)

Important: The Storefront MCP does not expose order creation, cart persistence, customer accounts, checkout initiation, or any admin-level operations. It is read-oriented, scoped to publicly available storefront data. Cart and checkout operations in a real storefront require client-side Storefront API calls or the Cart API, not MCP.

Shopify Dev MCP Tools

The Dev MCP exposes tools for developer assistance:

ToolDescription
search_dev_docsSearch Shopify developer documentation
get_componentLook up Polaris UI component documentation
api_referenceQuery Admin or Storefront API field/type references
get_changelogRetrieve recent API or platform changes

These tools help AI coding agents avoid hallucinating Shopify-specific API shapes, deprecated fields, or incorrect Polaris props. The practical effect is that Claude Code or Cursor gives more accurate Shopify-specific code suggestions when the Dev MCP is active.


Setting Up a Community Admin API MCP Server

For admin operations — orders, fulfillment, customer management, inventory — no official Shopify MCP server currently exists. The options are:

  1. Use the Shopify Admin API directly in your agent's tool layer
  2. Use a community MCP server that wraps the Admin API

For option 2, here is a representative setup using a Node.js stdio-based community server. Note that specific community servers differ in their tool sets and configuration — always follow the documentation for the specific project you choose.

Prerequisites for Community Admin MCP

  • A Shopify Custom App with Admin API access enabled
  • Admin API access token with appropriate scopes
  • Node.js 18+

Getting Admin API Credentials

  1. Shopify Admin → Settings → Apps → Develop apps
  2. Create a new app or use an existing one
  3. Under Admin API integration, click Configure
  4. Enable the scopes your use case requires:
read_orders, write_orders        → Order management
read_customers, write_customers  → Customer operations  
read_products, write_products    → Product management
read_inventory, write_inventory  → Inventory control
read_fulfillments                → Fulfillment status
  1. Install the app and copy the Admin API access token

Claude Desktop Configuration for stdio-based Community MCP

For a local stdio MCP server, Claude Desktop's claude_desktop_config.json format applies:

json
{
  "mcpServers": {
    "shopify-admin": {
      "command": "npx",
      "args": ["-y", "@shopify-mcp/community-server"],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "your-store.myshopify.com",
        "SHOPIFY_ACCESS_TOKEN": "shpat_your_admin_api_token"
      }
    }
  }
}

This is an illustrative example. The actual package name, argument format, and environment variable names depend on the specific community project you choose. Never use an unofficial package name from this guide as-is — verify the current package name and configuration from the project's official repository.


Shopify MCP Server vs Shopify API

This question comes up regularly among developers evaluating whether MCP adds real value over direct API integration.

When to Use Shopify MCP

MCP makes sense when:

  • You're building an AI agent that needs to call Shopify tools autonomously. The MCP protocol gives agents structured tool discovery and a standardized calling convention, without you needing to write custom tool definitions for every endpoint.
  • You want AI coding assistance that understands Shopify. The Dev MCP turns your coding agent into a Shopify-aware assistant, reducing documentation lookups and hallucinated API shapes.
  • You're prototyping an AI shopping assistant. Storefront MCP lets you connect a conversational agent to product data in minutes instead of writing Storefront API integration code from scratch.
  • You want portability across MCP-compatible clients. One server configuration works across Claude Code, Cursor, and future MCP-compatible tools.

When to Use the Shopify API Directly

Direct API integration is better when:

  • You need operations that no MCP server supports. Admin operations (orders, fulfillment, webhooks, metafields), cart and checkout flows, payment processing — these require direct Shopify API calls in most current implementations.
  • You need production-grade performance and control. Direct API calls let you implement custom caching, batching, retry logic, and error handling tuned to your specific workload.
  • You're building a traditional application, not an AI agent. If your application has deterministic logic that doesn't need language model reasoning, MCP adds unnecessary overhead.
  • You need guaranteed SLA and audit trails. Direct API integrations are easier to monitor, audit, and rate-limit with precision.

Using Both Together

The most powerful pattern for production AI commerce applications typically combines both:

User Query → LLM (with MCP tool access)
               ↓
         Shopify Storefront MCP   ← for product/collection queries
               +
         Custom agent tools       ← direct Shopify Admin API calls
               +                     for cart, orders, customer ops
         Non-Shopify tools        ← CRM, logistics, payments

The AI agent uses MCP for discovery and read operations, and directly calls Admin API endpoints (through your own backend) for write operations that require authentication, auditing, and rate limit control.


Official Shopify MCP Tools vs Community MCP Servers

This deserves its own detailed treatment because the maintenance and security implications are significant.

Maintenance

Official Shopify MCP servers are maintained by Shopify's engineering teams. When Shopify deprecates an API version, releases a new Storefront API, or changes authentication requirements, the official MCP server is updated accordingly. You don't need to track API deprecation timelines yourself.

Community servers depend entirely on the maintainer's availability and commitment. A community Admin API MCP server written for Shopify API version 2024-01 may not be updated for 2025-01 changes. In the worst case, it calls deprecated fields, uses obsolete authentication patterns, or silently returns incorrect data.

Security

Official servers are built and reviewed by Shopify. The Storefront MCP, for instance, uses Storefront API tokens — intentionally limited credentials that cannot access admin data even if compromised.

Community servers wrapping the Admin API typically require admin-level credentials (shpat_ tokens) passed through environment variables. Review how the server handles these credentials:

  • Does it log requests in a way that could expose token values?
  • Does it validate that tool inputs are safe before passing them to the API?
  • Does it have any injection risk in GraphQL or REST query construction?
  • Is the package supply chain clean (check npm audit, dependency count, maintainer history)?

Capabilities

Official Storefront MCP is intentionally limited to storefront-safe operations. This is a feature, not a limitation — it means the server cannot accidentally expose admin data even if misconfigured.

Community Admin MCP servers can expose any Admin API operation their developers chose to implement. This flexibility is what makes them useful for automation, but it also means the attack surface is much larger.

Production Suitability

FactorOfficial Shopify MCPCommunity Admin API MCP
Maintained by Shopify✅ Yes❌ No
API version updatesAutomaticManual / depends on maintainer
Security reviewShopify-reviewedCommunity-reviewed
Admin data access❌ No (by design)✅ Possible
Suitable for production storefront AI✅ YesN/A (different scope)
Suitable for production admin automation❌ No (wrong scope)⚠️ With careful review
SLA guaranteeShopify uptime SLANone

Security and Privacy Considerations

Storefront API Token Security

Storefront API tokens are designed for public use — they appear in JavaScript bundles in traditional Shopify themes. However, in an MCP context they're used server-side, which means:

  • Store them in environment variables, not config files committed to version control
  • Rotate them if a development environment is compromised
  • Use separate tokens for development and production stores
  • Scope to minimum required permissions — don't enable selling plan or price rule access if your agent doesn't need it

Admin API Token Security

If you deploy a community Admin API MCP server:

  • Never pass Admin API tokens through URLs or query parameters
  • Use environment variables exclusively
  • Restrict the token's scopes to only what the MCP server's tools actually use
  • Consider using Shopify's App Bridge and OAuth flow for user-authorized tokens instead of persistent access tokens where possible
  • Audit the MCP server's logging configuration — an overly verbose log can capture full GraphQL queries including potentially sensitive customer data

Data Passed to AI Models

When Shopify product data flows through an MCP server to an LLM:

  • Storefront product data (titles, descriptions, prices) is public information — minimal privacy risk
  • If you ever route customer PII, order data, or payment information through an LLM, ensure your AI provider's data processing agreement covers that data category
  • Most commercial LLM APIs are zero-retention by default for API usage, but verify this for your specific use case and jurisdiction

API Rate Limits

Shopify Storefront API rate limits directly affect MCP tool call frequency. Understanding the leaky bucket model Shopify uses is essential for any agentic loop:

Storefront API Rate Limits

  • Default: 2 requests per second per store (with burst capacity)
  • Bust capacity: approximately 10 requests before throttling begins
  • Rate limit headers: X-Shopify-Shop-Api-Call-Limit
  • On limit breach: HTTP 429 with Retry-After header

Implications for AI Agent Loops

An autonomous agent running a product research task might call search_products dozens of times in a short loop. At 2 req/sec, 30 tool calls consume 15 seconds of burst-free time. Real agents need:

javascript
// Example retry logic pattern for your agent orchestration layer
async function callMCPWithBackoff(toolName, params, maxRetries = 3) {
  for (let attempt = 0; attempt < maxRetries; attempt++) {
    try {
      return await mcp.callTool(toolName, params);
    } catch (error) {
      if (error.status === 429) {
        const retryAfter = parseInt(error.headers['retry-after'] || '2');
        await sleep(retryAfter * 1000 * Math.pow(2, attempt));
        continue;
      }
      throw error;
    }
  }
  throw new Error(`Max retries exceeded for ${toolName}`);
}

Admin API Rate Limits (Community Servers)

The Shopify Admin API uses a points-based rate limiting system:

  • REST: 40 requests per app per store per minute (2 req/sec)
  • GraphQL: 1,000 points per minute, with operation costs varying by query complexity
  • Bulk operations API available for large data exports

A community Admin API MCP server that constructs expensive GraphQL queries can exhaust rate limits quickly under agentic use. Monitor the X-GraphQL-Cost-Include-Fields response header to understand per-query cost.


Common Errors

Error: Unauthorized or 401 on MCP connection

Why it happens: The Storefront API access token is missing, malformed, or has been regenerated since configuration.

How to identify it: The MCP client reports a connection error or tool discovery fails with an authentication message.

Fix:

bash
# Verify your token is set
echo $SHOPIFY_STOREFRONT_TOKEN

# Test the token directly against the Storefront API
curl -X POST \
  https://your-store.myshopify.com/api/2024-10/graphql.json \
  -H 'Content-Type: application/json' \
  -H 'X-Shopify-Storefront-Access-Token: your_token' \
  -d '{"query": "{ shop { name } }"}'

If this returns {"errors": [{"message": "[API] Invalid API key or access token..."}]}, regenerate your Storefront API token in Shopify Admin.


Error: Tool not found or empty tool list

Why it happens: The MCP server URL is incorrect, the endpoint path is wrong, or the server is returning an unexpected response format.

Fix: Confirm the exact endpoint URL from Shopify's current documentation. Use MCPForge Verify (mcpforge.dev/verify) to inspect the raw tool manifest returned by the server before debugging the client-side configuration.


Error: 429 Too Many Requests during agent execution

Why it happens: The AI agent is calling Storefront MCP tools faster than the rate limit allows.

Fix: Implement exponential backoff in your agent loop (see the rate limit section above). If using Claude Code interactively, the natural human-paced queries rarely hit rate limits — this is primarily an issue with automated/looping agents.


Error: MCP server not appearing in Cursor after config update

Why it happens: Cursor caches MCP server configurations and requires a full restart (not just a window reload) to pick up changes.

Fix:

  1. Fully quit and relaunch Cursor
  2. Check that the JSON in .cursor/mcp.json is valid (run it through a JSON linter)
  3. Check Cursor's MCP logs under Output → MCP for specific error messages

Error: CORS or connection refused when testing community server

Why it happens: Some community servers run as local stdio processes, not HTTP servers. Attempting to connect them via HTTP transport (expecting a URL) fails.

Fix: Stdio-based servers require command/args configuration in your MCP client, not a URL. Verify the community server's transport type before configuring.


Ecommerce AI Agent Workflows

Here are practical workflow patterns that work with Shopify's official Storefront MCP today:

Product Discovery Agent

An AI shopping assistant that helps customers find products:

User: "I'm looking for a waterproof jacket under $150"

Agent calls: search_products({query: "waterproof jacket", first: 10})
Agent receives: Product list with variants and pricing
Agent calls: get_product({handle: "best-match-handle"})
Agent receives: Full product details, images, variants
Agent responds: "I found 3 options that match — here's a comparison..."

Catalog Intelligence for Merchants

A merchant-side agent that answers questions about their own catalog:

Merchant: "Do we have anything in the home office category under $200?"

Agent calls: get_collection({handle: "home-office"})
Agent calls: get_collection_products({handle: "home-office", first: 50})
Agent filters: products with price < 200
Agent responds: "You have 12 home office products under $200..."

Development Workflow with Dev MCP

A developer building a Shopify app with Claude Code:

Developer: "Add a product listing using the correct Polaris components"

Agent calls: get_component({name: "ResourceList"})
Agent calls: api_reference({resource: "Product", fields: ["title", "variants"]})
Agent generates: Correct React component using actual Polaris API

This avoids the common failure mode where AI coding agents generate Polaris v9 code when Polaris v12 is current, or reference deprecated Storefront API fields.


Production Deployment Considerations

Running Shopify MCP tool calls in a production AI system requires thinking beyond the local development setup.

For Official Remote MCP Servers (Storefront MCP, Dev MCP)

Since these are Shopify-hosted, your production concerns are primarily:

  • Uptime dependency: Your AI agent's availability is partly dependent on Shopify's MCP endpoint uptime. Build circuit breaker logic that falls back gracefully if the MCP server is temporarily unavailable.
  • Token rotation: Implement a rotation schedule for Storefront API tokens. Treat them as secrets in your deployment environment (AWS Secrets Manager, HashiCorp Vault, etc.).
  • Logging: Log which MCP tools your agent calls and with what parameters. This creates an audit trail and helps debug unexpected agent behavior.

For Community Admin API MCP Servers

  • Do not run community MCP servers as root or with excessive system permissions
  • Containerize the MCP server and restrict its network access to Shopify API endpoints only
  • Use read-only credentials where possible — if a tool only needs to read orders, don't give it write_orders scope
  • Monitor the community server's GitHub repository for security advisories
  • Consider the MCPForge guide on running MCP in production for general production hardening patterns applicable to any MCP server

Health Monitoring

For any MCP server in a production pipeline:

bash
# Simple health check script for a remote Shopify MCP endpoint
curl -X POST https://your-store.myshopify.com/api/mcp \
  -H 'Content-Type: application/json' \
  -H 'X-Shopify-Storefront-Access-Token: $SHOPIFY_STOREFRONT_TOKEN' \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}' \
  | jq '.result.tools | length'

If this returns a non-zero number of tools, the server is responding correctly. Automate this as a synthetic monitor in your observability stack.


Limitations

Being explicit about what Shopify MCP cannot do saves significant debugging time:

Shopify Storefront MCP does not:

  • Create or modify orders
  • Access customer accounts or PII
  • Initiate or manage checkout sessions
  • Write product data
  • Access inventory levels for individual locations
  • Interact with Shopify admin functions of any kind
  • Support real-time stock reservation

Shopify Dev MCP does not:

  • Connect to your specific store
  • Access your app's code or configuration
  • Write code for you without an AI coding agent interpreting its output
  • Replace reading the actual Shopify documentation

General MCP limitations in this context:

  • MCP is a request-response protocol — it doesn't support Shopify webhooks or event streaming
  • LLM context windows constrain how much product data can be reasoned over in a single turn
  • Tool call latency accumulates in multi-step agent chains — a 10-step research task with 200ms per tool call adds 2 seconds minimum before the model even starts generating a response

Recent Changes in the Shopify MCP Ecosystem

The Shopify MCP ecosystem is actively evolving. A few developments worth tracking:

  • Shopify Dev MCP (mcp.shopify.dev) was released in early 2025 as part of Shopify's investment in AI coding assistant workflows, coinciding with increased Claude Code adoption among app developers.
  • Storefront MCP capability expansion is expected as Shopify iterates on their AI commerce strategy — the initial release focuses on read operations, but Shopify has signaled interest in expanding MCP tooling for cart and checkout workflows.
  • MCP protocol changes: The MCP spec moved from SSE transport to Streamable HTTP as the default in 2025. Check that your MCP client version and the Shopify MCP server endpoint agree on transport — a client expecting SSE against a Streamable HTTP endpoint (or vice versa) will fail silently in some configurations.
  • Keep an eye on Shopify's developer changelog for MCP-related announcements, as this is moving faster than traditional API releases.

Best Practices Summary

  • Use official Shopify MCP servers for official use cases. Don't try to stretch Storefront MCP into admin operations — use the Admin API directly or a community server for those.
  • Never commit access tokens to version control. Always use environment variables, even for development stores.
  • Separate your tokens. Different tokens for Storefront MCP, any community Admin MCP server, and your application's own API calls.
  • Test endpoints with MCPForge Verify (mcpforge.dev/verify) before connecting to live agent workflows.
  • Implement rate limit handling in any automated agent loop — interactive use rarely hits limits, but autonomous loops do.
  • Use the Dev MCP for all Shopify app development — it meaningfully improves AI coding assistant accuracy for Shopify-specific code.
  • Audit community servers before production use — review source, check npm audit, test in isolation.
  • Build fallback behavior in agents that depend on MCP calls — graceful degradation when a tool call fails is better than a crashed agent.
  • Log MCP tool calls in production — you need this for debugging unexpected agent behavior and for compliance in enterprise deployments.

Key Takeaways

The Shopify MCP landscape in 2025 has two distinct official products serving different audiences:

  1. Shopify Storefront MCP is for building AI commerce experiences — product search, catalog access, storefront queries. It's the right choice if you're building an AI shopping assistant or giving an agent access to product data.

  2. Shopify Dev MCP is for developers building Shopify apps with AI coding assistants. It makes Claude Code and Cursor dramatically more useful for Shopify development by grounding them in accurate Shopify-specific documentation.

  3. Neither official server handles admin operations. For orders, customers, fulfillment, and store management, you need direct Admin API integration or a carefully reviewed community MCP server.

  4. Community servers fill real gaps but require security review and active monitoring before production use.

The practical recommendation for most teams: add the Shopify Dev MCP to your coding environment immediately — it has no authentication requirements for documentation access and makes your AI coding assistant significantly more useful for Shopify work. Add the Storefront MCP when you need to prototype or build AI shopping features. Plan direct API integration (not MCP) for admin operations until Shopify expands official MCP coverage.


For testing any Shopify MCP endpoint or community server before connecting to a live agent, use MCPForge Verify. For a curated list of reviewed community Shopify MCP implementations, see the MCPForge verified directory.

Frequently Asked Questions

Does Shopify have an official MCP server?

Yes. Shopify has released an official Storefront MCP server that allows AI agents to access product catalog data, search inventory, and interact with storefronts using the Storefront API. Shopify has also released a Dev MCP server targeted at developers using AI coding agents like Claude Code and Cursor. These are distinct products with different purposes, authentication models, and capabilities.

What is the difference between Shopify Storefront MCP and Shopify Dev MCP?

Shopify Storefront MCP connects AI agents to a merchant's storefront data (products, collections, search) via the Storefront API, intended for building AI-powered shopping experiences. Shopify Dev MCP connects AI coding agents to Shopify's developer documentation, component libraries, and development tooling, intended for developers building Shopify apps. They serve entirely different purposes and should not be combined or confused.

Can I use Shopify Storefront MCP to access admin operations like orders or customer data?

No. The Shopify Storefront MCP is built on top of the Storefront API, which is intentionally scoped to public storefront data. It does not provide access to orders, customers, fulfillments, or other administrative resources. For admin operations, you would need to use the Shopify Admin API directly, or explore community MCP server implementations that wrap the Admin API.

Does Shopify Storefront MCP work with Claude Desktop?

Shopify Storefront MCP is a remote MCP server accessed via a URL endpoint, not a locally installed stdio server. Claude Desktop currently has limited support for remote MCP servers with authentication. It works most reliably with Claude Code (via the CLI) and other MCP clients that support remote HTTP/SSE transports with OAuth. Always check the latest Claude Desktop release notes for remote MCP support status.

Can Claude Code connect to Shopify's MCP servers?

Yes. Claude Code supports adding remote MCP servers via the `claude mcp add` command using the `--transport http` flag or SSE transport. Both Shopify Storefront MCP and Shopify Dev MCP can be registered in Claude Code, allowing AI-assisted development and storefront querying directly from the terminal.

Are community Shopify MCP servers safe to use in production?

Community MCP servers vary significantly in security posture, maintenance activity, and code quality. Before using one in production, audit the source code, verify it does not expose Admin API credentials unsafely, check the maintenance history, and test behavior under rate limit conditions. For production deployments handling real customer data, officially maintained solutions are strongly preferred.

What Shopify API scopes does the Storefront MCP require?

The Shopify Storefront MCP uses a Storefront API access token rather than OAuth Admin API scopes. You create a Storefront API token in your Shopify admin under Apps > Develop Apps > Storefront API. The token grants read access to products, collections, and search. No Admin API scopes are needed for the Storefront MCP.

Can I use Cursor with Shopify MCP servers?

Yes. Cursor supports MCP servers in its configuration file. You can add the Shopify Dev MCP for development workflow assistance or configure a community Admin API MCP server for store automation. Cursor uses MCP tool calls during agentic coding sessions, so it benefits significantly from the Shopify Dev MCP for component and API reference lookups.

What is the rate limit behavior for Shopify Storefront MCP?

Shopify Storefront MCP calls ultimately translate to Storefront API requests, which are rate-limited at the store level (typically 2 requests per second with burst capacity). High-frequency AI agent loops can exhaust this budget quickly. Implement retry logic with exponential backoff in your MCP client or agent orchestration layer, and cache repeated product queries where possible.

How do I test a Shopify MCP server endpoint before connecting it to an AI agent?

For remote MCP servers, you can use MCPForge Verify (mcpforge.dev/verify) to inspect the server's tool manifest, test individual tool calls, and confirm authentication is working before connecting to a production AI agent. This is especially useful for validating community MCP servers or custom deployments.

Check your MCP security posture

Generate a Security Score, detect risky tools, and review permissions before exposing APIs to AI agents.