- Home
- MCP servers
- Shopify
Shopify
- typescript
4
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"smithery-ai-shopify-mcp-server-main-1": {
"command": "npx",
"args": [
"-y",
"shopify-mcp-server"
],
"env": {
"MYSHOPIFY_DOMAIN": "<YOUR_SHOP>.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>"
}
}
}
}This MCP Server provides a direct pathway to work with Shopify store data through a GraphQL-powered interface. You can manage products, customers, orders, discounts, drafts, webhooks, and more via a cohesive set of endpoints and tools that integrate with Shopify’s Admin API.
How to use
Set up the MCP server in your environment and connect with your MCP client to start querying and manipulating Shopify data. The server exposes a rich set of tools to fetch products, customers, and orders, as well as to create discounts, manage drafts, and subscribe to webhooks. Use the client to invoke specific tools by name and pass the required inputs. If you need to filter results or paginate through large datasets, use the provided inputs to control limits and cursors.
How to install
Prerequisites: Node.js and npm must be installed on your system. Ensure you have an active Shopify Admin API access token and the store domain ready for configuration.
# Install the MCP server client if you will run it via a package runner
npm install -g
# Or use the local project setup as described below
Additional notes
Configuration uses environment variables to securely provide access to Shopify data. You will obtain an access token by creating a custom Shopify app with the necessary Admin API scopes. Provide the token and your store domain to the MCP client as shown in the setup example.
Available tools
get-products
Fetch all products or search by title. Returns formatted product details including title, description, handle, and variants.
get-products-by-collection
Retrieve products from a specific collection by collectionId and optional limit. Returns formatted product details from the collection.
get-products-by-ids
Get products by their IDs and return detailed product information for the specified IDs.
update-product-price
Update the price of a product identified by productId and return the update result.
get-variants-by-ids
Fetch detailed information for product variants by their IDs.
get-customers
Retrieve Shopify customers with optional pagination using limit and next cursor.
tag-customer
Add one or more tags to a specific customer by customerId.
get-orders
Query orders with advanced filters and sorting, supporting pagination and complex queries.
get-order
Retrieve a single order by its orderId and return detailed information.
create-discount
Create a basic discount code with configurable type (percentage or fixed amount) and validity window.
create-draft-order
Create a draft order with line items, customer email, shipping address, and optional note.
complete-draft-order
Finalize a draft order by providing the draftOrderId and the selected variant.
get-collections
Fetch all collections with optional name filtering and limit.
get-shop
Retrieve basic shop details.
get-shop-details
Retrieve extended shop details including shipping countries.
manage-webhook
Subscribe, find, or unsubscribe webhooks for specified topics and callback URLs.