MCP Shopify Admin Server
Exposes Shopify Admin API capabilities to LLMs, enabling product, order, customer, and inventory management via natural language.
README
MCP Shopify Admin Server
An MCP (Model Context Protocol) server that exposes Shopify Admin API capabilities to LLMs like Claude.
Features
- Products: List, get, create, and update products
- Orders: List, get, fulfill, and cancel orders
- Customers: List and get customer details
- Inventory: Get inventory levels and adjust quantities
Prerequisites
- Node.js 18+
- A Shopify store with Admin API access
- An Admin API access token with the required scopes
Required API Scopes
Your Shopify Admin API access token needs these scopes:
read_products,write_productsread_orders,write_ordersread_customers,write_customersread_inventory,write_inventoryread_locations
Installation
-
Clone this repository:
git clone https://github.com/your-org/mcp-shopify-admin.git cd mcp-shopify-admin -
Install dependencies:
npm install -
Create a
.envfile with your Shopify credentials:cp .env.example .env -
Edit
.envwith your store domain and access token:SHOPIFY_STORE_DOMAIN=your-store.myshopify.com SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Usage
With Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"shopify": {
"command": "node",
"args": ["path/to/mcp-shopify-admin/src/index.js"],
"env": {
"SHOPIFY_STORE_DOMAIN": "your-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
With MCP Inspector
Test the server using the MCP Inspector:
npx @modelcontextprotocol/inspector node src/index.js
Standalone
Run the server directly (for debugging):
npm start
Available Tools
Products
| Tool | Description | Type |
|---|---|---|
shopify_list_products |
List products with filtering and pagination | Read |
shopify_get_product |
Get detailed product info by ID | Read |
shopify_create_product |
Create a new product | Write |
shopify_update_product |
Update an existing product | Write |
Orders
| Tool | Description | Type |
|---|---|---|
shopify_list_orders |
List orders with status filtering | Read |
shopify_get_order |
Get detailed order info by ID | Read |
shopify_fulfill_order |
Create fulfillment for an order | Write |
shopify_cancel_order |
Cancel an order | Write |
Customers
| Tool | Description | Type |
|---|---|---|
shopify_list_customers |
List customers with search | Read |
shopify_get_customer |
Get detailed customer info by ID | Read |
Inventory
| Tool | Description | Type |
|---|---|---|
shopify_get_inventory_levels |
Get inventory at locations | Read |
shopify_update_inventory |
Adjust inventory quantities | Write |
Response Formats
All tools support two response formats via the response_format parameter:
json(default): Structured JSON for programmatic usemarkdown: Human-readable formatted output
Examples
List Products
Use shopify_list_products to show me the first 10 products
Get Order Details
Use shopify_get_order with id "5123456789" and response_format "markdown"
Update Inventory
Use shopify_update_inventory to add 50 units to inventory item "12345" at location "67890"
Error Handling
The server provides clear error messages for common issues:
- 401 Unauthorized: Check your access token
- 403 Forbidden: Your token may lack required scopes
- 429 Rate Limited: Wait before making more requests
- 404 Not Found: The requested resource doesn't exist
License
MIT
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
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.