Shopify MCP

v1.1.0
io.scalably/shopify-mcp Checked 1 day ago Published 2 months ago

Read-only Shopify Admin GraphQL MCP: query, introspect, bulk export, ShopifyQL.

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

shopify_list_stores

List all Shopify stores configured for this agent. Returns a JSON array of `{alias, domain, name, currency, auth_mode}`. The `name` field is the merchant's own shop name from Shopify (fetched once per process, cached). Use this list to match user intent - e.g., a user saying "check the outlet" maps to the store whose `name` or `domain` contains "outlet". If only one store is configured, `shop` can be omitted on tool calls. Args: refresh: If True, bypass the shop-name cache and re-fetch from Shopify. Use after a merchant renames a shop in the S…

ParameterTypeDescription
refreshboolean

shopify_graphql_query

Execute a read-only GraphQL query against a Shopify store's Admin API. Universal entry point for reading any data the token's scopes permit: products, variants, orders, customers, inventory, fulfillments, discounts, locations, markets, metafields, metaobjects, segments, shop settings, etc. Full GraphQL reference: https://shopify.dev/docs/api/admin-graphql Write mutations are rejected by design. The query string is parsed and validated as read-only before transmission. Idiomatic patterns: - Pagination: `first: <=250`, `after: <cursor>`, read `pageInfo { has…

ParameterTypeDescription
query *string
api_version
shop
variables

shopify_graphql_introspect

Introspect a Shopify store's Admin GraphQL schema. Pass `type_name` to fetch a single type's fields (cheap, ~50 cost points). Omit it for the full schema type catalog (expensive, ~800 cost points - use sparingly). Args: type_name: GraphQL type name (e.g. "Order", "Product", "Customer"). Must match `[A-Za-z_][A-Za-z0-9_]*`. Omit for full schema. shop: Store alias or domain (see `shopify_list_stores`). Required when multiple stores are configured. api_version: Override API version (default "2026-04").

ParameterTypeDescription
api_version
shop
type_name

shopify_bulk_query

Launch an async bulk export of a read-only GraphQL query. Use for exporting datasets too large for paginated queries (>10k records, or anything you'd otherwise paginate hundreds of times). Shopify runs the query in the background and produces a JSONL file with all results. Restrictions (enforced by Shopify): - Exactly one top-level connection per query. - Max 5 total connections, max depth 2. - Every nested connection node must select `id` without an alias. - API ≤ 2025-10: one bulk op at a time per shop. API ≥ 2026-01: up to 5. Returns the Bu…

ParameterTypeDescription
query *string
api_version
shop

shopify_bulk_poll

Poll a bulk operation's status by ID. Statuses: CREATED, RUNNING, COMPLETED, CANCELED, EXPIRED, FAILED. On COMPLETED, the `url` field is a pre-signed JSONL download (valid 7 days). On FAILED, `partialDataUrl` may hold partial results; `errorCode` explains why. Args: operation_id: Global ID of the bulk operation (format: `gid://shopify/BulkOperation/<numeric-id>`). shop: Store alias or domain the bulk op was launched on. Required when multiple stores are configured. api_version: Override API version (default "2026-04").

ParameterTypeDescription
operation_id *string
api_version
shop

shopify_shopifyql

Run a ShopifyQL analytics query against a Shopify store. ShopifyQL is Shopify's SQL-like reporting language. Requires `read_reports` scope. Consumes the same cost bucket as GraphQL. Syntax: FROM <dataset> SHOW <metric>[, <metric>...] [BY <dimension>] [GROUP BY <dim>] [WHERE <filter>] [SINCE -Nd UNTIL today] [ORDER BY <col> [ASC|DESC]] [LIMIT N] Datasets: sales, orders, products, customers, inventory, sessions. Time tokens: -Nd / -Nw / -Nm / -Nq / -Ny, or named (today, yesterday, this_week, last_week, this_month, last_month, last_year). Ex…

ParameterTypeDescription
query *string
api_version
shop