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 guide

Connection 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

Authorization setup

No app registration needed

This catalog entry does not require authorization or provider app registration.

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.
MCP client

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.json on Windows), serverUrl or url
  • 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

ClientStatusWhy
Claude CodeSupportedClaude Code supports Streamable HTTP servers and servers without authentication or OAuth sign-in.
CodexPartialCodex CLI ignores resources: The server can still connect, but Codex CLI does not consume the advertised resources capability.
CursorSupportedCursor supports Streamable HTTP servers and servers without authentication or OAuth sign-in.
VS CodeSupportedVS Code supports Streamable HTTP servers and servers without authentication or OAuth sign-in.
ClaudeSupportedClaude supports Streamable HTTP servers and servers without authentication or OAuth sign-in.
Claude DesktopSupportedClaude Desktop supports Streamable HTTP servers and servers without authentication or OAuth sign-in.
ChatGPTPartialChatGPT ignores resources: The server can still connect, but ChatGPT does not consume the advertised resources capability.
WindsurfPartialWindsurf's documentation does not state support for servers without authentication.
Gemini CLISupportedGemini CLI supports Streamable HTTP servers and servers without authentication or OAuth sign-in.
MCP SDKSupportedMCP 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.

Similar servers

  • Upwork — Upwork's hosted MCP server supports marketplace work across jobs, proposals, offers, contracts, and hiring workflows. OAuth 2.1
  • Youth4work — Search Youth4work jobs, manage profiles and access recruiting and skill-assessment tools. OAuth 2.1
  • Zyla API Hub — Discover APIs in Zyla API Hub and call supported services with account credentials. No authentication
  • AWS Marketplace — Searches, compares and researches AWS Marketplace products and returns solution details and report guidelines. No authentication. No authentication
  • Fiverr — Searches the Fiverr marketplace for freelancers and returns seller profiles, gigs and review summaries. No account needed. No authentication
  • Order by Cash App — Finds nearby restaurants that take Cash App pickup orders, reads their menus and creates a cart to check out in Cash App. No authentication to connect. No authentication

Guides for this server

Watch this server for breaking changes

Share and embed

Maintain Shopify? Embed this badge in your README. It follows the latest catalog validation result and links to this server profile.

mcptest.io: ready

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 declared

    Add 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: array
    • collectionId: stringrequired

      The collection GID (e.g. [REDACTED URI] Always use the full GID format, not a bare numeric ID.

    • productIds: arrayrequired

      The 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 declared

    Update 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: string
    • collectionId?: stringoptional

      GID 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?: arrayoptional

      List of product GIDs to update. At least one of productIds or collectionId must be provided.

    • status: stringrequired

      Target status for all products

  • create_storeoutputSchema declared

    Create 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?: string
    • country?: stringoptional

      The 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?: stringoptional

      Name for the store, e.g. 'Ember & Oak'. Use a name the user gave; omit it otherwise.

  • create-collectionoutputSchema declared

    Create 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: string
    • descriptionHtml?: stringoptional

      HTML description of the collection

    • image?: objectoptional

      Collection image. Must be a publicly accessible HTTPS URL.

    • productIds?: arrayoptional

      Product GIDs to add to a manual collection (e.g. [REDACTED URI] Mutually exclusive with ruleSet.

    • ruleSet?: objectoptional

      Rules for a smart collection. Mutually exclusive with productIds.

    • sortOrder?: stringoptional

      The order in which products are sorted in the collection

    • title: stringrequired

      The collection title

  • create-digital-productoutputSchema declared

    Create 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: string
    • link?: objectoptional

      An external link to deliver instead of a file. Omit it when the merchant will upload a file.

    • title: stringrequired

      Title for the new draft digital product.

  • create-digital-product-from-linkoutputSchema declared

    Deprecated: 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: string
    • name?: stringoptional
    • title: stringrequired
    • url: stringrequired
  • create-discountoutputSchema declared

    Create 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: string
    • code: stringrequired

      The discount code customers will enter

    • collectionId?: stringoptional

      Scope 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?: stringoptional

      Set 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?: arrayoptional

      Customer 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?: stringoptional

      ISO 8601 end date (defaults to no end date)

    • minimumPurchaseAmount?: numberoptional

      Minimum order subtotal required to use the discount (must be greater than 0). Mutually exclusive with minimumQuantity.

    • minimumQuantity?: integeroptional

      Minimum number of items required to use the discount. Mutually exclusive with minimumPurchaseAmount.

    • percentage: numberrequired

      The discount percentage (1-100)

    • productIds?: arrayoptional

      Scope 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?: stringoptional

      ISO 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: stringrequired

      The title of the discount

  • find-mock-shop-catalogsoutputSchema declared

    Find 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: string
    • limit?: integeroptional

      How many catalogs to return. Defaults to 3; leave unset unless the merchant asks for more options.

    • query: stringrequired

      What 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 declared

    Generate 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?: string
    • description: stringrequired

      REQUIRED — 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?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

  • generate-domain-namesoutputSchema declared

    Suggest 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?: string
    • exactDomain?: stringoptional

      Optional. 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: stringrequired

      REQUIRED — 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?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

    • storeName?: stringoptional

      Optional. 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 declared

    Get 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: string
    • store: stringrequired

      Domain of the PreviewStore, e.g. k3f9a2x7.myshopify.com.

  • get_uploaded_filesoutputSchema declared

    List 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?: string
    • since: stringrequired

      The `since` value upload_file returned, unchanged. Never make one up.

    • store?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

  • get-digital-productoutputSchema declared

    Show 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: string
    • productId: stringrequired

      Product GID returned by create-digital-product.

  • get-digital-products-install-statusoutputSchema declared

    Report 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 declared

    Retrieve 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 outputSchema

    Execute 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?: object
    • query: stringrequired

      GraphQL mutation string

    • store?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

    • variables?: objectoptional

      GraphQL variables object

  • graphql_queryNo outputSchema

    Execute 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?: object
    • after?: stringoptional

      Pagination cursor from a previous response's endCursor

    • first?: integeroptional

      Number of items to return (1-100, default 10)

    • query: stringrequired

      GraphQL query string

    • store?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

    • variables?: objectoptional

      GraphQL variables object

  • graphql_schemaNo outputSchema

    Discover 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?: string
    • field_name?: stringoptional

      Exact operation field, object/input field, or enum value to inspect

    • operation?: stringoptional

      Discover query fields, mutation fields, or a named type. Send operation or type_name on every call

    • search?: stringoptional

      Case-insensitive substring to filter query or mutation names

    • store?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

    • type_name?: stringoptional

      Named type returned by discovery; required when operation is 'schema'

  • import-mock-shop-catalogoutputSchema declared

    Copy 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: string
    • subdomain: stringrequired

      The catalog's subdomain from find-mock-shop-catalogs (e.g. 'pets'). Not a URL.

  • open-digital-products-installoutputSchema declared

    Get 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 declared

    Take 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: string
    • productId: stringrequired

      Product GID returned by create-digital-product (e.g. [REDACTED URI]

    • title: stringrequired

      Title 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 declared

    Run 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: string
    • query: stringrequired

      The ShopifyQL query to execute

  • search_collectionsNo outputSchema

    Search 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?: string
    • after?: stringoptional

      Cursor for pagination. Use the endCursor from a previous response to fetch the next page.

    • first?: integeroptional

      Number of collections to return (1-50, default 10)

    • reverse?: booleanoptional

      Reverse the sort order (e.g. most recently updated first with UPDATED_AT + reverse)

    • search_query?: stringoptional

      Search 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?: stringoptional

      Sort key for results. Use RELEVANCE only when search_query is provided.

  • search_docs_chunksNo outputSchema

    This 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: string
    • api_name?: stringoptional

      The 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?: numberoptional

      Maximum 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: stringrequired

      The search query for Shopify documentation

  • set-inventoryoutputSchema declared

    Set 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?: string
    • compareQuantity: integerrequired

      The current available quantity from your graphql_query read. The update will fail if stock has changed since the read, preventing accidental overwrites.

    • inventoryItemId: stringrequired

      The inventory item GID (e.g. [REDACTED URI]

    • locationId: stringrequired

      The location GID (e.g. [REDACTED URI]

    • quantity: integerrequired

      The new quantity to set as available

    • reason?: stringoptional

      Why 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 outputSchema

    Switch 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 declared

    Verify 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 declared

    Run 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: string
    • script: stringrequired

      The bash script to run, e.g. `grep -rn 'color_scheme' sections | head`.

    • store?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

    • themeId: stringrequired

      The theme to work on, e.g. `[REDACTED URI] List the store's themes with graphql_query to find it.

  • theme_commitoutputSchema declared

    Saves 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: string
    • description: stringrequired

      What 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?: stringoptional

      Domain of the PreviewStore to use, e.g. k3f9a2x7.myshopify.com. Omit to use the connected store.

    • themeId: stringrequired

      The 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/markdown

    Write 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/markdown

    Design, 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/markdown
  • editing-themes/references/design-task.mdtext/markdown
  • editing-themes/references/motion.mdtext/markdown
  • editing-themes/references/shop-pay-installments/artwork.mdtext/markdown
  • editing-themes/references/shop-pay-installments/disclosures.mdtext/markdown
  • editing-themes/references/shop-pay-installments/messaging.mdtext/markdown
  • editing-themes/references/shop-pay-installments/placement.mdtext/markdown
  • editing-themes/references/typography.mdtext/markdown