Shopify MCP Server
Provides read-only tools for interacting with a Shopify store, including searching orders, checking inventory, looking up customers, and generating sales summaries.
Shopify MCP Server
An MCP (Model Context Protocol) server that connects Claude to your Shopify store via the Admin REST API. Provides read-only tools for searching orders, checking inventory, looking up customers, and generating sales summaries.
Tools
Tool | Description |
| Search orders by status, date range, or customer email |
| Look up inventory levels by product title or ID |
| Find customers by email, name, or phone |
| Revenue summary with top products for a date range |
Related MCP server: Shopify MCP Pro
Quick Start
1. Install
npm install -g @buildwithabid/shopify-mcp-serverOr clone locally:
git clone https://github.com/buildwithabid/shopify-mcp.git
cd shopify-mcp
npm install && npm run build2. Configure
Create a custom app at dev.shopify.com with these Admin API scopes:
read_ordersread_productsread_customers
For apps created after Jan 2026 (Dev Dashboard — tokens auto-refresh every 24h):
export SHOPIFY_STORE_URL=https://your-store.myshopify.com
export SHOPIFY_CLIENT_ID=your_client_id
export SHOPIFY_CLIENT_SECRET=your_client_secretGet your client_id and client_secret from Dev Dashboard → your app → Settings → Client credentials. The server handles token generation and refresh automatically.
For legacy apps (static token):
export SHOPIFY_STORE_URL=https://your-store.myshopify.com
export SHOPIFY_ACCESS_TOKEN=shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx3. Run
shopify-mcp-server
# Listens on http://127.0.0.1:3000/mcp - this machine onlyThe server holds your Shopify Admin token, so by default it only accepts requests from the same machine
(it binds to 127.0.0.1 and checks the Host/Origin headers). To reach it from another machine or a container,
set a token and the bind address; it refuses to start on a non-local address without one:
export MCP_AUTH_TOKEN=$(openssl rand -hex 32) # clients send: Authorization: Bearer <token>
export HOST=0.0.0.0
shopify-mcp-server4. Add to Claude Code
claude mcp add shopify-mcp --transport http http://localhost:3000/mcp
# remote / Docker (with MCP_AUTH_TOKEN set on the server):
claude mcp add shopify-mcp --transport http http://your-host:3000/mcp --header "Authorization: Bearer $MCP_AUTH_TOKEN"Then ask Claude things like:
"Show me all open orders from last week"
"Is the Blue T-Shirt XL in stock?"
"Look up customer john@example.com"
"What was our revenue last month?"
Docker
docker build -t shopify-mcp .
docker run -p 127.0.0.1:3000:3000 \
-e MCP_AUTH_TOKEN=$(openssl rand -hex 32) \
-e SHOPIFY_ACCESS_TOKEN=shpat_xxx \
-e SHOPIFY_STORE_URL=https://your-store.myshopify.com \
shopify-mcpSecurity
1.1.1 (October 2026): versions up to 1.1.0 listened on all network interfaces with no authentication on /mcp,
so anyone who could reach the port could call the tools with the server's Shopify token. 1.1.1 binds to 127.0.0.1
by default, requires MCP_AUTH_TOKEN for any other bind address, and rejects non-local Host/Origin headers in
local mode. Upgrade with npm i -g @buildwithabid/shopify-mcp-server@latest. Thanks to 0xwaidwerk
(Christian Terorde) for the private report.
Report security issues privately to support@bizfilo.com.
Development
cp .env.example .env # fill in your credentials
npm run dev # runs with tsxLicense
MIT
Available for MCP work — tool surface reviews, production builds, and keeping them running afterwards. Scope and fixed prices: The Write Path
Built by Abid Ali, who runs a guarded MCP server over live invoices and statutory filing deadlines every working day. 📬 support@bizfilo.com
This server cannot be deployed
Maintenance
Related MCP Connectors
Shopify MCP Pack — wraps the Shopify Admin REST API (2024-01)
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.
MerchantFlow is a hosted, read-only ecommerce analytics MCP server for Shopify and WooCommerce. It gives AI assistants tenant-scoped access to revenue, profit and loss, product and SKU profitability, COGS coverage, fulfillment costs, advertising spend, ROAS, marketing performance, cohorts, LTV, and business valuation across connected commerce and marketing platforms. Connect with OAuth over Streamable HTTP. No local server installation is required.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRead-only Shopify Admin API MCP server for business reporting, exposing tools like get_shop_summary, list_recent_orders, and search_products.2,024 npmMIT
- AlicenseCqualityDmaintenanceShopify MCP server with working analytics (ShopifyQL), auto-refresh auth, and Shopify API 2026-04. Fixed broken tools from other packages real sales reports, no silent token expiry, no runtime crashes5262 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProduction-grade MCP server for the Shopify Admin GraphQL API, exposing typed tools for AI agents to manage products, orders, customers, and more.31 npmMIT
- AlicenseAqualityAmaintenanceA read-only MCP server that exposes the full Shopify Admin GraphQL API through 6 universal tools, with multi-store support and mutation rejection at the parser level for safety.629 PyPI1MIT