Open Source · MIT License

Shopify stores
powered by AI

An MCP server that gives Claude, GPT, and any AI assistant full control over Shopify stores. 36 tools across products, orders, customers, inventory, marketing, and webhooks.

npm npx shopify-mcp
36
Tools
10
Categories
1
API
Store Tasks

36 tools, 10 categories

Complete Shopify Admin API coverage. Products, orders, customers, inventory, fulfillments, collections, marketing, content, and webhooks.

🛒 Products 5 tools
list_productsList all products with filtering by status, vendor, and type
get_productGet complete product details including variants, images, and metafields
search_productsFull-text search across product titles, descriptions, and tags
product_countGet total product count with optional status and type filters
list_collectionsList all manual and smart collections in the store
📋 Orders 5 tools
list_ordersList orders with filters for status, financial status, and date range
get_orderGet complete order details with line items, shipping, and transactions
recent_ordersGet the most recent orders with summary information
unfulfilled_ordersList all orders awaiting fulfillment with priority indicators
order_countGet total order count with optional status filters
👥 Customers 3 tools
search_customersSearch customers by name, email, phone, or any custom field
get_customerGet full customer profile with addresses, tags, and order stats
top_customersRank customers by total spend, order count, or lifetime value
📦 Inventory 4 tools
check_inventoryCheck stock levels for a product across all locations
list_locationsList all inventory locations with addresses and capabilities
low_stock_productsGet products below reorder threshold with stock-out risk
adjust_inventoryAdjust inventory quantity at a specific location with reason
📈 Analytics 3 tools
store_summaryOverview of store performance: revenue, orders, and conversion metrics
sales_by_productSales breakdown by product with revenue and units for a date range
fulfillment_status_summaryDistribution of order fulfillment statuses with aging analysis
🚚 Fulfillments 2 tools
list_fulfillmentsList fulfillments for an order with tracking numbers and carrier info
create_fulfillmentCreate a fulfillment with tracking number and notify the customer
🗃 Collections 3 tools
get_collectionGet collection details including rules for smart collections
collection_productsList all products within a specific collection
create_smart_collectionCreate an automated collection with tag, price, or vendor rules
🎁 Marketing 4 tools
list_price_rulesList all price rules including percentage, fixed, and BOGO discounts
get_price_ruleGet price rule details including conditions and usage limits
create_discount_codeGenerate a discount code tied to an existing price rule
list_discount_codesList all discount codes for a price rule with usage statistics
📄 Content 4 tools
list_blogsList all blog channels with article counts and handles
list_pagesList all store pages with publication status and template info
get_metafieldsRead metafields for any resource (product, order, customer, etc.)
set_metafieldCreate or update a metafield on any resource with typed values
🔌 Webhooks 3 tools
list_webhooksList all registered webhooks with topics and endpoints
create_webhookRegister a new webhook for any Shopify event topic
delete_webhookRemove a webhook subscription by ID

Drop-in configuration

Add the server to your MCP client config. Authenticate with your Shopify Admin API access token.

📄 .mcp.json
{
  "mcpServers": {
    "shopify": {
      "command": "npx",
      "args": ["shopify-mcp"],
      "env": {
        "SHOPIFY_STORE": "your-store",
        "SHOPIFY_ACCESS_TOKEN": "shpat_xxx"
      }
    }
  }
}
📄 Environment Variables
# Required
SHOPIFY_STORE=your-store
SHOPIFY_ACCESS_TOKEN=shpat_xxx

# Optional
SHOPIFY_API_VERSION=2025-01
SHOPIFY_TIMEOUT=30000
SHOPIFY_MAX_RETRIES=3