home / mcp / shopify mcp server
Queries Shopify data via GraphQL MCP, enabling product, customer, and order management.
Configuration
View docs{
"mcpServers": {
"anass319-shopify-mcp": {
"command": "npx",
"args": [
"shopify-mcp",
"--accessToken",
"<YOUR_ACCESS_TOKEN>",
"--domain",
"<YOUR_SHOP>.myshopify.com"
],
"env": {
"MYSHOPIFY_DOMAIN": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "your_access_token"
}
}
}
}You can use the Shopify MCP Server to interact with Shopify store data through a GraphQL-based MCP interface. It enables you to manage products, customers, and orders via a unified set of functions, making it easier to build integrations and automation that rely on live store data.
To use this MCP server, install it locally or run it through your preferred MCP client, then connect using the provided command patterns. You will authenticate with your Shopify store using an access token and specify your store’s domain. Once connected, you can perform product, customer, and order operations through the available tools.
Prerequisites: install Node.js version 16 or higher.
Install the package globally (optional):
npm install -g shopify-mcpChoose one of the following approaches to run the MCP server. Use the command that matches how you prefer to run the server.
Option 1: Run via NPX (per-instance invocation)
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"shopify-mcp",
"--accessToken",
"<YOUR_ACCESS_TOKEN>",
"--domain",
"<YOUR_SHOP>.myshopify.com"
]
}
}
}If you prefer environment variables, create a .env file with your credentials and run the server using the same MCP command. You can also supply the values directly in the command line as shown above.
SHOPIFY_ACCESS_TOKEN=your_access_token
MYSHOPIFY_DOMAIN=your-store.myshopify.comYou can start the server directly after installation using the following command form.
npm install -g shopify-mcp
shopify-mcp --accessToken=<YOUR_ACCESS_TOKEN> --domain=<YOUR_SHOP>.myshopify.comRetrieve all products or search by title with optional limit to control results.
Fetch detailed information for a single product by its Shopify ID.
Create a new product in the store with title, description, vendor, type, tags, and status (ACTIVE, DRAFT, ARCHIVED).
Retrieve customers or search by name or email with an optional limit.
Update a customer's information including name, email, phone, tags, notes, tax exemptions, and metafields.
Retrieve orders for a specific customer with a limit.
Query orders with optional status filtering and limit.
Get a specific order by its full Shopify Order ID.
Update an existing order with tags, email, notes, custom attributes, metafields, and shipping address.