shopify-mcp-pro

v2.0.5
io.github.den-indance/shopify-mcp-pro Checked 1 day ago Published 6 months ago

Shopify 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

ParameterTypeDescription
cursorstring
limitnumber
querystring
reverseboolean
sortKeystring

getProduct

Get a specific product by ID

ParameterTypeDescription
id *stringThe product ID (e.g., gid://shopify/Product/123)

createProduct

Create a new product

ParameterTypeDescription
title *string
descriptionstring
productTypestring
statusstring
tagsarray
variantsarray
vendorstring

updateProduct

Update an existing product

ParameterTypeDescription
id *stringThe product ID to update
descriptionstring
productTypestring
statusstring
tagsarray
titlestring
vendorstring

listOrders

List orders from the Shopify store

ParameterTypeDescription
cursorstring
financialStatusstring
fulfillmentStatusstring
limitnumber
querystring
statusstring

getOrder

Get a specific order by ID

ParameterTypeDescription
id *stringThe order ID (e.g., gid://shopify/Order/123)

listCustomers

List customers from the Shopify store

ParameterTypeDescription
cursorstring
limitnumber
querystring
reverseboolean
sortKeystring

getCustomer

Get a specific customer by ID

ParameterTypeDescription
id *stringThe customer ID (e.g., gid://shopify/Customer/123)

getInventoryLevels

Get inventory levels for a product variant

ParameterTypeDescription
inventoryItemId *stringThe inventory item ID

adjustInventory

Adjust inventory quantity

ParameterTypeDescription
inventoryItemId *string
locationId *string
quantity *number

setMetafield

Set a metafield on a resource

ParameterTypeDescription
key *string
namespace *string
ownerId *stringThe ID of the resource to attach the metafield to
value *string
typestring

listCollections

List collections from the Shopify store

ParameterTypeDescription
cursorstring
limitnumber
querystring

listLocations

List all store locations

getShopInfo

Get shop information and analytics

listDiscounts

List discount codes and automatic discounts

ParameterTypeDescription
cursorstring
limitnumber
querystring
savedSearchIdstring

createDiscountCode

Create a discount code

ParameterTypeDescription
code *string
customerGets *object
title *string
appliesOncePerCustomerboolean
customerSelectionstring
endsAtstring
minimumRequirementobject
startsAtstring
usageLimitnumber

listFulfillmentOrders

List fulfillment orders

ParameterTypeDescription
assignedLocationIdstring
cursorstring
limitnumber
statusstring

createFulfillment

Create a fulfillment for an order

ParameterTypeDescription
lineItems *array
orderId *stringThe order ID to fulfill
locationIdstring
notifyCustomerboolean
trackingInfoobject

getShippingZones

Get shipping zones and rates

ParameterTypeDescription
limitnumber

listTransactions

List transactions for an order

ParameterTypeDescription
orderId *stringThe order ID

createRefund

Create a refund for an order

ParameterTypeDescription
orderId *stringThe order ID to refund
lineItemsarray
notestring
notifyboolean
refundDutiesboolean
shippingobject

listGiftCards

List gift cards

ParameterTypeDescription
cursorstring
limitnumber
querystring

createGiftCard

Create a gift card

ParameterTypeDescription
initialValue *stringThe initial value (e.g., "100.00")
codestring
expiresOnstring
notestring
recipientEmailstring
recipientMessagestring

listPages

List store pages

ParameterTypeDescription
cursorstring
limitnumber

createPage

Create a new page

ParameterTypeDescription
content *string
title *string
handlestring
metafieldsarray
publishedboolean

listBlogs

List blogs

ParameterTypeDescription
cursorstring
limitnumber

createArticle

Create a blog article

ParameterTypeDescription
blogId *stringThe blog ID
content *string
title *string
imageobject
publishedboolean
publishedAtstring
summarystring
tagsarray

createRedirect

Create a URL redirect

ParameterTypeDescription
path *stringThe old path to redirect from
target *stringThe new path or URL to redirect to

listThemes

List installed themes

listWebhooks

List configured webhooks

ParameterTypeDescription
cursorstring
limitnumber

createWebhook

Create a webhook subscription

ParameterTypeDescription
callbackUrl *stringThe URL to receive webhook notifications
topic *stringThe webhook topic (e.g., ORDERS_CREATE)
formatstring
includeFieldsarray

listDraftOrders

List draft orders

ParameterTypeDescription
cursorstring
limitnumber
querystring

createDraftOrder

Create a draft order

ParameterTypeDescription
lineItems *array
billingAddressobject
customerIdstring
emailstring
notestring
shippingAddressobject
tagsarray

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.

ParameterTypeDescription
cursorstring
limitnumber

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.

ParameterTypeDescription
type *stringThe metaobject type (exact case-sensitive identifier)
cursorstring
limitnumber

createMetaobject

Create a metaobject

ParameterTypeDescription
fields *array
type *stringThe metaobject type

listMarkets

List configured markets

ParameterTypeDescription
limitnumber

listPriceRules

List discounts (covers code, automatic, BxGy, free-shipping). Replaces deprecated priceRules query with discountNodes in 2026-04+.

ParameterTypeDescription
cursorstring
limitnumber

listAbandonedCheckouts

List abandoned checkouts

ParameterTypeDescription
cursorstring
limitnumber
querystring

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…

ParameterTypeDescription
query *stringRaw 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.

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
granularitystring
querystringOptional raw ShopifyQL query to override the default

getProductAnalytics

Get product performance analytics

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
limitnumber
productIdsarray
sortBystring

getCustomerAnalytics

Get customer behavior analytics

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
metricsarray

getInventoryReport

Get inventory analytics and forecasting

ParameterTypeDescription
forecastDaysnumber
includeForecastingboolean
locationIdsarray
productIdsarray

getMarketingReport

Get marketing campaign performance

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
campaignIdsarray
channelsarray

getFinancialSummary

Get financial summary including revenue, expenses, and profit

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
groupBystring
includeRefundsboolean
includeShippingboolean
includeTaxesboolean

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).

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
querystringOptional raw ShopifyQL query to override the default

getAbandonmentReport

Get cart and checkout abandonment analytics

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
groupBystring

getTrafficReport

Orders grouped by traffic source via ShopifyQL. Default: total_sales/orders/AOV by referrer_source. Pass `query` to override.

ParameterTypeDescription
endDate *stringEnd date (YYYY-MM-DD)
startDate *stringStart date (YYYY-MM-DD)
querystringOptional raw ShopifyQL query to override the default

getCustomReport

Alias for runShopifyQL — pass a raw ShopifyQL string in `query`. See runShopifyQL description for syntax.

ParameterTypeDescription
query *stringRaw ShopifyQL query — bare dates, GROUP BY full keyword, verified datasets only

listCompanies

List B2B companies

ParameterTypeDescription
cursorstring
limitnumber

createCompany

Create a B2B company

ParameterTypeDescription
name *string
contactEmailstring
contactPhonestring
externalIdstring
notestring