Shopify MCP Server
Enables interaction with store data through Shopify's GraphQL API, providing tools for managing products, customers, and orders, including the ability to search, retrieve, create, and update records.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Shopify MCP Server search for products with 'summer' in the title"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shopify MCP Server
(please leave a star if you like!)
MCP Server for Shopify API, enabling interaction with store data through GraphQL API. This server provides tools for managing products, customers, orders, and more.
📦 Package Name: shopify-mcp
🚀 Command: shopify-mcp (NOT shopify-mcp-server)
Features
Product Management: Search and retrieve product information
Customer Management: Load customer data and manage customer tags
Order Management: Advanced order querying and filtering
GraphQL Integration: Direct integration with Shopify's GraphQL Admin API
Comprehensive Error Handling: Clear error messages for API and authentication issues
Prerequisites
Node.js (version 16 or higher)
Shopify Custom App Access Token (see setup instructions below)
Setup
Shopify Access Token
To use this MCP server, you'll need to create a custom app in your Shopify store:
From your Shopify admin, go to Settings > Apps and sales channels
Click Develop apps (you may need to enable developer preview first)
Click Create an app
Set a name for your app (e.g., "Shopify MCP Server")
Click Configure Admin API scopes
Select the following scopes:
read_products,write_productsread_customers,write_customersread_orders,write_orders
Click Save
Click Install app
Click Install to give the app access to your store data
After installation, you'll see your Admin API access token
Copy this token - you'll need it for configuration
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"shopify-mcp",
"--accessToken",
"<YOUR_ACCESS_TOKEN>",
"--domain",
"<YOUR_SHOP>.myshopify.com"
]
}
}
}Locations for the Claude Desktop config file:
MacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
Alternative: Run Locally with Environment Variables
If you prefer to use environment variables instead of command-line arguments:
Create a
.envfile with your Shopify credentials:SHOPIFY_ACCESS_TOKEN=your_access_token MYSHOPIFY_DOMAIN=your-store.myshopify.comRun the server with npx:
npx shopify-mcp
Direct Installation (Optional)
If you want to install the package globally:
npm install -g shopify-mcpThen run it:
shopify-mcp --accessToken=<YOUR_ACCESS_TOKEN> --domain=<YOUR_SHOP>.myshopify.com⚠️ Important: If you see errors about "SHOPIFY_ACCESS_TOKEN environment variable is required" when using command-line arguments, you might have a different package installed. Make sure you're using shopify-mcp, not shopify-mcp-server.
Available Tools
Product Management
get-productsGet all products or search by title
Inputs:
searchTitle(optional string): Filter products by titlelimit(number): Maximum number of products to return
get-product-by-idGet a specific product by ID
Inputs:
productId(string): ID of the product to retrieve
createProductCreate new product in store
Inputs:
title(string): Title of the productdescriptionHtml(string): Description of the productvendor(string): Vendor of the productproductType(string): Type of the producttags(string): Tags of the productstatus(string): Status of the product "ACTIVE", "DRAFT", "ARCHIVED". Default "DRAFT"
Customer Management
get-customersGet customers or search by name/email
Inputs:
searchQuery(optional string): Filter customers by name or emaillimit(optional number, default: 10): Maximum number of customers to return
update-customerUpdate a customer's information
Inputs:
id(string, required): Shopify customer ID (numeric ID only, like "6276879810626")firstName(string, optional): Customer's first namelastName(string, optional): Customer's last nameemail(string, optional): Customer's email addressphone(string, optional): Customer's phone numbertags(array of strings, optional): Tags to apply to the customernote(string, optional): Note about the customertaxExempt(boolean, optional): Whether the customer is exempt from taxesmetafields(array of objects, optional): Customer metafields for storing additional data
get-customer-ordersGet orders for a specific customer
Inputs:
customerId(string, required): Shopify customer ID (numeric ID only, like "6276879810626")limit(optional number, default: 10): Maximum number of orders to return
Order Management
get-ordersGet orders with optional filtering
Inputs:
status(optional string): Filter by order statuslimit(optional number, default: 10): Maximum number of orders to return
get-order-by-idGet a specific order by ID
Inputs:
orderId(string, required): Full Shopify order ID (e.g., "gid://shopify/Order/6090960994370")
update-orderUpdate an existing order with new information
Inputs:
id(string, required): Shopify order IDtags(array of strings, optional): New tags for the orderemail(string, optional): Update customer emailnote(string, optional): Order notescustomAttributes(array of objects, optional): Custom attributes for the ordermetafields(array of objects, optional): Order metafieldsshippingAddress(object, optional): Shipping address information
Debugging
If you encounter issues, check Claude Desktop's MCP logs:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.logLicense
MIT
Available Tools
9 toolscreate-productD
Inputs: title (required), descriptionHtml, vendor, productType, +2 more.
get-customer-ordersD
Inputs: customerId (required), limit.
get-customersD
Inputs: searchQuery, limit.
get-order-by-idD
Inputs: orderId (required).
get-ordersD
Inputs: status, limit.
get-product-by-idD
Inputs: productId (required).
get-productsD
Inputs: searchTitle, limit.
update-customerD
Inputs: id (required), firstName, lastName, email, +5 more.
update-orderD
Inputs: id (required), tags, email, note, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose targeting specific resources and actions. For example, get-products retrieves a list while get-product-by-id fetches a single item, and create-product vs. update-order handle different operations on different entities. There is no overlap or ambiguity between tools.
All tool names follow a consistent verb_noun pattern with hyphens, such as create-product, get-orders, and update-customer. The naming is uniform throughout, using clear verbs (create, get, update) paired with specific nouns (product, customer, order), making it predictable and readable.
With 9 tools, the server is well-scoped for a Shopify integration, covering core e-commerce operations. Each tool serves a distinct function in managing products, customers, and orders, and the count is neither too sparse nor overwhelming for the domain.
The tool set provides good coverage for CRUD operations on products, customers, and orders, including create, get, and update actions. However, there are minor gaps such as no delete operations (e.g., delete-product) and missing tools for other Shopify resources like inventory or discounts, which agents might need to work around.
Related MCP Connectors
Shopify store catalog, SKU/price/availability & collections
Read Shopify orders by channel and manage products, pages and blog posts, with approvals.
1Unofficial Shopify MCP Pack — wraps the Shopify Admin REST API (2024-01)
Bulk edit Shopify products from an AI agent: search, preview, apply and undo catalog edits.