MCP.so
Sign In
S

Shopify MCP Pro

@den-indance

About Shopify MCP Pro

Working Shopify MCP server real analytics via ShopifyQL, auto-refresh auth, Shopify API 2026-04. Fixes broken tools from other packages: sales reports, inventory, abandoned checkouts, no silent token expiry.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": [
        "@den.dance/shopify-mcp-pro"
      ],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "your-store.myshopify.com",
        "SHOPIFY_CLIENT_ID": "your-client-id",
        "SHOPIFY_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Tools

52

List products from the Shopify store

Get a specific product by ID

Create a new product

Update an existing product

List orders from the Shopify store

Get a specific order by ID

List customers from the Shopify store

Get a specific customer by ID

Get inventory levels for a product variant

Adjust inventory quantity

Set a metafield on a resource

List collections from the Shopify store

List all store locations

Get shop information and analytics

List discount codes and automatic discounts

Create a discount code

List fulfillment orders

Create a fulfillment for an order

Get shipping zones and rates

List transactions for an order

Create a refund for an order

List gift cards

Create a gift card

List store pages

Create a new page

List blogs

Create a blog article

Create a URL redirect

List installed themes

List configured webhooks

Create a webhook subscription

List draft orders

Create a draft order

List all metaobject type definitions configured in the store. Use this to discover valid `type` values (e.g. `shopify--color-pattern`, `product.material`) before calling listMetaobjects. Returns id/type/name/description + field schema per definition.

List metaobjects of a given type. The `type` arg must match a definition exactly (case-sensitive identifier like `shopify--color-pattern`). Run listMetaobjectDefinitions first to discover what types exist in this store. Non-existent type → empty result, not error.

Create a metaobject

List configured markets

List discounts (covers code, automatic, BxGy, free-shipping). Replaces deprecated priceRules query with discountNodes in 2026-04+.

List abandoned checkouts

Run an arbitrary ShopifyQL analytics query against the store. Same data as Admin → Analytics. Canonical clause order: FROM → SHOW → WHERE → SINCE/UNTIL/DURING → GROUP BY → ORDER BY → LIMIT. Dates are BARE (no quotes): `SINCE 2026-01-01 UNTIL today` or relative `SINCE -30d UNTIL today`. Use `GROUP BY` (full keyword), not `BY`. Dimensions in SHOW must also appear in GROUP BY. Verified datasets: `sales` (metrics: total_sales, gross_sales, net_sales, orders, average_order_value; dims: product_title, billing_country, customer_type), `sessions` (metrics: sessions, online_store_visitors, conversion_rate; dims: referrer_source, utm_source, utm_medium, referrer_host). Note: `orders` and `products` are NOT valid ShopifyQL datasets — use GraphQL tools instead. Returns { parseErrors: [String], tableData: { columns: [{name,dataType,displayName}], rows: JSON } }. parseErrors is non-empty when the query is syntactically/semantically invalid — read it for the exact field/dataset name issue.

Sales analytics via ShopifyQL. Default columns: total_sales, gross_sales, net_sales, total_orders, average_order_value over the date range. Pass `query` to override with raw ShopifyQL.

Get product performance analytics

Get customer behavior analytics

Get inventory analytics and forecasting

Get marketing campaign performance

Get financial summary including revenue, expenses, and profit

Product performance via ShopifyQL. Default: top 25 products by total_sales over date range. Pass `query` to override with raw ShopifyQL (e.g. session/conversion-funnel queries).

Get cart and checkout abandonment analytics

Orders grouped by traffic source via ShopifyQL. Default: total_sales/orders/AOV by referrer_source. Pass `query` to override.

Alias for runShopifyQL — pass a raw ShopifyQL string in `query`. See runShopifyQL description for syntax.

List B2B companies

Create a B2B company

Overview

What is Shopify MCP Pro?

Shopify MCP Pro is a Model Context Protocol (MCP) server that connects AI assistants like Claude to your Shopify store. It provides tools to access products, orders, customers, inventory, analytics, and more via the Shopify Admin API.

How to use Shopify MCP Pro?

Install and run using npx @den.dance/shopify-mcp-pro. Configure environment variables for your Shopify store domain, client ID, and client secret. The server works with Claude Desktop (via stdio) or in HTTP SSE mode for remote access.

Key features of Shopify MCP Pro

  • Real analytics powered by ShopifyQL (not stubs)
  • OAuth with automatic token refresh
  • Updated to Shopify Admin API 2026-04
  • Tools for products, orders, customers, inventory
  • Run raw ShopifyQL queries
  • Supports stdio and SSE transports

Use cases of Shopify MCP Pro

  • Get sales reports and product analytics for business insights
  • Monitor inventory levels and adjust stock quantities
  • Create discount codes and promotional campaigns
  • Retrieve and manage orders, draft orders, and fulfillments
  • Query custom analytics with ShopifyQL language

FAQ from Shopify MCP Pro

How is this different from other Shopify MCP servers?

This server provides real analytics via ShopifyQL, uses OAuth with automatic token refresh instead of static tokens, and avoids deprecated API fields that cause runtime crashes.

What runtime dependencies are required?

Node.js via npx is needed. The server is a single command and uses environment variables for configuration.

Where does my store data reside?

Data remains in your Shopify store; the server only queries the Shopify Admin API

Frequently asked questions

How is this different from other Shopify MCP servers?

This server provides real analytics via ShopifyQL, uses OAuth with automatic token refresh instead of static tokens, and avoids deprecated API fields that cause runtime crashes.

What runtime dependencies are required?

Node.js via npx is needed. The server is a single command and uses environment variables for configuration.

Where does my store data reside?

Data remains in your Shopify store; the server only queries the Shopify Admin API

Comments

More Developer Tools MCP servers