Shopify MCP Server
@kimcchq
About Shopify MCP Server
No overview available yet
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": "",
"MYSHOPIFY_DOMAIN": ""
}
}
}
}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?
Shopify MCP Server is a Model Context Protocol server that integrates with the Shopify GraphQL Admin API, enabling AI assistants to manage store data. It provides tools for managing products, customers, orders, discounts, draft orders, collections, webhooks, and shop details. It is intended for Shopify store owners and developers who want to interact with their store programmatically via MCP-compatible clients like Claude Desktop.
How to use Shopify MCP Server?
Clone the repository, install dependencies (npm install), create a .env file with SHOPIFY_ACCESS_TOKEN and MYSHOPIFY_DOMAIN, build the project (npm run build), and start the server (npm start). For Claude Desktop, add a configuration entry in claude_desktop_config.json using npx -y shopify-mcp-server and the required environment variables.
Key features of Shopify MCP Server
- Product management with search and retrieval
- Customer data loading and tag management
- Advanced order querying and filtering
- Discount and draft order creation
- Webhook subscription, finding, and unsubscription
Use cases of Shopify MCP Server
- Search for products by title and retrieve detailed variant information
- Query orders with advanced filters, sorting, and pagination
- Create and manage discount codes for promotional campaigns
- Create and complete draft orders with line items and shipping addresses
- Add or remove customer tags for segmentation and marketing
FAQ from Shopify MCP Server
What dependencies does Shopify MCP Server require?
The server depends on @modelcontextprotocol/sdk for MCP, graphql-request for Shopify GraphQL calls, and zod for runtime type validation.
How do I set up authentication for Shopify MCP Server?
Create a custom app in your Shopify admin, configure the required Admin API scopes (read_products, write_products, read_customers, write_customers, read_orders, write_orders), install the app, and copy the Admin API access token. Set SHOPIFY_ACCESS_TOKEN and MYSHOPIFY_DOMAIN in your environment.
How do I run tests for Shopify MCP Server?
Tests use Jest with mocks to avoid real API calls. Run npm test to execute all tests, or npm test -- --coverage for a coverage report.
Where does store data live?
Data is fetched directly from the Shopify API via GraphQL; no data is stored locally by the server.
What transport or authentication method does Shopify MCP Server use?
The server uses HTTP to communicate with the Shopify GraphQL Admin API and authenticates via the Admin API access token provided in the environment variables.
Frequently asked questions
What dependencies does Shopify MCP Server require?
The server depends on `@modelcontextprotocol/sdk` for MCP, `graphql-request` for Shopify GraphQL calls, and `zod` for runtime type validation.
How do I set up authentication for Shopify MCP Server?
Create a custom app in your Shopify admin, configure the required Admin API scopes (`read_products`, `write_products`, `read_customers`, `write_customers`, `read_orders`, `write_orders`), install the app, and copy the Admin API access token. Set `SHOPIFY_ACCESS_TOKEN` and `MYSHOPIFY_DOMAIN` in your environment.
How do I run tests for Shopify MCP Server?
Tests use Jest with mocks to avoid real API calls. Run `npm test` to execute all tests, or `npm test -- --coverage` for a coverage report.
Where does store data live?
Data is fetched directly from the Shopify API via GraphQL; no data is stored locally by the server.
What transport or authentication method does Shopify MCP Server use?
The server uses HTTP to communicate with the Shopify GraphQL Admin API and authenticates via the Admin API access token provided in the environment variables.
Basic information
More Other MCP servers
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Comments