shopify-multistore-mcp

v0.3.1
shopify-multistore-mcp Checked 1 day ago Published 1 month ago

shopify-multistore-mcp: several Shopify stores in one AI assistant.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_stores List connected Shopify stores

List every store this server can work on: its name (the value to pass as "store"), myshopify.com domain, label, read-only flag, sign-in status, granted scopes and token expiry, plus the Shopify CLI and Dev MCP versions in use. Call this first when you are unsure which stores exist or why a call failed.

connect_store Connect a Shopify store

Add a store, or sign in to one again when its session expired. Opens Shopify's own sign-in page in the user's browser (Shopify CLI "store auth"); the user must approve there, so tell them to look for the browser window. Returns within about 20 seconds; if approval is still pending, call it again with the same name to wait for the result.

ParameterTypeDescription
store *stringShort name to refer to the store by, for example "au-retail". Reuse an existing name to sign in again.
domainstringThe store's permanent myshopify.com domain, for example "acme.myshopify.com". Required for a new store.
labelstringOptional human description, for example "Wholesale (NZ)".
read_onlybooleanRequest read-only access and refuse mutations for this store.
scopesarrayAdmin API scopes to request. Defaults to: write_products, write_inventory, read_locations, write_orders, write_draft_orders, write_fulfillments, write_customers, write_discounts, write_content, write_…

get_shop Get store details

Name, domains, contact email, currency, timezone and plan of one store.

ParameterTypeDescription
store *stringNo stores are connected yet. Call connect_store first.

search_products Search products

Search or list products in one store. Returns id, title, handle, status, vendor, type, tags, total inventory and price range. "query" uses Shopify search syntax, for example `status:active vendor:Nike`, `tag:sale`, `title:hood*`, `sku:ABC-123`, `inventory_total:<5`. Shopify ignores unknown filter fields and returns everything, so use documented fields only. Product ids are only valid in the store they came from.

ParameterTypeDescription
store *stringNo stores are connected yet. Call connect_store first.
afterstringPass pageInfo.endCursor from the previous result to get the next page.
firstintegerHow many results to return (1-100).
querystringShopify product search query. Omit to list recent products.

list_orders List orders

List orders in one store, newest first. "query" uses Shopify order search syntax, for example `financial_status:paid`, `fulfillment_status:unfulfilled`, `created_at:>=2026-10-01`, `name:#1001`. Without the read_all_orders scope Shopify only returns the last 60 days. For customer names, line items or addresses use graphql_query.

ParameterTypeDescription
store *stringNo stores are connected yet. Call connect_store first.
afterstringPass pageInfo.endCursor from the previous result to get the next page.
firstintegerHow many results to return (1-100).
querystringShopify order search query.

graphql_query Run an Admin GraphQL query

Run a read-only Shopify Admin GraphQL query on one store; mutations are refused here. Use it for anything the curated tools do not cover. Before writing an unfamiliar query, look the fields up with learn_shopify_api (api "admin") and check it with validate (api "admin"). Select pageInfo { hasNextPage endCursor } on connections. Uses the latest stable Admin API version unless api_version is set.

ParameterTypeDescription
query *stringGraphQL query document.
store *stringNo stores are connected yet. Call connect_store first.
api_versionstringAdmin API version such as "2026-10". Omit for the latest stable version.
variablesobjectGraphQL variables.

graphql_mutation Run an Admin GraphQL mutation

Run a Shopify Admin GraphQL mutation that changes data in one store. Confirm the target store and the change with the user before calling. Validate the document with validate (api "admin") first, look ids up in the same store (ids from another store will not resolve), and check the userErrors field of the result. Refused for read-only stores.

ParameterTypeDescription
query *stringGraphQL mutation document. Select userErrors { field message }.
store *stringNo stores are connected yet. Call connect_store first.
api_versionstringAdmin API version such as "2026-10". Omit for the latest stable version.
variablesobjectGraphQL variables.

graphql_query_all_stores Run one query on every store

Run the same read-only Admin GraphQL query on several stores at once and get the results side by side, each labelled with its store. For common comparisons (sales, unfulfilled orders, low stock, catalogue gaps) store_report is quicker and already combines the answers.

ParameterTypeDescription
query *stringGraphQL query document.
api_versionstringAdmin API version such as "2026-10". Omit for the latest stable version.
storesarrayStores to include. Omit for every connected store.
variablesobjectGraphQL variables, applied to every store.

store_report Run a ready-made report across stores

Ask every store (or the ones listed) at once and get one combined, store-labelled answer. Reports: - overview: Name, currency, plan, active and draft product counts, orders in the period, open unfulfilled orders and locations, per store. - sales: Order count, sales total (current order totals, after edits and refunds) and average order value per store for a period, excluding test and cancelled orders. Totals stay in each store's own currency. - unfulfilled: Open orders not yet fully fulfilled, grouped by age (under 1 day, 1-2, 2-7, over 7 days), with the oldest listed per store. - low_stock: V…

ParameterTypeDescription
report *stringWhich report to run.
daysintegeroverview, sales, recent_changes: how many days back (default 7; 1 means since yesterday).
handlestringfind_product: product handle.
limitintegerunfulfilled: how many of the oldest orders to list per store (default 5).
max_pagesintegerUpper bound on pages read per store (each page is 100-250 records). Defaults differ per report.
querystringfind_product: title words or Shopify search syntax. catalog_gaps, catalog_health, duplicate_skus: optional filter such as "vendor:Acme".
sincestringsales, overview, recent_changes: start date, for example 2026-10-01. Overrides days.
skustringfind_product: exact SKU.
storesarrayStores to include. Omit for every connected store.
thresholdintegerlow_stock: report variants at or below this quantity (default 5).
untilstringsales, overview, recent_changes: end date (exclusive), for example 2026-10-31.