Shopify MCP Server
Provides full access to the Shopify Admin GraphQL API through 75 tools for managing products, orders, customers, inventory, and analytics. It supports both static token and OAuth authentication while featuring cost-aware rate limiting for efficient store management.
README
Shopify MCP Server
A Model Context Protocol (MCP) server that provides full access to the Shopify Admin GraphQL API. Covers the complete merchant experience with 75 tools spanning products, orders, customers, inventory, collections, discounts, analytics, fulfillment, and more.
Features
- Full Shopify Admin API coverage — 75 MCP tools matching the Shopify mobile app's capabilities
- Dual authentication — Static access token for quick setup, OAuth client credentials for production
- GraphQL Admin API — Uses Shopify's modern GraphQL API (2026-01 version)
- Cost-aware rate limiting — Tracks Shopify's throttle bucket and backs off automatically
- ShopifyQL analytics — Sales, orders, inventory, financial, and top products reports
- TypeScript — Full type safety with strict mode
| Category | Tools |
|---|---|
| Products | list-products, get-product, create-product, update-product, delete-product, search-products, list-product-variants, create-product-variant, update-product-variant, delete-product-variant, manage-product-options, manage-product-images |
| Orders | list-orders, get-order, cancel-order, close-order, reopen-order, update-tracking, create-refund, calculate-refund, list-order-risks, add-order-note, list-order-transactions |
| Customers | list-customers, get-customer, create-customer, update-customer, delete-customer, search-customers, merge-customers, manage-customer-addresses |
| Discounts | list-discount-codes, create-discount-code, update-discount-code, delete-discount-code, create-automatic-discount, delete-automatic-discount |
| Inventory | list-inventory-levels, adjust-inventory, set-inventory, list-inventory-items, move-inventory |
| Collections | list-collections, get-collection, create-collection, update-collection, manage-collection-products |
| Draft Orders | list-draft-orders, get-draft-order, create-draft-order, update-draft-order, complete-draft-order |
| Analytics | get-sales-report, get-orders-report, get-inventory-report, get-financial-summary, get-top-products |
| Shop | get-shop-info, list-shop-policies, list-payment-settings, list-currencies |
| Metafields | list-metafields, get-metafield, set-metafield, delete-metafield |
| Fulfillment | list-fulfillment-orders, create-fulfillment, cancel-fulfillment, list-fulfillment-services |
| Locations | list-locations, get-location, list-location-inventory |
| Marketing | list-marketing-events, create-marketing-event, get-marketing-activity |
Installation
From source
git clone https://github.com/aserper/shopify-mcp.git
cd shopify-mcp
npm install
npm run build
Docker
docker pull ghcr.io/aserper/shopify-mcp:latest
Configuration
Create a Custom App in Shopify Admin → Settings → Apps and sales channels → Develop apps, or register an app in the Shopify Partners Dashboard.
| Variable | Required | Description |
|---|---|---|
SHOPIFY_STORE_DOMAIN |
Yes | Your store domain (e.g. my-store.myshopify.com) |
SHOPIFY_ACCESS_TOKEN |
Option 1 | Admin API access token from a Custom App |
SHOPIFY_CLIENT_ID |
Option 2 | OAuth client ID from Partners Dashboard |
SHOPIFY_CLIENT_SECRET |
Option 2 | OAuth client secret from Partners Dashboard |
SHOPIFY_API_VERSION |
No (default: 2026-01) |
Shopify API version |
Copy .env.example to .env and fill in your credentials:
cp .env.example .env
Usage
Claude Desktop Configuration
{
"mcpServers": {
"shopify": {
"command": "node",
"args": ["/path/to/shopify-mcp/dist/index.js"],
"env": {
"SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxx"
}
}
}
}
Claude Code
claude mcp add shopify-mcp \
-e SHOPIFY_ACCESS_TOKEN=shpat_xxxxx \
-e SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
-- node /path/to/shopify-mcp/dist/index.js
Docker
docker run --rm \
-e SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
-e SHOPIFY_ACCESS_TOKEN=shpat_xxxxx \
ghcr.io/aserper/shopify-mcp:latest
Authentication
Static Token — Generate an Admin API access token from a Custom App in your Shopify admin. Simplest setup, token doesn't expire unless revoked.
OAuth Client Credentials — Create an app in the Shopify Partners Dashboard. The server exchanges your client ID and secret for an access token automatically at startup.
Development
npm install # Install dependencies
npm run build # Compile TypeScript
npm test # Run tests
npm run dev # Watch mode
npm run lint # Type check
Disclaimer
This project is not affiliated with, endorsed by, or sponsored by Shopify Inc. It is an independent, open-source tool that interacts with Shopify's publicly available APIs. "Shopify" is a registered trademark of Shopify Inc.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。