Interact with Shopify store data such as products, customers, and orders using the GraphQL API.
MCP Server for Shopify API, enabling interaction with store data (products, customers, orders, etc.) via GraphQL.
Provides tools for product, customer, and order management, direct GraphQL integration, and clear error handling.
git clone https://github.com/pashpashpash/shopify-mcp-server.git
cd shopify-mcp-server
npm install
npm run build
read/write
permissions for products
, customers
, and orders
..env
file in the project root:
SHOPIFY_ACCESS_TOKEN=your_access_token
MYSHOPIFY_DOMAIN=your-store.myshopify.com
claude_desktop_config.json
):
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"shopify": {
"command": "node",
"args": ["path/to/shopify-mcp-server/dist/index.js"],
"env": {
"SHOPIFY_ACCESS_TOKEN": "your_access_token",
"MYSHOPIFY_DOMAIN": "your-store.myshopify.com"
}
}
}
}
Note: Use the correct path to the cloned repo and store your token securely.findProducts
: Get all products or search by title.
searchTitle
(optional string): Filter by title.limit
(number): Max products.listProductsInCollection
: Get products from a collection.
collectionId
(string): Collection ID.limit
(optional number, default: 10): Max products.getProductsByIds
: Get products by IDs.
productIds
(array of strings): Product IDs.getVariantsByIds
: Get variants by IDs.
variantIds
(array of strings): Variant IDs.listCustomers
: Get customers with pagination.
limit
(optional number): Max customers.next
(optional string): Next page cursor.addCustomerTags
: Add tags to a customer.
customerId
(string): Customer ID.tags
(array of strings): Tags to add.findOrders
: Get orders with advanced filtering/sorting.
first
(optional number): Limit orders.after
(optional string): Next page cursor.query
(optional string): Filter query.sortKey
(optional enum): Sort field.reverse
(optional boolean): Reverse sort.getOrderById
: Get a single order by ID.
orderId
(string): Order ID.createDraftOrder
: Create a draft order.
lineItems
(array): Items (variantId, quantity).email
(string): Customer email.shippingAddress
(object): Shipping details.note
(optional string): Order note.completeDraftOrder
: Complete a draft order.
draftOrderId
(string): Draft order ID.variantId
(string): Variant ID.createDiscountCode
: Create a basic discount code.
title
(string): Discount title.code
(string): Discount code.valueType
(enum): 'percentage' or 'fixed_amount'.value
(number): Discount value.startsAt
(string): Start date (ISO).endsAt
(optional string): End date (ISO).appliesOncePerCustomer
(boolean): Limit one use per customer.listCollections
: Get all collections.
limit
(optional number, default: 10): Max collections.name
(optional string): Filter by name.getShopDetails
: Get basic shop details (No inputs).getExtendedShopDetails
: Get extended shop details (No inputs).manageWebhooks
: Manage webhooks.
action
(enum): 'subscribe', 'find', 'unsubscribe'.callbackUrl
(string): Webhook URL.topic
(enum): Webhook topic.webhookId
(optional string): Required for unsubscribe.debugGetVariantMetafield
: Get variant & size_chart_json
metafield.
variantId
(string): Variant GID.introspect_admin_schema
: Introspect Admin API GraphQL schema.
query
(string): Filter term.filter
(optional array): Filter by 'types', 'queries', 'mutations', 'all'.search_dev_docs
: Search shopify.dev docs.
prompt
(string): Search query.Check Claude Desktop MCP logs:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
Common issues:
npm install
npm run build
npm test
MIT
Note: Fork of original shopify-mcp-server repository
Get prescriptive CDK advice, explain CDK Nag rules, check suppressions, generate Bedrock Agent schemas, and discover AWS Solutions Constructs patterns.
Converts various file formats to Markdown using Cloudflare AI.
Exposes Check Point security management data for AI-powered automation and analysis.
Administer Keycloak by managing users, realms, roles, and other resources through an LLM interface.
An MCP server for processing payments using stdio transport, configured via environment variables.
A remote MCP server deployable on Cloudflare Workers without authentication.
Integrates with Google Play Store command-line tools, enabling AI assistants to manage apps via the Play Console API.
Provides comprehensive analytics for Solana wallets, including real-time portfolio insights and detailed DeFi activity tracking.
Interact with the Brex API to manage financial data and resources.
Access Axiom logs through an MCP server. Requires an Axiom API token.