Shopify MCP Server
@MCP-Mirror
About Shopify MCP Server
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"-y",
"shopify-mcp-server"
],
"env": {
"SHOPIFY_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>",
"MYSHOPIFY_DOMAIN": "<YOUR_SHOP>.myshopify.com"
}
}
}
}Tools
18`searchTitle` (optional string): Filter products by title
Formatted product details including title, description, handle, and variants
`collectionId` (string): ID of the collection to get products from
Formatted product details from the specified collection
`productIds` (array of strings): Array of product IDs to retrieve
Formatted product details for the specified products
`variantIds` (array of strings): Array of variant IDs to retrieve
Detailed variant information including product details
`limit` (optional number): Maximum number of customers to return
Customer data in JSON format
`customerId` (string): Customer ID to tag
Success or failure message
`first` (optional number): Limit of orders to return
Formatted order details
`orderId` (string): ID of the order to retrieve
Detailed order information
`title` (string): Title of the discount
Created discount details
Overview
What is Shopify MCP Server?
A Model Context Protocol server that connects to the Shopify GraphQL Admin API, enabling AI assistants to manage store data. It provides tools for interacting with products, customers, orders, discounts, collections, webhooks, and shop details.
How to use Shopify MCP Server?
Create a custom Shopify app and obtain an Admin API access token with the required scopes. Then configure the server by setting the SHOPIFY_ACCESS_TOKEN and MYSHOPIFY_DOMAIN environment variables in your MCP client (e.g., Claude Desktop). Invoke the server via npx -y shopify-mcp-server. Alternatively, clone the repository, run npm install, create a .env file, build with npm run build, and test with npm test.
Key features of Shopify MCP Server
- Product management: search, retrieve, and filter by collection or IDs
- Customer management: load customers and add tags
- Order management: query, filter, sort, and retrieve single orders
- Discount creation: percentage or fixed amount discount codes
- Draft order creation and completion
- Webhook management: subscribe, find, and unsubscribe webhooks
- Shop details: basic and extended information including shipping countries
- GraphQL integration with comprehensive error handling
Use cases of Shopify MCP Server
- Search for products by title or collection and display details
- Manage customer records by loading profiles and tagging them
- Retrieve and filter orders to support customer service workflows
- Create discount codes programmatically for promotions
- Set up and manage webhooks to trigger external processes
FAQ from Shopify MCP Server
What API does the server connect to?
It connects to Shopify’s GraphQL Admin API to read and write store data.
What permissions does the custom app need?
The custom app requires Admin API scopes: read_products, write_products, read_customers, write_customers, read_orders, and write_orders.
How do I configure the server for use?
Set the environment variables SHOPIFY_ACCESS_TOKEN (your custom app’s access token) and MYSHOPIFY_DOMAIN (your store’s .myshopify.com domain) in your MCP client configuration.
What are the main dependencies?
The server uses @modelcontextprotocol/sdk for the MCP protocol, graphql-request as the GraphQL client, and zod for runtime type validation.
Where does the data live?
All data stays within Shopify’s servers; the MCP server only facilitates API calls and never stores user data locally.
More Other MCP servers
Servers
modelcontextprotocolModel Context Protocol Servers
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Awesome Mlops
visengerA curated list of references for MLOps
Comments