by GeLi2001
Shopify MCP Server is a tool that enables interaction with Shopify API for managing store data through GraphQL API.
Shopify MCP Server is a server-side application that facilitates interaction with the Shopify API, specifically designed for use with MCP (Multi-Cloud Platform) hosts like Claude and Cursor. It allows users to manage various aspects of their Shopify store data, including products, customers, and orders, through a GraphQL API.
To use the Shopify MCP Server, you need Node.js (version 16 or higher) and a Shopify Custom App Access Token. The setup involves creating a custom app in your Shopify store, configuring Admin API scopes (read/write for products, customers, and orders), and obtaining an Admin API access token. You can then integrate it with Claude Desktop by adding configuration to claude_desktop_config.json
or run it locally using environment variables (SHOPIFY_ACCESS_TOKEN
, MYSHOPIFY_DOMAIN
) or direct global installation via npm.
get-products
, get-product-by-id
), customer management (get-customers
, update-customer
, get-customer-orders
), and order management (get-orders
, get-order-by-id
, update-order
).This server is ideal for developers and businesses looking to automate and streamline their Shopify store management. Specific use cases include:
Q: What are the prerequisites for using Shopify MCP Server? A: You need Node.js (version 16 or higher) and a Shopify Custom App Access Token.
Q: How do I get a Shopify Access Token? A: You need to create a custom app in your Shopify store, configure the necessary Admin API scopes, and then install the app to get your Admin API access token.
Q: What if I see errors about "SHOPIFY_ACCESS_TOKEN environment variable is required"?
A: This might happen if you have a different package installed. Ensure you are using shopify-mcp
and not shopify-mcp-server
.
Q: How can I debug issues with Shopify MCP Server?
A: You can check Claude Desktop's MCP logs, typically located at ~/Library/Logs/Claude/mcp*.log
on MacOS or %APPDATA%/Claude/mcp*.log
on Windows.
(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
)
To use this MCP server, you'll need to create a custom app in your Shopify store:
read_products
, write_products
read_customers
, write_customers
read_orders
, write_orders
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:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
If you prefer to use environment variables instead of command-line arguments:
Create a .env
file with your Shopify credentials:
SHOPIFY_ACCESS_TOKEN=your_access_token
MYSHOPIFY_DOMAIN=your-store.myshopify.com
Run the server with npx:
npx shopify-mcp
If you want to install the package globally:
npm install -g shopify-mcp
Then 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
.
get-products
searchTitle
(optional string): Filter products by titlelimit
(number): Maximum number of products to returnget-product-by-id
productId
(string): ID of the product to retrieveget-customers
searchQuery
(optional string): Filter customers by name or emaillimit
(optional number, default: 10): Maximum number of customers to returnupdate-customer
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 dataget-customer-orders
customerId
(string, required): Shopify customer ID (numeric ID only, like "6276879810626")limit
(optional number, default: 10): Maximum number of orders to returnget-orders
status
(optional string): Filter by order statuslimit
(optional number, default: 10): Maximum number of orders to returnget-order-by-id
orderId
(string, required): Full Shopify order ID (e.g., "gid://shopify/Order/6090960994370")update-order
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 informationIf you encounter issues, check Claude Desktop's MCP logs:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
MIT
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by Skyvern-AI
Skyvern automates browser-based workflows using LLMs and computer vision, offering a robust solution for repetitive online tasks.
by PipedreamHQ
Connect APIs quickly, run event‑driven automations, and execute custom code in Node.js, Python, Go, or Bash on a hosted platform.
by czlonkowski
Provides AI assistants with structured access to n8n node documentation, properties, and operations, enabling automated workflow creation, validation, and management.
by executeautomation
mcp-playwright is a Model Context Protocol (MCP) server that enables large language models (LLMs) to perform browser automation and web scraping tasks using Playwright.
by browserbase
Provides cloud browser automation capabilities for LLMs, enabling web navigation, interaction, screenshot capture, and data extraction through Browserbase and Stagehand.
by haris-musa
excel-mcp-server is a Python-based Model Context Protocol (MCP) server that enables AI agents to programmatically create, read, and modify Excel files without requiring Microsoft Excel to be installed.
by mobile-next
Mobile-mcp is a Model Context Protocol (MCP) server designed for scalable mobile automation, app scraping, and development across iOS and Android devices, including physical devices, simulators, and emulators.
by anaisbetts
mcp-installer is an MCP server designed to automate the installation of other MCP servers, simplifying the process for users.
by leonardsellem
An MCP server that enables AI assistants to interact with n8n workflows through natural language.