shopify-mcp-pro
v2.0.5Shopify MCP server with real analytics (ShopifyQL), auto-refresh auth, and Shopify API 2026-04.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
listProducts
List products from the Shopify store
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number | |
query | string | |
reverse | boolean | |
sortKey | string |
getProduct
Get a specific product by ID
| Parameter | Type | Description |
|---|---|---|
id * | string | The product ID (e.g., gid://shopify/Product/123) |
createProduct
Create a new product
| Parameter | Type | Description |
|---|---|---|
title * | string | |
description | string | |
productType | string | |
status | string | |
tags | array | |
variants | array | |
vendor | string |
updateProduct
Update an existing product
| Parameter | Type | Description |
|---|---|---|
id * | string | The product ID to update |
description | string | |
productType | string | |
status | string | |
tags | array | |
title | string | |
vendor | string |
listOrders
List orders from the Shopify store
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
financialStatus | string | |
fulfillmentStatus | string | |
limit | number | |
query | string | |
status | string |
getOrder
Get a specific order by ID
| Parameter | Type | Description |
|---|---|---|
id * | string | The order ID (e.g., gid://shopify/Order/123) |
listCustomers
List customers from the Shopify store
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number | |
query | string | |
reverse | boolean | |
sortKey | string |
getCustomer
Get a specific customer by ID
| Parameter | Type | Description |
|---|---|---|
id * | string | The customer ID (e.g., gid://shopify/Customer/123) |
getInventoryLevels
Get inventory levels for a product variant
| Parameter | Type | Description |
|---|---|---|
inventoryItemId * | string | The inventory item ID |
adjustInventory
Adjust inventory quantity
| Parameter | Type | Description |
|---|---|---|
inventoryItemId * | string | |
locationId * | string | |
quantity * | number |
setMetafield
Set a metafield on a resource
| Parameter | Type | Description |
|---|---|---|
key * | string | |
namespace * | string | |
ownerId * | string | The ID of the resource to attach the metafield to |
value * | string | |
type | string |
listCollections
List collections from the Shopify store
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number | |
query | string |
listLocations
List all store locations
getShopInfo
Get shop information and analytics
listDiscounts
List discount codes and automatic discounts
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number | |
query | string | |
savedSearchId | string |
createDiscountCode
Create a discount code
| Parameter | Type | Description |
|---|---|---|
code * | string | |
customerGets * | object | |
title * | string | |
appliesOncePerCustomer | boolean | |
customerSelection | string | |
endsAt | string | |
minimumRequirement | object | |
startsAt | string | |
usageLimit | number |
listFulfillmentOrders
List fulfillment orders
| Parameter | Type | Description |
|---|---|---|
assignedLocationId | string | |
cursor | string | |
limit | number | |
status | string |
createFulfillment
Create a fulfillment for an order
| Parameter | Type | Description |
|---|---|---|
lineItems * | array | |
orderId * | string | The order ID to fulfill |
locationId | string | |
notifyCustomer | boolean | |
trackingInfo | object |
getShippingZones
Get shipping zones and rates
| Parameter | Type | Description |
|---|---|---|
limit | number |
listTransactions
List transactions for an order
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID |
createRefund
Create a refund for an order
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID to refund |
lineItems | array | |
note | string | |
notify | boolean | |
refundDuties | boolean | |
shipping | object |
listGiftCards
List gift cards
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number | |
query | string |
createGiftCard
Create a gift card
| Parameter | Type | Description |
|---|---|---|
initialValue * | string | The initial value (e.g., "100.00") |
code | string | |
expiresOn | string | |
note | string | |
recipientEmail | string | |
recipientMessage | string |
listPages
List store pages
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number |
createPage
Create a new page
| Parameter | Type | Description |
|---|---|---|
content * | string | |
title * | string | |
handle | string | |
metafields | array | |
published | boolean |
listBlogs
List blogs
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number |
createArticle
Create a blog article
| Parameter | Type | Description |
|---|---|---|
blogId * | string | The blog ID |
content * | string | |
title * | string | |
image | object | |
published | boolean | |
publishedAt | string | |
summary | string | |
tags | array |
createRedirect
Create a URL redirect
| Parameter | Type | Description |
|---|---|---|
path * | string | The old path to redirect from |
target * | string | The new path or URL to redirect to |
listThemes
List installed themes
listWebhooks
List configured webhooks
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number |
createWebhook
Create a webhook subscription
| Parameter | Type | Description |
|---|---|---|
callbackUrl * | string | The URL to receive webhook notifications |
topic * | string | The webhook topic (e.g., ORDERS_CREATE) |
format | string | |
includeFields | array |
listDraftOrders
List draft orders
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number | |
query | string |
createDraftOrder
Create a draft order
| Parameter | Type | Description |
|---|---|---|
lineItems * | array | |
billingAddress | object | |
customerId | string | |
email | string | |
note | string | |
shippingAddress | object | |
tags | array |
listMetaobjectDefinitions
List all metaobject type definitions configured in the store. Use this to discover valid `type` values (e.g. `shopify--color-pattern`, `product.material`) before calling listMetaobjects. Returns id/type/name/description + field schema per definition.
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number |
listMetaobjects
List metaobjects of a given type. The `type` arg must match a definition exactly (case-sensitive identifier like `shopify--color-pattern`). Run listMetaobjectDefinitions first to discover what types exist in this store. Non-existent type → empty result, not error.
| Parameter | Type | Description |
|---|---|---|
type * | string | The metaobject type (exact case-sensitive identifier) |
cursor | string | |
limit | number |
createMetaobject
Create a metaobject
| Parameter | Type | Description |
|---|---|---|
fields * | array | |
type * | string | The metaobject type |
listMarkets
List configured markets
| Parameter | Type | Description |
|---|---|---|
limit | number |
listPriceRules
List discounts (covers code, automatic, BxGy, free-shipping). Replaces deprecated priceRules query with discountNodes in 2026-04+.
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number |
listAbandonedCheckouts
List abandoned checkouts
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number | |
query | string |
runShopifyQL
Run an arbitrary ShopifyQL analytics query against the store. Same data as Admin → Analytics. Canonical clause order: FROM → SHOW → WHERE → SINCE/UNTIL/DURING → GROUP BY → ORDER BY → LIMIT. Dates are BARE (no quotes): `SINCE 2026-01-01 UNTIL today` or relative `SINCE -30d UNTIL today`. Use `GROUP BY` (full keyword), not `BY`. Dimensions in SHOW must also appear in GROUP BY. Verified datasets: `sales` (metrics: total_sales, gross_sales, net_sales, orders, average_order_value; dims: product_title, billing_country, customer_type), `sessions` (metrics: sessions, online_store_visitors…
| Parameter | Type | Description |
|---|---|---|
query * | string | Raw ShopifyQL query string |
getSalesReport
Sales analytics via ShopifyQL. Default columns: total_sales, gross_sales, net_sales, total_orders, average_order_value over the date range. Pass `query` to override with raw ShopifyQL.
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
granularity | string | |
query | string | Optional raw ShopifyQL query to override the default |
getProductAnalytics
Get product performance analytics
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
limit | number | |
productIds | array | |
sortBy | string |
getCustomerAnalytics
Get customer behavior analytics
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
metrics | array |
getInventoryReport
Get inventory analytics and forecasting
| Parameter | Type | Description |
|---|---|---|
forecastDays | number | |
includeForecasting | boolean | |
locationIds | array | |
productIds | array |
getMarketingReport
Get marketing campaign performance
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
campaignIds | array | |
channels | array |
getFinancialSummary
Get financial summary including revenue, expenses, and profit
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
groupBy | string | |
includeRefunds | boolean | |
includeShipping | boolean | |
includeTaxes | boolean |
getConversionReport
Product performance via ShopifyQL. Default: top 25 products by total_sales over date range. Pass `query` to override with raw ShopifyQL (e.g. session/conversion-funnel queries).
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
query | string | Optional raw ShopifyQL query to override the default |
getAbandonmentReport
Get cart and checkout abandonment analytics
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
groupBy | string |
getTrafficReport
Orders grouped by traffic source via ShopifyQL. Default: total_sales/orders/AOV by referrer_source. Pass `query` to override.
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (YYYY-MM-DD) |
startDate * | string | Start date (YYYY-MM-DD) |
query | string | Optional raw ShopifyQL query to override the default |
getCustomReport
Alias for runShopifyQL — pass a raw ShopifyQL string in `query`. See runShopifyQL description for syntax.
| Parameter | Type | Description |
|---|---|---|
query * | string | Raw ShopifyQL query — bare dates, GROUP BY full keyword, verified datasets only |
listCompanies
List B2B companies
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | number |
createCompany
Create a B2B company
| Parameter | Type | Description |
|---|---|---|
name * | string | |
contactEmail | string | |
contactPhone | string | |
externalId | string | |
note | string |