Shopify MCP server
Endpoint: https://setup.shopify.com/mcp · Authentication: No auth
Creates a Shopify store and manages products, collections, orders, customers, inventory, discounts and analytics. Tools list without credentials; store tools require Shopify OAuth.
How do I authenticate?
Add the endpoint directly in your client. The catalog records no authentication requirement; no OAuth sign-in or API key is configured in this setup. The live server may change.
Authentication and connection guideConnection specification
- Remote endpoint
https://setup.shopify.com/mcp- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Streamable HTTP — Observed by the latest catalog validation
- Declared authentication
- No authentication
- Detected authentication
- No authentication detected or retained from publisher evidence
- Alternative authentication
- OAuth 2.1
- Protocol lifecycle
- Stateless MCP · 2026-07-28
- Authorization server
https://setup.shopify.com/auth- Category
- Marketplace
Product documentation · Claude connector directory listing · ChatGPT app directory listing
Provider guidance
- tools/list answers without credentials; the server also publishes OAuth protected-resource metadata, so tools that read or change account data need an OAuth sign-in.
- Shopify's own docs do not state this endpoint; the listing source is the Claude directory entry.
More Marketplace MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://setup.shopify.com/mcp · Streamable HTTP. No authentication is required by the catalog listing.
Agent prompt for Claude Code or Codex
Add the Shopify MCP server to my MCP client configuration and verify that it works. What it is: Creates a Shopify store and manages products, collections, orders, customers, inventory, discounts and analytics. Tools list without credentials; store tools require Shopify OAuth. Server URL: https://setup.shopify.com/mcp Transport: Streamable HTTP (remote MCP server, no local install). Authentication: none. The server accepts connections without credentials. Tools (first 25 of 29, as last observed by mcptest): add-to-collection, bulk-update-product-status, create_store, create-collection, create-digital-product, create-digital-product-from-link, create-discount, find-mock-shop-catalogs, generate-business-names, generate-domain-names, get_preview_store_links, get_uploaded_files, get-digital-product, get-digital-products-install-status, get-shop-info, graphql_mutation, graphql_query, graphql_schema, import-mock-shop-catalog, open-digital-products-install, publish-digital-product, run-analytics-query, search_collections, search_docs_chunks, set-inventory. Reference: https://mcptest.io/servers/shopify/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "shopify" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'shopify' 'https://setup.shopify.com/mcp' Codex: codex mcp add 'shopify' --url 'https://setup.shopify.com/mcp' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'shopify' 'https://setup.shopify.com/mcp'Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'shopify' --url 'https://setup.shopify.com/mcp'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"shopify": {
"url": "https://setup.shopify.com/mcp"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"shopify": {
"type": "http",
"url": "https://setup.shopify.com/mcp"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Notes for every client
- An optional oauth flow is cataloged, but its exact header is not documented; follow the publisher instructions instead of guessing.
- Provider guidance: tools/list answers without credentials; the server also publishes OAuth protected-resource metadata, so tools that read or change account data need an OAuth sign-in.
- Provider guidance: Shopify's own docs do not state this endpoint; the listing source is the Claude directory entry.
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| Codex | Partial | Codex CLI ignores resources: The server can still connect, but Codex CLI does not consume the advertised resources capability. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| Claude | Supported | Claude supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| ChatGPT | Partial | ChatGPT ignores resources: The server can still connect, but ChatGPT does not consume the advertised resources capability. |
| Windsurf | Partial | Windsurf's documentation does not state support for servers without authentication. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 23, 2026 at 7:16 PM
- Validation detail
- Negotiated stateless MCP 2026-07-28 at https://setup.shopify.com/mcp; detected transport streamable-http; authentication none; WARNING: OAuth authorization servers advertised; an anonymous MCP handshake does not establish anonymous tool access
Tool inventory
What the catalog validator observed on at https://setup.shopify.com/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by Shopify 36
29 of 36 shown; 7 omitted to keep the page bounded.
add-to-collectionoutputSchema declaredAdd one or more products to a collection in the connected Shopify store. Use this when the user wants to organize products into a collection. Find the collection's GID with search_collections first.
Input
collectionId: string, productIds: arraycollectionId: stringrequiredThe collection GID (e.g. [REDACTED URI] Always use the full GID format, not a bare numeric ID.
productIds: arrayrequiredThe product GIDs to add to the collection (e.g. [REDACTED URI] Always use the full GID format, not bare numeric IDs.
bulk-update-product-statusoutputSchema declaredUpdate the status of multiple products at once. Accepts a list of product IDs or a collectionId and a target status (ACTIVE, DRAFT, or ARCHIVED). Each product is updated individually so partial failures are possible. When using collectionId, only the first 50 products in the collection will be updated.
Input
collectionId?: string, productIds?: array, status: stringcollectionId?: stringoptionalGID of a collection whose products should be updated (e.g. [REDACTED URI] When used, only the first 50 products in the collection will be updated.
productIds?: arrayoptionalList of product GIDs to update. At least one of productIds or collectionId must be provided.
status: stringrequiredTarget status for all products
create_storeoutputSchema declaredCreate a new Shopify store the user can start building right away, without signing in or creating an account. Returns a link to preview it, and the store's domain, which is its ID for tool calls. It's where someone with no Shopify store connected starts when they want to sell something or start a business. WHEN TO USE: - The user says they want to sell something, e.g. "I want to sell handmade soy candles", and has no Shopify store connected. - The user wants to start a business, open a shop or start selling online, and has no Shopify store connected. - The user asks you to create, make or buil
Input
country?: string, name?: stringcountry?: stringoptionalThe country the user's business is in, as a two-letter ISO 3166-1 alpha-2 code in capitals, e.g. 'CA' for Canada or 'GB' for the United Kingdom (not 'UK'). Country names like 'Canada' and three-letter codes like 'CAN' are refused. It sets the store's country, currency and shipping zones, and test checkout in the preview only works when the store's country matches the user's. Pass it when the user has said where they or their business are, or when you already know where the user is, e.g. 'CA' if they say they're in Toronto. Don't guess it from the language they write in or the store's name. If
name?: stringoptionalName for the store, e.g. 'Ember & Oak'. Use a name the user gave; omit it otherwise.
create-collectionoutputSchema declaredCreate a new collection in the connected Shopify store and publish it to the Online Store. Use this when the user wants to organize products into a new group. COLLECTION TYPES: - Manual collection: pass `productIds` to add specific products. - Smart collection: pass `ruleSet` with conditions to auto-populate products. - `productIds` and `ruleSet` are mutually exclusive — provide one or neither. SMART COLLECTION RULES: - Common rule columns: TAG, VENDOR, TYPE, TITLE, VARIANT_PRICE. - Common relations: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH, GREATER_THAN, LESS_THAN. -
Input
descriptionHtml?: string, image?: object, productIds?: array, ruleSet?: object, sortOrder?: string, title: stringdescriptionHtml?: stringoptionalHTML description of the collection
image?: objectoptionalCollection image. Must be a publicly accessible HTTPS URL.
productIds?: arrayoptionalProduct GIDs to add to a manual collection (e.g. [REDACTED URI] Mutually exclusive with ruleSet.
ruleSet?: objectoptionalRules for a smart collection. Mutually exclusive with productIds.
sortOrder?: stringoptionalThe order in which products are sorted in the collection
title: stringrequiredThe collection title
create-digital-productoutputSchema declaredCreate a draft product through Shopify Digital Products. The result includes the product and first variant identifiers used to attach and deliver the digital file. If the merchant is selling access to something already on the web — a Notion template, an online course, a booking page — pass it as 'link' and skip the file upload; the link must be hosted by a provider Digital Products supports, and if it is not, the reply names the ones that are. To set the price and the buyer-facing description, call graphql_mutation: productUpdate with productId as its 'id' and descriptionHtml for the descripti
Input
link?: object, title: stringlink?: objectoptionalAn external link to deliver instead of a file. Omit it when the merchant will upload a file.
title: stringrequiredTitle for the new draft digital product.
create-digital-product-from-linkoutputSchema declaredDeprecated: use create-digital-product with its 'link' input instead. Creates an unpublished draft digital product that delivers an external link to the buyer.
Input
name?: string, title: string, url: stringname?: stringoptionaltitle: stringrequiredurl: stringrequired
create-discountoutputSchema declaredCreate a percentage-based discount code for the connected Shopify store. Use this when the merchant wants to set up a new discount code with a specific percentage off — including one limited to particular products or to a collection — with optional minimum purchase or quantity requirements. SCOPE — what the discount applies to: - Look up whatever the merchant named both as a product with graphql_query and with search_collections, even if the first one already matches — a product and a collection can share a name. If both match, ask the merchant which they meant rather than picking one. - Speci
Input
code: string, collectionId?: string, customerEligibility?: string, customerSegments?: array, endsAt?: string, minimumPurchaseAmount?: number, minimumQuantity?: integer, percentage: number, productIds?: array, startsAt?: string, title: stringcode: stringrequiredThe discount code customers will enter
collectionId?: stringoptionalScope the discount to every product in a collection the merchant already has (e.g. [REDACTED URI] If the merchant named individual products instead, pass productIds — do not create a collection to hold them if the merchant did not ask for a collection to be created. Mutually exclusive with productIds. Omit both to discount every product in the store.
customerEligibility?: stringoptionalSet to "all_customers" once the merchant has explicitly confirmed they want this discount available to every customer. Ask them who the discount is for before calling this tool; never assume everyone. Mutually exclusive with customerSegments.
customerSegments?: arrayoptionalCustomer segment names to scope the discount to (e.g. ["VIP Customers"]). Names must match (case-insensitive) segments that already exist on the connected store. Segments are merchant-defined — there are no built-in names like "new_customers" or "returning_customers", so never guess one. If the merchant wants a segment and you do not know which segments exist, call with startsAt set and both this field and customerEligibility omitted; the tool returns the segment names on this store instead of creating anything. Mutually exclusive with customerEligibility.
endsAt?: stringoptionalISO 8601 end date (defaults to no end date)
minimumPurchaseAmount?: numberoptionalMinimum order subtotal required to use the discount (must be greater than 0). Mutually exclusive with minimumQuantity.
minimumQuantity?: integeroptionalMinimum number of items required to use the discount. Mutually exclusive with minimumPurchaseAmount.
percentage: numberrequiredThe discount percentage (1-100)
productIds?: arrayoptionalScope the discount to specific products. Use this whenever the merchant names the products the discount applies to. Pass full product GIDs (e.g. ["[REDACTED URI] never bare numeric IDs or product titles; look them up with graphql_query first. At most 50 products — for a larger set, use a collection and pass collectionId. Mutually exclusive with collectionId. Omit both to discount every product in the store.
startsAt?: stringoptionalISO 8601 start date. Ask the merchant when the discount should start before calling this tool. For a discount they want active right away, pass the current date and time; for a scheduled one, pass the date they chose. Never pick a date the merchant did not give you.
title: stringrequiredThe title of the discount
find-mock-shop-catalogsoutputSchema declaredFind ready-made sample catalogs (from mock.shop) that fit the merchant's business, so they can pick one to seed their store with realistic products and collections instead of starting empty. WHEN TO USE: - The merchant has a new or empty store and wants sample products, a starter catalog, demo data, or "something to look at" before adding their own products. - The merchant describes what they sell (or plan to sell) and wants a store populated quickly. WHEN NOT TO USE: - The merchant wants one-off placeholder products rather than a whole catalog — use find-sample-product. - The merchant wants r
Input
limit?: integer, query: stringlimit?: integeroptionalHow many catalogs to return. Defaults to 3; leave unset unless the merchant asks for more options.
query: stringrequiredWhat the merchant sells or plans to sell, in a few words (e.g. 'handmade soy candles', 'supplies for a new puppy'). Plain language; no need to singularize or reformat.
generate-business-namesoutputSchema declaredGenerate business name ideas for someone starting a Shopify store. WHEN TO USE: - The user wants name ideas for a new business or store. - The user has described a business but has not named it yet. - The user has a name and wants alternatives in the same vein. WHEN NOT TO USE: - The user already knows the name they want and only needs to set it — that is done in the Shopify admin, not here. - The user wants a product name, a slogan, or a tagline rather than a business name. INPUT: a short description of the business in the user's own words — what they sell, who it is for, or the feeling they
Input
description: string, store?: stringdescription: stringrequiredREQUIRED — always send this field. A short description of the business in the user's own words: what they sell ('hand-poured soy candles'), who it is for ('running gear for trail runners'), or the feeling the name should have ('something calm and coastal'). Max 255 characters — a longer value is refused and the user gets nothing. Use what the user actually said rather than inventing a business for them, and send the description itself, not a name you have already thought of.
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
generate-domain-namesoutputSchema declaredSuggest available domain names for a Shopify store. Every domain returned has been checked against the domain registry and was available at the time of the call. WHEN TO USE: - The user wants a domain for a business or store name. - The user's preferred domain is taken and they want alternatives. - The user asks whether a domain idea is available. - The user wants to know what a domain costs. - The user wants to buy or register a particular domain. WHEN NOT TO USE: - The user wants to connect or troubleshoot a domain they already own — that is done in the Shopify admin, not here. - The user on
Input
exactDomain?: string, query: string, store?: string, storeName?: stringexactDomain?: stringoptionalOptional. A full domain the USER named, TLD included, when the query is a sentence rather than the domain on its own: 'is fern.com available?' → 'fern.com'; 'can I get emberandoak.shop' → 'emberandoak.shop'. An unusual TLD is fine. This is the domain the tool reports a verdict on, so it must be one the user actually said — do NOT compose one from a name or a description, and do NOT guess a TLD they did not give. Use storeName for that instead; storeName and exactDomain are alternatives to each other, not a pair. Neither replaces query, which is always sent.
query: stringrequiredREQUIRED — always send this field, in every call. A store name ('Ember & Oak'), a domain the user has in mind ('emberandoak.com'), or a short description of the business ('hand-poured soy candles for dark, woody scents') — max 255 characters. Use what the user actually said; do NOT invent a business description they have not given you. When the whole query is a domain ('fern.com') it is checked as one; when the domain sits inside a sentence ('is fern.com available?'), name it in exactDomain as well. storeName and exactDomain are extras that go ALONGSIDE this field, never instead of it: a call
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
storeName?: stringoptionalOptional. The words the domain should be built from — at most 4 words, max 60 characters. Set it whenever the user gave you something to build on, whether they named it or described it: 'what would be a good domain name for volcanic balloon' → 'volcanic balloon'; 'i want something like Ember & Oak' → 'Ember & Oak'; 'i want a domain about hippos, giraffes, and iguanas' → 'hippos giraffes iguanas'; 'hand-poured soy candles for dark, woody scents' → 'soy candles'. Drop the lead-in and the connecting words, and keep it to 4 words or fewer — a longer value is refused and the user loses the availabi
get_preview_store_linksoutputSchema declaredGet new links for a PreviewStore: one to preview its storefront, and one to save it to a Shopify account. Call it when the user wants to see the store (the storefront, its products, or a change you made, e.g. "can I see my store?" or "where are my products?") and you have no preview link from the last about 30 minutes, which is how long one works. Also call it when a link no longer works, or the user lost the link to save the store. Give the user the preview link. Until the store is saved to a Shopify account, don't show or link its domain to the user: it's only the store's ID for tool calls,
Input
store: stringstore: stringrequiredDomain of the PreviewStore, e.g. k3f9a2x7.myshopify.com.
get_uploaded_filesoutputSchema declaredList the files the merchant added to the store's Files in Shopify admin since the since value upload_file returned, with each one's URL. Call this when the merchant says their upload is done, passing the since value upload_file returned. Nothing tells this conversation when they finish, so this is how you learn the result. Lead with the file's URL when you tell the merchant; you can offer its Shopify admin link second. Never show file IDs or gid:// values; keep them for tool calls.
Input
since: string, store?: stringsince: stringrequiredThe `since` value upload_file returned, unchanged. Never make one up.
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
get-digital-productoutputSchema declaredShow the merchant a card for a digital product: its media image, title, price, status, and what the buyer receives. Call this after each step of the digital product flow — after the price is set, after the file is attached, after the media image is added, and after publishing — so the merchant sees the listing as it stands. Every field is read back from Shopify, so the card is current rather than a summary of what was asked for. This only reads. It changes nothing about the product.
Input
productId: stringproductId: stringrequiredProduct GID returned by create-digital-product.
get-digital-products-install-statusoutputSchema declaredReport whether the Digital Products app is installed on the authenticated store. Call this once after the merchant says they have finished the Shopify Admin install flow that open-digital-products-install handed them. Do not poll it.
Input No parameters
get-shop-infooutputSchema declaredRetrieve basic information about the connected Shopify store including name, domain, email, plan, currency, timezone, and country. Use this when you need store context to tailor advice (e.g. plan limitations, currency for pricing, timezone for scheduling), when the user asks about their store details, or to verify which store is connected.
Input No parameters
graphql_mutationNo outputSchemaExecute a GraphQL mutation against the Shopify Admin API when no dedicated built-in tool covers the request. Before execution, call graphql_schema with operation 'mutation' to discover the exact mutation field and its arguments. Then use operation 'schema' and type_name to inspect unfamiliar input and return types, following nested named types as needed. Never guess fields. search_docs_chunks can supplement discovery with examples but never replaces it. Some dangerous mutations are blocked for safety (e.g. refunds, gift card writes, staff management, theme deletion, theme publishing). Theme fi
Input
query: string, store?: string, variables?: objectquery: stringrequiredGraphQL mutation string
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
variables?: objectoptionalGraphQL variables object
graphql_queryNo outputSchemaExecute a read-only GraphQL query against the Shopify Admin API when no dedicated built-in tool covers the request. Raw schema introspection (__schema / __type) is not allowed through this tool. Use graphql_schema with operation 'query' to find an unknown query field or inspect its arguments and return type. Use operation 'schema' and type_name only for unfamiliar types needed by the query, including custom scalars whose value formats are unknown. Reuse schema details already discovered; skip built-in scalars (String, Int, Float, Boolean, ID). Never guess fields. After constructing the query,
Input
after?: string, first?: integer, query: string, store?: string, variables?: objectafter?: stringoptionalPagination cursor from a previous response's endCursor
first?: integeroptionalNumber of items to return (1-100, default 10)
query: stringrequiredGraphQL query string
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
variables?: objectoptionalGraphQL variables object
graphql_schemaNo outputSchemaDiscover queries, mutations, and named types in the Shopify Admin GraphQL schema. This tool only inspects the schema; it never executes an operation. Every call needs operation or type_name; a call with neither is rejected. Set operation to 'query' or 'mutation' to list top-level field names, optionally filtered by a case-insensitive search. Supply an exact field_name to inspect its arguments, return type, and description; skip the name list if the field is already known. Set operation to 'schema' and type_name to a namedType returned by discovery to inspect one named type. Objects and interfa
Input
field_name?: string, operation?: string, search?: string, store?: string, type_name?: stringfield_name?: stringoptionalExact operation field, object/input field, or enum value to inspect
operation?: stringoptionalDiscover query fields, mutation fields, or a named type. Send operation or type_name on every call
search?: stringoptionalCase-insensitive substring to filter query or mutation names
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
type_name?: stringoptionalNamed type returned by discovery; required when operation is 'schema'
import-mock-shop-catalogoutputSchema declaredCopy a mock.shop sample catalog's starter set — its first 2 collections and up to 8 products from each (with variants, prices, images), so at most 16 products — into the merchant's connected store, publishing everything to the Online Store. Use it after the merchant picks a catalog from find-mock-shop-catalogs. One call does the whole import. RE-RUNNING IS SAFE AND NEVER OVERWRITES: calling again (after a timeout or `partial: true`) adds only what is missing — products not yet imported, memberships and publications not yet made. A product already imported from this catalog is left exactly as i
Input
subdomain: stringsubdomain: stringrequiredThe catalog's subdomain from find-mock-shop-catalogs (e.g. 'pets'). Not a URL.
open-digital-products-installoutputSchema declaredGet a Shopify Admin install link for Digital Products on the authenticated store. Use this only after the merchant has explicitly asked to install or prepare Digital Products for their store. The app identity is fixed by Shopify; this tool cannot install arbitrary apps and does not install anything silently. Relay the link to the merchant and ask them to come back here once the install is done. They must complete the Shopify Admin install flow before Digital Products connector tools can continue; call get-digital-products-install-status once they say they have.
Input No parameters
publish-digital-productoutputSchema declaredTake a draft digital product live through Shopify Digital Products, so buyers can purchase and download it. Activates the product and requests its Online Store listing. Refuses to publish a product with nothing attached, so attach the file first with upload-digital-product-file. Digital Products does not report whether the Online Store listing succeeded, so tell the merchant to check the product in their Online Store if buyers cannot find it.
Input
productId: string, title: stringproductId: stringrequiredProduct GID returned by create-digital-product (e.g. [REDACTED URI]
title: stringrequiredTitle to publish under. Digital Products requires one and stores its own copy, so pass the product's current title unless the merchant asked to rename it — anything else silently renames the product.
run-analytics-queryoutputSchema declaredRun a read-only ShopifyQL analytics query against the store. Use it for analytics and reporting questions such as "how much / how many / what were my … / … by … / … over time / … vs last year" about sales, orders, revenue, sessions, conversion, inventory, customers, marketing and more. Returns tabular results with automatic chart visualization. ShopifyQL has many schemas, and each schema owns its own metrics and dimensions. Most rejected queries use a column the chosen schema does not have. Before writing a query: 1. Check the common columns below. If the question needs a schema or column that
Input
query: stringquery: stringrequiredThe ShopifyQL query to execute
search_collectionsNo outputSchemaSearch and browse collections on a Shopify store. Use this whenever the user wants to see, find, or look at collections in their store. Trigger phrases include: 'show me my collections', 'what collections do I have', 'list my collections', 'find a collection', 'search collections', or any reference to viewing multiple collections. 'Show' and 'get' mean the same thing: always fetch live data from Shopify. Do NOT summarize from memory. Use this when the user wants to: - list or search collections - find a collection by name - check what collections exist in their store - find a collection GID to
Input
after?: string, first?: integer, reverse?: boolean, search_query?: string, sort_key?: stringafter?: stringoptionalCursor for pagination. Use the endCursor from a previous response to fetch the next page.
first?: integeroptionalNumber of collections to return (1-50, default 10)
reverse?: booleanoptionalReverse the sort order (e.g. most recently updated first with UPDATED_AT + reverse)
search_query?: stringoptionalSearch query to filter collections. Uses Shopify search syntax: free text, field filters (`title:Sale`, `collection_type:smart`, `updated_at:>'2024-01-01'`), and AND/OR/NOT. See the tool description for the full list of valid filter fields. Invalid fields are silently ignored and return all collections.
sort_key?: stringoptionalSort key for results. Use RELEVANCE only when search_query is provided.
search_docs_chunksNo outputSchemaThis tool will take in the user prompt, search shopify.dev, and return relevant documentation and code examples that will help answer the user's question.
Input
api_name?: string, max_num_results?: number, prompt: stringapi_name?: stringoptionalThe API name to filter search results by. Pass the same API name you used with learn_shopify_api (e.g., 'polaris-admin-extensions', 'pos-ui', 'admin'). This filters results to only return documentation for that specific API surface.
max_num_results?: numberoptionalMaximum number of results to return from the search. Do not pass this when calling the tool for the first time, only use this when you want to limit the number of results deal with small context window issues.
prompt: stringrequiredThe search query for Shopify documentation
set-inventoryoutputSchema declaredSet the available inventory quantity for a specific inventory item at a given location. Always use graphql_query first to read the inventoryItemId, locationId, and current available quantity. Pass the current quantity as compareQuantity so the update fails safely if stock changed since you read it.
Input
compareQuantity: integer, inventoryItemId: string, locationId: string, quantity: integer, reason?: stringcompareQuantity: integerrequiredThe current available quantity from your graphql_query read. The update will fail if stock has changed since the read, preventing accidental overwrites.
inventoryItemId: stringrequiredThe inventory item GID (e.g. [REDACTED URI]
locationId: stringrequiredThe location GID (e.g. [REDACTED URI]
quantity: integerrequiredThe new quantity to set as available
reason?: stringoptionalWhy the inventory is being changed. Defaults to 'correction'. Use 'received' for new shipments, 'restock' for returns, 'shrinkage' for lost/stolen/damaged, 'damaged' for damaged goods, 'cycle_count_available' for cycle counts, or 'other' if none apply.
switch-shopNo outputSchemaSwitch to a different Shopify store. Call this tool whenever the user wants to work with a different store — including when they ask to fetch data, manage products, or perform any action on another shop. Revokes the current store's access token so the next tool call will prompt authorization for a new store. IMPORTANT: You must always make a follow-up tool call after this tool returns. If the user requested a specific action (e.g. fetch products), call that tool next. Otherwise, you MUST call get-shop-info to complete the shop switch.
Input No parameters
test-digital-products-connectionoutputSchema declaredVerify that the connected store can exchange its Admin token and reach the Digital Products connector. This read-only check returns no credentials or connector data.
Input No parameters
theme_bashoutputSchema declaredRun a bash script against one of the store's themes, on Shopify's servers. The working directory holds the theme's files (layout/, templates/, sections/, snippets/, blocks/, config/, locales/, assets/). Load the editing-themes skill once per conversation, before the first change: it covers finding the theme to work on, design, accessibility, Shop Pay Installments rules, and when to save. The shell is a sandboxed bash with common utilities: ls, cat, head, tail, grep, rg, sed, awk, find, xargs, sort, uniq, wc, cut, tr, diff, jq, echo, printf, mkdir, cp, mv, rm, touch, plus pipes, redirects, vari
Input
script: string, store?: string, themeId: stringscript: stringrequiredThe bash script to run, e.g. `grep -rn 'color_scheme' sections | head`.
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
themeId: stringrequiredThe theme to work on, e.g. `[REDACTED URI] List the store's themes with graphql_query to find it.
theme_commitoutputSchema declaredSaves a theme's pending edits (what theme_bash changed) to the theme on Shopify, as one version in the theme's history. It belongs at the end of a complete change that renders, not after every script. There is no undo. On a connected store, a commit on the live theme is kept as a saved version and visitors see it only after theme_publish. A file Shopify refuses stays pending: fix it with theme_bash, then commit again. Returns the files it saved or deleted, the files waiting for theme_publish, the edits still pending, and why any were not saved. On a PreviewStore, pass its domain as `store`. A
Input
description: string, store?: string, themeId: stringdescription: stringrequiredWhat the change does, in one short sentence, e.g. `Add a promo banner to the home page`. It names the version in the theme's history.
store?: stringoptionalDomain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.
themeId: stringrequiredThe theme to work on, e.g. `[REDACTED URI] List the store's themes with graphql_query to find it.
Resources 10
Some details were sanitized for public display.
admin-graphqltext/markdownWrite and run Shopify Admin GraphQL queries and mutations. Covers when to look up the schema, the types you can skip inspecting, pagination, mutation safety, and recovery from validation or execution errors.
editing-themestext/markdownDesign, build, alter, fix, and review the merchant's online store theme (the website buyers visit to browse and buy). Use this skill whenever you change or review a theme with `theme_bash`. For requests to remove, hide, or turn off Shop Pay Installments banners, read this skill before editing. For these requests, make the warning your next visible message after reading this skill, before any further tool call. Use this warning: "Removing these banners reduces buyers' awareness of flexible payment options." Repeat it on each removal turn, including retries, even if you warned earlier. Then remo
editing-themes/references/accessibility.mdtext/markdownediting-themes/references/design-task.mdtext/markdownediting-themes/references/motion.mdtext/markdownediting-themes/references/shop-pay-installments/artwork.mdtext/markdownediting-themes/references/shop-pay-installments/disclosures.mdtext/markdownediting-themes/references/shop-pay-installments/messaging.mdtext/markdownediting-themes/references/shop-pay-installments/placement.mdtext/markdownediting-themes/references/typography.mdtext/markdown