shopify-multi-store

v2.2.1
io.github.alex-brecher/shopify-multi-store Checked 3 days ago Published 17 days ago

Every Shopify store in one MCP server: search, reports, bulk exports and guarded writes.

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

shopify_graphql_schema

Explore the Admin GraphQL schema for this store's API version.

ParameterTypeDescription
store *string
type_name *string

shopify_validate_graphql_codeblocks

Validate Admin GraphQL operations against this store's API version without executing them.

ParameterTypeDescription
codeblocks *array
store *string

shopify_create_product

Create a product with options, variants and images, and optionally add it to a manual collection. Defaults to status DRAFT and to dryRun:true, which previews the input without creating anything.

ParameterTypeDescription
store *string
title *string
collectionIdstring
descriptionHtmlstring
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result b…
imagesarray
optionsarray
pricestring
productTypestring
statusstring
tagsarray
variantsarray
vendorstring

shopify_update_product

Update product fields, variants, media and tags. dryRun:true (the default) returns the current product and the change without applying it; dryRun:false applies it and returns before and after. Tags: addTags and removeTags change only the named tags; replaceTags replaces all tags. A status of ARCHIVED or DRAFT takes the product off every sales channel.

ParameterTypeDescription
id *string
store *string
addTagsarrayTags to add (tagsAdd). Other tags are kept.
collectionsToJoinarray
collectionsToLeavearray
descriptionHtmlstring
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result b…
handlestring
imagesarray
productTypestring
redirectNewHandlebooleanWith handle: add a redirect from the old URL.
removeMediaIdsarray
removeTagsarrayTags to remove (tagsRemove). Other tags are kept.
replaceTagsarrayReplaces all tags: every current tag not in this list is removed. Prefer addTags or removeTags.
seoobject
statusstring
titlestring
variantsarray
vendorstring

shopify_create_collection

Create a manual collection (optional productIds) or a smart collection (ruleSet). Pass publicationIds to publish to explicitly selected channels. Defaults to dryRun:true, which previews the input without creating anything.

ParameterTypeDescription
store *string
title *string
descriptionHtmlstring
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result b…
imageobject
productIdsarray
publicationIdsarray
ruleSetobject
sortOrderstring

shopify_update_collection

Update collection fields, rules or image, and add products to a manual collection (addProductIds). dryRun:true (the default) returns the current collection and the change without applying it; dryRun:false applies it and returns before and after.

ParameterTypeDescription
id *string
store *string
addProductIdsarrayProducts to add to a manual collection. Smart collection membership follows its rules.
descriptionHtmlstring
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result b…
imageobject
ruleSetobject
sortOrderstring
titlestring

shopify_set_inventory

Set available inventory at one location using compare-and-set protection: compareQuantity must equal the current available quantity. Read inventory first (shopify_get resource inventory). dryRun:true (the default) checks and previews without changing anything.

ParameterTypeDescription
compareQuantity *integer
inventoryItemId *string
locationId *string
quantity *integer
store *string
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result b…
idempotencyKeystring
reasonstring

shopify_create_discount

Create a percentage discount code with an explicit start date and customer audience. Defaults to dryRun:true, which resolves segments and previews the discount without creating it.

ParameterTypeDescription
code *string
percentage *number
startsAt *string
store *string
title *string
appliesOncePerCustomerboolean
collectionIdstring
customerEligibilitystring
customerSegmentsarray
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result b…
endsAtstring
minimumPurchaseAmountnumber
minimumQuantityinteger
productIdsarray
usageLimitinteger

shopify_upload_image

Upload a local image file or an HTTPS image to Shopify Files, wait for processing, and return its CDN URL (check it later with shopify_get resource uploaded_image). Defaults to dryRun:true, which previews the upload without sending anything.

ParameterTypeDescription
store *string
altstring
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result b…
filenamestring
imageFilestring
sourceUrlstring

shopify_update_prices

Set price, compareAtPrice and/or unit cost for up to 250 SKUs on one store (store) or the same list on several stores in parallel (stores). Resolves each SKU to the variants whose SKU matches exactly (Shopify search is a prefix match) and groups writes by product. A SKU shared by several variants is skipped unless allowDuplicates:true. Duplicate SKU rows with conflicting values are rejected before any write; identical duplicates are collapsed. After a write, verifies each variant with a separate read-back query and reports per-item outcome (applied, applied_unverified, rejected, not_found, amb…

ParameterTypeDescription
skus *array
allowDuplicatesbooleanWhen a SKU exactly matches more than one variant it is reported in ambiguousSkus and skipped. Pass true to update every exact match instead.
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back.
storestringOne store alias. Give store or stores.
storesarraySeveral store aliases; each store gets its own outcome.

shopify_metafields

Set (metafieldsSet) and/or delete (metafieldsDelete) up to 25 metafields each, for any owner GID. Read them with shopify_get resource metafields. Defaults to dryRun:true.

ParameterTypeDescription
store *string
deletearray
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back.
setarray

shopify_redirects

Create and/or delete up to 100 URL redirects each, with a per-redirect outcome (applied, rejected or unknown) and a store status. List them with shopify_search resource redirects. Requires write_online_store_navigation. Defaults to dryRun:true.

ParameterTypeDescription
store *string
createarray
deletearrayRedirect IDs to delete.
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back.

shopify_update_order

Update order note, email, phone, PO number, additional details (customAttributes), shipping address and tags (orderUpdate). dryRun:true (the default) returns the current order and the change without applying it; dryRun:false applies it and returns before and after. Tags: addTags and removeTags change only the named tags; replaceTags replaces all tags. Requires write_orders.

ParameterTypeDescription
id *string
store *string
addTagsarrayTags to add (tagsAdd). Other tags are kept.
customAttributesarrayReplaces the order's additional details (note attributes).
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back.
emailstring
note
phone
poNumber
removeTagsarrayTags to remove (tagsRemove). Other tags are kept.
replaceTagsarrayReplaces all tags: every current tag not in this list is removed. Prefer addTags or removeTags.
shippingAddressobject

shopify_tags

Add and/or remove tags on a product, order, customer or draft order by GID (tagsAdd/tagsRemove). Defaults to dryRun:true.

ParameterTypeDescription
ownerId *string
store *string
addarray
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back.
removearray

shopify_update_customer

Update customer name, email, phone, note, tax exemption and tags (customerUpdate). dryRun:true (the default) returns the current customer and the change without applying it; dryRun:false applies it and returns before and after. Tags: addTags and removeTags change only the named tags; replaceTags replaces all tags. Email marketing consent is out of scope. Requires write_customers.

ParameterTypeDescription
id *string
store *string
addTagsarrayTags to add (tagsAdd). Other tags are kept.
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back.
emailstring
firstNamestring
lastNamestring
notestring
phoneE.164, for example +16135551111; null clears it.
removeTagsarrayTags to remove (tagsRemove). Other tags are kept.
replaceTagsarrayReplaces all tags: every current tag not in this list is removed. Prefer addTags or removeTags.
taxExemptboolean

shopify_create_fulfillment

Fulfill the remaining quantities of an order's OPEN and IN_PROGRESS fulfillment orders with optional tracking. notifyCustomer defaults to false. Requires read_merchant_managed_fulfillment_orders and write_merchant_managed_fulfillment_orders (Shopify reports any other missing scope, such as for fulfillment orders assigned to a fulfillment service). Defaults to dryRun:true.

ParameterTypeDescription
orderId *string
store *string
dryRunbooleanTrue (the default) returns a before/after preview without changing anything in Shopify. Pass false to apply the change; the tool then reads the result back.
notifyCustomerboolean
trackingCompanystring
trackingNumberstring
trackingUrlstring

shopify_check_access

For one or many stores, report the shop identity and granted Admin API access scopes, compare them against every tool's requirement (see src/scope-requirements.ts; tools with several resources or reports are listed as tool:resource), and report missing scopes and which tools would fail. Omit stores to check every configured store.

ParameterTypeDescription
storesarray

shopify_manage

Guided writes for one store, chosen by operation. Every operation reads the current state first, defaults to dryRun:true (a preview that changes nothing), never notifies customers unless asked, and reads the result back after a write. Put the operation's fields in input. Operations: - webhook: Create, update or delete one of this app's webhook subscriptions (webhookSubscriptionCreate / Update / Delete). Deliver to an HTTPS URL, Google Pub/Sub (pubsub://project:topic) or Amazon EventBridge. A subscription keeps sending store data to its uri until it is deleted, whoever made it, so create, and a…

ParameterTypeDescription
operation *string
store *string
confirmstringIrreversible operations need this with dryRun:false: "delete" for delete, "merge_customers" for merge_customers, "cancel" for order_status cancel.
dryRunbooleanTrue (the default) reads the current state and returns a preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it.
inputobjectThe operation's fields, as listed in the description.

shopify_get Get a Shopify Record

Read one record by GID from one store. Follow each returned cursor independently. Resources: - product: Product details, variants (first/after) and media (mediaAfter). id: Product GID. - collection: Collection details, rules and a page of products. id: Collection GID. - order: Order, shipping, fulfillment, tracking and a page of line items. id: Order GID. - inventory: Inventory by product (id: Product GID) or inventory item (id: InventoryItem GID, pages through locations). - metafields: Metafields of any owner (id: owner GID); optional namespace and key. - theme_files: Theme file contents. id:…

ParameterTypeDescription
id *stringThe record's GID, such as gid://shopify/Product/123.
resource *string
store *string
afterstring
filenamesarraytheme_files: only these files.
firstinteger
keystringmetafields: only this key.
mediaAfterstringproduct: cursor for the media page.
namespacestringmetafields: only this namespace.

shopify_report Run a Shopify Report

Run one read-only report across selected stores; each store returns its own result and completeness indicators. Reports: - portfolio_snapshot: Shop identity and product, order, customer and location counts. stores optional (all stores). - store_locations: Active, inactive, legacy, fulfillment, inventory and address status of locations. stores optional (all stores). - compare_inventory: Inventory, price, status and catalog details for exact SKUs. Needs skus (1-50). - compare_prices: Price and compare-at price for exact SKUs, with mismatches and missing variants. Needs skus (1-50). - get_product…

ParameterTypeDescription
report *stringWhich report to run. See the tool description for each report's inputs.
daysintegerLookback or period length in days.
firstintegerRows per store; each report has its own default and maximum.
handlesarraycompare_catalog, compare_collections: exact handles.
identifierstringget_product_everywhere: the exact SKU or product handle.
lookbackDaysintegerfulfillment_sla_report: how far back to look.
matchBystringget_product_everywhere: whether identifier is a SKU or a handle.
querystringanalytics: a ShopifyQL query.
skusarraycompare_inventory, compare_prices: exact SKUs.
slaDaysintegerfulfillment_sla_report: age after which the SLA is breached.
storesarrayStore aliases. Optional only for portfolio_snapshot and store_locations (then every store).
thresholdintegerlow_stock_report: maximum aggregate quantity to include.

shopify_search_docs_chunks

Search Shopify documentation and return source links. No store credentials are sent.

ParameterTypeDescription
prompt *string
api_namestring
max_num_resultsinteger

shopify_find_actions Find Shopify Admin Actions

Search every Shopify Admin API mutation (hundreds of write actions, most without a dedicated tool) by keyword and optional category. Returns each action's name, one-line description, category, whether it is destructive, which dedicated tools already cover it, and a scope hint. Next: shopify_describe_action for the full signature, then shopify_run_action.

ParameterTypeDescription
apiVersionstringAdmin API version, such as 2026-07. Defaults to the store's version, or the server default.
categorystring
includeDeprecatedboolean
limitinteger
offsetinteger
querystringKeywords, such as "cancel order" or "gift card". Omit to list a category.
storestringUse this store's API version.

shopify_describe_action Describe a Shopify Admin Action

Full signature of one Admin API mutation: arguments with types, the expanded input object fields (required markers, enum values, descriptions), the payload fields, a ready-to-edit GraphQL document with a default selection, a variables template with the required fields, a scope hint, and whether it is destructive (then shopify_run_action needs confirm set to the mutation name).

ParameterTypeDescription
mutation *stringMutation name, such as orderCancel
apiVersionstringAdmin API version, such as 2026-07. Defaults to the store's version, or the server default.
depthintegerHow many levels of nested input objects to expand
storestringUse this store's API version.

shopify_run_action Run a Shopify Admin Action

Run any Shopify Admin API mutation on one to one hundred stores. Give a mutation name (a default document is built) or a full single-mutation document, plus variables shared by every store and/or variablesByStore (IDs differ per store). dryRun (the default) validates the document and variables against each store's API version and looks up every record ID in the variables and the document; nothing is changed. The preview says whether it is complete: targets chosen by a search, saved search, filter, or "all" flag, more than 250 IDs, or IDs that do not resolve make it incomplete, and then applyin…

ParameterTypeDescription
stores *array
acknowledgeIncompletePreviewbooleanRequired, with dryRun false, when the targets cannot all be listed in advance (search, saved search, filter, or "all" style arguments, or more than 250 IDs) or when a named ID does not resolve at appl…
confirmstringFor destructive actions: the mutation name (several destructive mutations: comma-separated, in document order).
documentstringA full GraphQL document with exactly one mutation operation.
dryRunboolean
mutationstringMutation name. Required unless document is given; if both are given, the document must call it.
variablesobjectVariables used for every store.
variablesByStoreobjectPer-store variables by alias, merged over variables.

shopify_bulk_export Bulk Export

Export a whole resource from one store in one step, with no pagination or size limit: orders, products, variants, customers, inventory (levels per location), collections or draft orders, with an optional Shopify search filter such as "created_at:>=2026-10-01". Starts a Shopify bulk operation, waits up to waitSeconds, and returns the JSONL download URL (valid 7 days) and row counts; sampleRows also returns the first rows. Large stores can take minutes: call again with action:"status" and the id. resource custom runs your own bulk query. Changes nothing in the store.

ParameterTypeDescription
store *stringConfigured store alias
actionstringstart (default), status, or cancel
filterstringstart: Shopify search filter, such as "created_at:>=2026-10-01" or "status:active"
idstringstatus/cancel: BulkOperation GID from start
querystringstart with resource custom: your own bulk query (one top-level connection, no variables)
resourcestringstart: what to export. custom needs query.
sampleRowsintegerWhen finished: also return the first rows of the file
ticketstringstatus/cancel on a hosted server: the ticket start returned
waitSecondsintegerstart/status: wait up to this long for the export to finish

shopify_list_stores List Shopify Stores

List every Shopify Admin store that remains connected to this plugin. On a hosted server in per-user mode, lists only the stores you have connected with your own Shopify account and names the others with a link to connect them. This tool does not expose access tokens.

shopify_get_shop_info Get Shopify Store Information

Get identity and account information from one named Shopify Admin store. Use this tool before a sensitive change to make sure that the selected store is correct.

ParameterTypeDescription
store *stringConfigured store alias, such as main-store or wholesale-store

shopify_graphql_query Query a Shopify Store

Run one read-only GraphQL Admin API query against one named store. Use cursor pagination and request only necessary fields.

ParameterTypeDescription
query *stringA GraphQL query document. Mutations are rejected.
store *stringConfigured store alias, such as main-store or wholesale-store
variablesobjectGraphQL variables as a JSON object

shopify_graphql_query_many Query Multiple Shopify Stores

Run the same read-only GraphQL Admin API query across multiple named stores in parallel. Each store returns its own success or error result.

ParameterTypeDescription
query *stringA read-only GraphQL query document. Mutations are rejected.
stores *arrayOne to one hundred configured store aliases
variablesobjectGraphQL variables as a JSON object

shopify_graphql_mutation Change a Shopify Store

Run one GraphQL Admin API mutation against one named store. Set confirm to true only after the user authorizes the exact store and change. Destructive mutations (see shopify_describe_action; some are destructive only with certain arguments, such as a product status of ARCHIVED or notifyCustomer true) need confirm set to the mutation name instead, and denylisted mutations are refused, exactly as in shopify_run_action. The result reports each top-level mutation field as applied, rejected, or unknown, and the store as applied, rejected, partial, or unknown; after partial or unknown, retry only th…

ParameterTypeDescription
confirm *True after the user authorizes the exact change and store. Destructive mutations need the mutation name instead (several: comma-separated, in document order).
mutation *stringA GraphQL mutation document.
store *stringConfigured store alias, such as main-store or wholesale-store
variablesobjectGraphQL variables as a JSON object