shopify-mcp
MCP server for the Shopify Admin API, enabling 36 tools for managing products, orders, customers, inventory, fulfillments, collections, analytics, marketing, content, and webhooks.
README
shopify-mcp
MCP server for the Shopify Admin API — 36 tools for products, orders, customers, inventory, fulfillments, collections, analytics, marketing, content, and webhooks.
Tools
Products (5)
| Tool | Description |
|---|---|
list_products |
List/filter products by title, vendor, type, collection, status |
get_product |
Detailed product info with variants, images, metafields |
search_products |
Full-text search across titles, vendors, tags, SKUs |
product_count |
Count products matching filters |
list_collections |
List smart and custom collections |
Orders (5)
| Tool | Description |
|---|---|
list_orders |
List/filter orders by status, dates, fulfillment |
get_order |
Detailed order with line items, shipping, fulfillments |
recent_orders |
Most recent N orders |
unfulfilled_orders |
Orders waiting for fulfillment |
order_count |
Count orders matching filters |
Customers (3)
| Tool | Description |
|---|---|
search_customers |
Search by name, email, phone |
get_customer |
Customer details with addresses and order history |
top_customers |
Ranked by total spend or order count |
Inventory (4)
| Tool | Description |
|---|---|
check_inventory |
Inventory levels across locations for a product |
list_locations |
All warehouse/store locations |
low_stock_products |
Products below inventory threshold |
adjust_inventory |
Adjust inventory at a location |
Collections (3)
| Tool | Description |
|---|---|
get_collection |
Collection details with product count and rules |
collection_products |
Products within a specific collection |
create_smart_collection |
Create automated collections with rules |
Fulfillments (3)
| Tool | Description |
|---|---|
list_fulfillments |
Fulfillments for an order with tracking |
create_fulfillment |
Create fulfillment with tracking info |
fulfillment_status_summary |
Order counts by fulfillment status |
Analytics (2)
| Tool | Description |
|---|---|
store_summary |
Today's orders, revenue, fulfillment breakdown |
sales_by_product |
Revenue and units by product for a date range |
Marketing (4)
| Tool | Description |
|---|---|
list_price_rules |
List all price rules |
get_price_rule |
Price rule details with conditions |
create_discount_code |
Create discount code for a price rule |
list_discount_codes |
List codes for a price rule |
Content (4)
| Tool | Description |
|---|---|
list_blogs |
List blog entries |
list_pages |
List store pages |
get_metafields |
Get metafields for any resource |
set_metafield |
Create or update a metafield |
Webhooks (3)
| Tool | Description |
|---|---|
list_webhooks |
List registered webhooks |
create_webhook |
Register a new webhook |
delete_webhook |
Remove a webhook |
Setup
Install
git clone https://github.com/ExpertVagabond/shopify-mcp.git
cd shopify-mcp
npm install && npm run build
Get a Shopify Access Token
- In Shopify admin: Settings > Apps and sales channels > Develop apps
- Create app, configure Admin API scopes:
read_products,write_products,read_orders,write_ordersread_customers,read_inventory,write_inventory,read_locationsread_fulfillments,write_fulfillments
- Install and copy the Admin API access token
Claude Desktop / Claude Code Config
{
"mcpServers": {
"shopify": {
"command": "node",
"args": ["/path/to/shopify-mcp/dist/index.js"],
"env": {
"SHOPIFY_STORE_DOMAIN": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Rate Limiting
Built-in Shopify rate limiting:
- Monitors
X-Shopify-Shop-Api-Call-Limitheader - Proactive throttling when approaching the limit
- Respects
Retry-Afteron 429 responses - Exponential backoff on 5xx errors
- Up to 3 retries for transient failures
Architecture
src/
index.ts MCP server setup, 36 tool registrations
api.ts Shopify REST client (rate limiting, pagination, retries)
tools/
products.ts Product listing, search, count
orders.ts Order listing, details, counts
customers.ts Customer search, details, ranking
inventory.ts Stock levels, locations, adjustments
collections.ts Collection management
fulfillments.ts Fulfillment creation, tracking
analytics.ts Store summary, sales reports
marketing.ts Price rules, discount codes
content.ts Blogs, pages, metafields
webhooks.ts Webhook management
Built with TypeScript strict mode, @modelcontextprotocol/sdk (stdio transport), Shopify Admin REST API 2024-10, cursor-based pagination, zero external HTTP dependencies.
License
Author
Built by Purple Squirrel Media
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.