- Home
- MCP servers
- Shopify
Shopify
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 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": {
"mcp-mirror-amir-bengherbi_shopify-mcp-server": {
"command": "npx",
"args": [
"-y",
"shopify-mcp-server"
],
"env": {
"MYSHOPIFY_DOMAIN": "<YOUR_SHOP>.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>"
}
}
}
}This MCP Server lets you interact with Shopify data through a GraphQL API, enabling practical management of products, customers, orders, and store details from your MCP client. It exposes a set of tools that query, filter, and update store data in a structured way, with clear error handling and Shopify GraphQL integration.
How to use
You connect to the Shopify MCP Server from your MCP client and call the available tools to fetch data, run queries, or perform actions on your store. Start by configuring your client to point at the local MCP server or a running instance, then invoke the tools you need. Use the authentication token and store domain to authorize requests and ensure you have the necessary Shopify scopes for each operation. You can browse products, customers, orders, and collections, or create and manage discounts and draft orders as needed.
Typical usage patterns include retrieving product lists with optional title searches, loading customer data with pagination, querying orders with sorting and filtering, and creating drafts or final orders. You can also tag customers, subscribe to webhooks, and fetch extended shop details including shipping countries. Each tool returns structured data or status messages that you can display or feed into other workflows.
How to install
Prerequisites you need before starting: Node.js and npm installed on your machine.
Install and run the Shopify MCP Server using the provided command sequence. This example shows starting the server via a local MCP client configuration.
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": ["-y", "shopify-mcp-server"],
"env": {
"SHOPIFY_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>",
"MYSHOPIFY_DOMAIN": "<YOUR_SHOP>.myshopify.com"
}
}
}
}
Additional notes
The server supports a range of tools for product, customer, order, collection, and webhook management. Each tool accepts a defined set of inputs and returns structured results suitable for integration into dashboards or automation pipelines.
To configure access, you must create a Shopify custom app in your store and grant the necessary Admin API scopes (read and write for products, customers, and orders). Keep your access token secure and avoid exposing it in client-side code or version control.
Tools overview
The Shopify MCP Server provides a set of tools for interacting with store data. Use these to fetch, filter, and manage products, customers, orders, collections, and more.
Available tools
get-products
Retrieve all products or search by title with optional limit. Returns formatted product details including title, description, handle, and variants.
get-products-by-collection
Fetch products from a specific collection by collectionId with an optional limit and default of 10.
get-products-by-ids
Return formatted product details for the specified array of product IDs.
get-variants-by-ids
Fetch detailed information for product variants by their IDs.
get-customers
Load Shopify customers with pagination support using limit and next page cursor.
tag-customer
Add tags to a customer identified by customerId.
get-orders
Retrieve orders with advanced filtering and sorting options such as first, after, query, sortKey, and reverse.
get-order
Get a single order by its ID.
create-discount
Create a basic discount code with various parameters like title, code, value type, and validity period.
create-draft-order
Create a draft order with line items, customer email, shipping address, and optional note.
complete-draft-order
Complete a draft order by providing the draftOrderId and a variantId.
get-collections
Retrieve all collections with optional limit and name filtering.
get-shop
Fetch basic shop details.
get-shop-details
Fetch extended shop details, including shipping countries.
manage-webhook
Manage webhooks with actions like subscribe, find, or unsubscribe using provided topic/callback URL and optional webhookId.