
Shopify
io.github.kisasa由 GitHub 账号 kisasa 发布v1.2.0更新于 Nov 7, 2026
Shopify Admin API tools: products, media, orders, customers, inventory, and sales channels
概览
本地 MCP 服务器,让助手通过 Shopify Admin API 管理商品、媒体、订单、客户、库存和销售渠道。
- 可以做什么
- 管理商品、变体、选项和商品媒体,包括按 URL 附加图片并查看处理状态
- 在销售渠道上发布或取消发布商品,并查看发布状态
- 创建、更新、合并和删除客户,并管理其地址
- 查询、更新、取消、关闭订单,标记已付款、发货和退款,并完成草稿订单
- 读写和删除任意资源的元字段与标签,调整库存数量和成本
- 列表查询支持筛选、排序、游标分页、字段选择和仅计数模式
- 适用场景
- 适合希望在桌面客户端中让助手直接操作 Shopify 店铺的场景,例如编辑商品目录、维护客户记录,或处理订单与发货,而无需切换到后台管理界面。
- 运行要求
- 通过 npx 或全局 npm 安装后在本地运行,需要 Node.js 18 或更高版本。需要一个 Shopify 店铺及自定义应用,并配置 Admin API 权限范围。凭据可以是 Dev Dashboard 的客户端 ID 与密钥,或旧版静态管理员访问令牌,通过命令行参数或 MYSHOPIFY_DOMAIN、SHOPIFY_CLIENT_ID、SHOPIFY_CLIENT_SECRET、SHOPIFY_ACCESS_TOKEN 环境变量提供。需要能访问 Shopify 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Shopify,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Shopify MCP Server
MCP Server for Shopify API, enabling interaction with store data through GraphQL API. This server provides tools for managing products, customers, orders, and more.
📦 Package Name: @kisasa/shopify-mcp
🚀 Command: shopify-mcp (NOT shopify-mcp-server)
Built on lucasjahn/shopify-mcp, itself a fork of GeLi2001/shopify-mcp. See Credits.
Features
- Product Management: Full CRUD for products, variants, and options, including variant images and inventory policy (8 tools)
- Product Media: Attach images to products by URL and check processing status (2 tools)
- Sales Channel Publishing: List sales channels and publish or unpublish products on them (4 tools)
- Customer Management: Full CRUD, merge, and address management (8 tools)
- Order Management: Smart lookup, cancel, close/open, mark as paid, fulfillment, refunds (10 tools)
- Metafield Management: Get, set, and delete metafields on any resource (3 tools)
- Collection Management: List collections and get collection details with products (2 tools)
- Configuration & Discovery: Shop info, metafield definitions, locations, markets (5 tools)
- Inventory & Pricing: Set quantities and unit costs, view levels/items, price lists, detailed variants (6 tools)
- Tag Management: Add/remove tags on any taggable resource, including bulk operations (2 tools)
- Enhanced Order Tools: Transactions, fulfillment orders, refund details (3 tools)
- Field Selection: All GET tools support a
fieldsparameter to fetch only the data you need - Count-Only Mode: List tools support
countOnlyto get result counts without fetching data - Pagination & Sorting: Cursor-based pagination and sort keys on all list queries
- Advanced Filtering: Pass-through Shopify query syntax for all list endpoints
- GraphQL Integration: Direct integration with Shopify's GraphQL Admin API (2026-10)
- Comprehensive Error Handling: Clear error messages for API and authentication issues
Prerequisites
- Node.js (version 18 or higher)
- A Shopify store with a custom app (see setup instructions below)
Setup
Authentication
This server supports two authentication methods:
Option 1: Client Credentials (Dev Dashboard apps, January 2026+)
As of January 1, 2026, new Shopify apps are created in the Dev Dashboard and use OAuth client credentials instead of static access tokens.
-
From your Shopify admin, go to Settings > Apps and sales channels
-
Click Develop apps > Build app in dev dashboard
-
Create a new app and configure Admin API scopes. The core scopes are:
read_products,write_productsread_customers,write_customersread_orders,write_orders
Some tools need additional scopes. Add only the ones for features you use:
For every tool, the full list is:
After changing scopes, release a new app version, approve it on the store, and restart the MCP server so it fetches a token with the new scopes.
-
Install the app on your store
-
Copy your Client ID and Client Secret from the app's API credentials
The server will automatically exchange these for an access token and refresh it before it expires (tokens are valid for ~24 hours).
Option 2: Static Access Token (legacy apps)
If you have an existing custom app with a static shpat_ access token, you can still use it directly.
Usage with Claude Desktop
Client Credentials (recommended):
Client Credentials via environment variables (keeps secrets out of the command line):
To connect more than one store, add one entry per store with a different name (e.g. "shopify-store-a", "shopify-store-b").
Static Access Token (legacy):
Locations for the Claude Desktop config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
Usage with Claude Code
Client Credentials:
Static Access Token (legacy):
Alternative: Run Locally with Environment Variables
If you prefer to use environment variables instead of command-line arguments:
-
Create a
.envfile with your Shopify credentials:Client Credentials:
Static Access Token (legacy):
-
Run the server with npx:
Direct Installation (Optional)
If you want to install the package globally:
Then run it:
Additional Options
--apiVersion: Specify the Shopify API version (default:2026-10). Can also be set viaSHOPIFY_API_VERSIONenvironment variable.
⚠️ Important: If you see errors about "SHOPIFY_ACCESS_TOKEN environment variable is required" when using command-line arguments, you might have a different package installed. Make sure you're using @kisasa/shopify-mcp, not shopify-mcp-server or the unscoped shopify-mcp.
Available Tools (52)
Shared Capabilities
All list query tools (get-products, get-customers, get-orders, get-customer-orders, get-collections) support:
- Cursor-based pagination:
after/before(cursor strings), withpageInfoin the response (hasNextPage,hasPreviousPage,startCursor,endCursor) - Sorting:
sortKey(enum specific to each resource) andreverse(boolean) - Advanced filtering:
queryorsearchQueryparameter accepting Shopify query syntax - Field selection:
fieldsparameter to fetch only specific fields, reducing response size - Count-only mode:
countOnlyparameter returns{ count: N }without fetching any resource data — useful for sizing queries before paginating
Product Management (8 tools)
-
get-products- Get all products or search by title with pagination and sorting
- Inputs:
searchTitle(string, optional): Filter products by title (wraps intitle:*...*)limit(number, default: 10): Maximum number of products to returnquery(string, optional): Raw Shopify query string (e.g."status:active vendor:Nike tag:sale")sortKey(string, optional): One ofCREATED_AT,ID,INVENTORY_TOTAL,PRODUCT_TYPE,PUBLISHED_AT,RELEVANCE,TITLE,UPDATED_AT,VENDORreverse(boolean, optional): Reverse the sort orderafter/before(string, optional): Pagination cursorsfields(array, optional): Fields to fetch. Available:id,title,description,handle,status,createdAt,updatedAt,totalInventory,vendor,productType,tags,mediaCount,priceRange,media,variants(first 10, withid,title,price,inventoryQuantity,sku,barcode,inventoryPolicy)countOnly(boolean, optional): Return only{ count: N }
-
get-product-by-id- Get a specific product by ID with full details including SEO, options, media, variants, and collections
- Inputs:
productId(string, required): Shopify product GID
- Returns:
productType,descriptionHtml,seo,options(withoptionValues),media(images),variants,collections,tags,vendor, price range, inventory
-
create-product- Create a new product. When using
productOptions, Shopify registers all option values but only creates one default variant (first value of each option, price $0). Usemanage-product-variantswithstrategy: REMOVE_STANDALONE_VARIANTafterward to create all real variants with prices. - Inputs:
title(string, required): Title of the productdescriptionHtml(string, optional): Description with HTMLhandle(string, optional): URL slug. Auto-generated from title if omittedvendor(string, optional): Vendor of the productproductType(string, optional): Type of the producttags(array of strings, optional): Product tagsstatus(string, optional):"ACTIVE","DRAFT", or"ARCHIVED". Default"DRAFT"seo(object, optional):{ title, description }for search enginesmetafields(array of objects, optional): Custom metafields (namespace,key,value,type)productOptions(array of objects, optional): Options to create inline, e.g.[{ name: "Size", values: [{ name: "S" }, { name: "M" }] }]. Max 3 options.collectionsToJoin(array of strings, optional): Collection GIDs to add the product to
- Create a new product. When using
-
update-product- Update an existing product's fields
- Inputs:
id(string, required): Shopify product GIDtitle(string, optional): New titledescriptionHtml(string, optional): New descriptionhandle(string, optional): New URL slugvendor(string, optional): New vendorproductType(string, optional): New product typetags(array of strings, optional): New tags (overwrites existing)status(string, optional):"ACTIVE","DRAFT", or"ARCHIVED"seo(object, optional):{ title, description }for search enginesmetafields(array of objects, optional): Metafields to set or updatecollectionsToJoin(array of strings, optional): Collection GIDs to add the product tocollectionsToLeave(array of strings, optional): Collection GIDs to remove the product fromredirectNewHandle(boolean, optional): If true, old handle redirects to new handle
-
delete-product- Delete a product
- Inputs:
id(string, required): Shopify product GID
-
manage-product-options- Create, update, or delete product options (e.g. Size, Color)
- Inputs:
productId(string, required): Shopify product GIDaction(string, required):"create","update", or"delete"variantStrategy(string, optional):"LEAVE_AS_IS"(default) or"CREATE"— controls whether new variant combinations are generated when adding options- For
action: "create":options(array, required): Options to create, e.g.[{ name: "Size", values: ["S", "M", "L"] }]
- For
action: "update":optionId(string, required): Option GID to updatename(string, optional): New name for the optionposition(number, optional): New positionvaluesToAdd(array of strings, optional): Values to addvaluesToDelete(array of strings, optional): Value GIDs to remove
- For
action: "delete":optionIds(array of strings, required): Option GIDs to delete
-
manage-product-variants- Create or update product variants in bulk
- Inputs:
productId(string, required): Shopify product GIDstrategy(string, optional): How to handle the default variant when creating."DEFAULT"(removes "Default Title" automatically),"REMOVE_STANDALONE_VARIANT"(recommended for full control), or"PRESERVE_STANDALONE_VARIANT"variants(array, required): Variants to create or update. Each variant:id(string, optional): Variant GID for updates. Omit to create newprice(string, optional): Price, e.g."49.00"compareAtPrice(string, optional): Compare-at price for showing discountssku(string, optional): SKU (mapped toinventoryItem.sku)tracked(boolean, optional): Whether inventory is tracked. Setfalsefor print-on-demandtaxable(boolean, optional): Whether the variant is taxablebarcode(string, optional): Barcodeweight(number, optional): Weight of the variantweightUnit(string, optional):"GRAMS","KILOGRAMS","OUNCES", or"POUNDS"optionValues(array, optional): Option values, e.g.[{ optionName: "Size", name: "A4" }]mediaId(string, optional): Product media GID (gid://shopify/MediaImage/...) to use as the variant's image. The media must already be attached to the product (seeadd-product-media) and should beREADYinventoryPolicy(string, optional):"DENY"stops sales at 0 inventory,"CONTINUE"allows overselling
- Returns:
{ created, updated, userErrors }. Each variant includesinventoryPolicy,mediaId, andimageUrl.userErrorsare returned (taggedoperation: "create"or"update") rather than thrown, so always check them
-
delete-product-variants- Delete one or more variants from a product
- Inputs:
productId(string, required): Shopify product GIDvariantIds(array of strings, required): Variant GIDs to delete
Product Media (2 tools)
-
add-product-media- Attach images to an existing product by public URL (uses
productUpdatewithmedia;productCreateMediais deprecated) - Inputs:
productId(string, required): Shopify product GIDmedia(array, required): Images to attach, each{ originalSource, alt? }.originalSourcemust be a publicly accessible URL that Shopify can download
- Returns:
{ productId, media, userErrors }, where each new media item hasid,status,alt,imageUrl, andmediaErrors - Shopify processes media asynchronously. New items usually start as
UPLOADEDorPROCESSINGwithimageUrl: null; useget-product-mediato confirm they reachREADY
- Attach images to an existing product by public URL (uses
-
get-product-media- List a product's media with processing status
- Inputs:
productId(string, required): Shopify product GID
- Returns: each item's
id,status(UPLOADED/PROCESSING/READY/FAILED),mediaContentType,alt,imageUrl, andmediaErrors(explains aFAILEDstatus)
Example: give a variant its own image
add-product-mediawith the image URLget-product-mediauntil the new item isREADY, and copy itsidmanage-product-variantswith{ id: "<variant GID>", mediaId: "<media GID>" }
Sales Channel Publishing (4 tools)
These tools work with sales channels (publications with an app catalog, such as Online Store and Point of Sale). Market and B2B catalogs are not included. Requires the read_publications and write_publications scopes.
-
get-publications- List the store's sales channels
- Inputs: none
- Returns: each channel's
id,name(e.g."Online Store"),handle(e.g."online_store"),autoPublish, andsupportsFuturePublishing
-
get-product-publications- Show whether a product is published on each sales channel
- Inputs:
productId(string, required): Shopify product GID
- Returns:
{ productId, title, publications }, withpublicationId,name,published, andpublishDatefor every channel
-
publish-product- Publish a product to one or more sales channels (uses
publishablePublish) - Inputs:
productId(string, required): Shopify product GIDpublicationIds(array of strings, optional): Publication GIDs fromget-publicationspublicationNames(array of strings, optional): Channel names exactly as returned byget-publications, e.g.["Online Store", "Point of Sale"]- Provide exactly one of
publicationIdsorpublicationNames. A name that matches no channel, or more than one, is rejected before anything changes
- Returns: the product's state on every channel afterwards, plus
userErrors
- Publish a product to one or more sales channels (uses
-
unpublish-product- Unpublish a product from one or more sales channels (uses
publishableUnpublish) - Inputs: same as
publish-product - Returns: the product's state on every channel afterwards, plus
userErrors
- Unpublish a product from one or more sales channels (uses
Customer Management (8 tools)
-
get-customers- List customers with search, pagination, and sorting
- Inputs:
searchQuery(string, optional): Freetext or Shopify query syntax (e.g."country:US tag:vip orders_count:>5")limit(number, default: 10): Maximum number of customers to returnsortKey(string, optional): One ofCREATED_AT,ID,LAST_UPDATE,LOCATION,NAME,ORDERS_COUNT,RELEVANCE,TOTAL_SPENT,UPDATED_ATreverse(boolean, optional): Reverse the sort orderafter/before(string, optional): Pagination cursors
-
get-customer-by-id- Get a single customer by ID with full details
- Inputs:
id(string, required): Shopify customer ID (numeric only, e.g."6276879810626")
- Returns: name, email, phone, addresses, tags, note, tax status, amount spent, order count, metafields
-
create-customer- Create a new customer
- Inputs:
firstName(string, optional): Customer's first namelastName(string, optional): Customer's last nameemail(string, optional): Customer's email addressphone(string, optional): Customer's phone numbertags(array of strings, optional): Tags to applynote(string, optional): Note about the customertaxExempt(boolean, optional): Whether the customer is exempt from taxesmetafields(array of objects, optional): Custom metafields (namespace,key,value,type)addresses(array of objects, optional): Customer addresses (address1,address2,city,provinceCode,zip,country,phone)
-
update-customer- Update a customer's information
- Inputs:
id(string, required): Shopify customer ID (numeric only, e.g."6276879810626")firstName(string, optional): Customer's first namelastName(string, optional): Customer's last nameemail(string, optional): Customer's email addressphone(string, optional): Customer's phone numbertags(array of strings, optional): Tags to apply to the customernote(string, optional): Note about the customertaxExempt(boolean, optional): Whether the customer is exempt from taxesemailMarketingConsent(object, optional): Email marketing consent settingsmarketingState(string, required):"NOT_SUBSCRIBED","SUBSCRIBED","UNSUBSCRIBED", or"PENDING"consentUpdatedAt(string, optional): ISO 8601 timestampmarketingOptInLevel(string, optional):"SINGLE_OPT_IN","CONFIRMED_OPT_IN", or"UNKNOWN"
metafields(array of objects, optional): Customer metafields
-
delete-customer- Delete a customer
- Inputs:
id(string, required): Shopify customer ID (numeric only, e.g."6276879810626")
-
customer-merge- Merge two customer records into one
- Inputs:
customerOneId(string, required): GID of the first customercustomerTwoId(string, required): GID of the second customeroverrideFields(object, optional): Override which fields to keep from which customer (firstName, lastName, email, phone, defaultAddress, note, tags)
-
manage-customer-address- Create, update, or delete a customer's mailing address
- Inputs:
customerId(string, required): Customer GIDaction(string, required):"create","update", or"delete"addressId(string, optional): Address GID (required for update/delete)address(object, optional): Address fields (required for create/update):address1,address2,city,company,countryCode,firstName,lastName,phone,provinceCode,zipsetAsDefault(boolean, optional): Set as customer's default address
Order Management (10 tools)
-
get-orders- Get orders with filtering, pagination, and sorting
- Inputs:
status(string, optional):"any","open","closed", or"cancelled". Default"any"limit(number, default: 10): Maximum number of orders to returnquery(string, optional): Raw Shopify query string (e.g."financial_status:paid fulfillment_status:shipped tag:rush")sortKey(string, optional): One ofCREATED_AT,ORDER_NUMBER,TOTAL_PRICE,FINANCIAL_STATUS,FULFILLMENT_STATUS,UPDATED_AT,CUSTOMER_NAME,PROCESSED_AT,ID,RELEVANCEreverse(boolean, optional): Reverse the sort orderafter/before(string, optional): Pagination cursors
-
get-order-by-id- Get a specific order by ID with smart lookup — accepts order name (
#77235or77235), numeric ID (8054938337547), or full GID (gid://shopify/Order/...) - Inputs:
orderId(string, required): Order name, numeric ID, or full GID
- Returns: pricing, customer, shipping/billing addresses, line items, tags, notes, metafields, cancel reason, return status, discount codes, PO number, timestamps
- Get a specific order by ID with smart lookup — accepts order name (
-
update-order- Update an existing order
- Inputs:
id(string, required): Shopify order GIDtags(array of strings, optional): New tags for the orderemail(string, optional): Update customer email on the ordernote(string, optional): Order notesphone(string, optional): Phone number for the orderpoNumber(string, optional): Purchase order numbercustomAttributes(array of objects, optional): Custom key-value attributesmetafields(array of objects, optional): Order metafieldsshippingAddress(object, optional): Shipping address fields
-
get-customer-orders- Get orders for a specific customer with pagination and sorting
- Inputs:
customerId(string, required): Shopify customer ID (numeric only, e.g."6276879810626")limit(number, default: 10): Maximum number of orders to returnsortKey(string, optional): Same sort keys asget-ordersreverse(boolean, optional): Reverse the sort orderafter/before(string, optional): Pagination cursors
-
order-cancel- Cancel an order with options for refunding, restocking, and customer notification. Irreversible.
- Inputs:
orderId(string, required): Order GIDreason(string, required):"CUSTOMER","DECLINED","FRAUD","INVENTORY","OTHER", or"STAFF"restock(boolean, required): Whether to restock inventorynotifyCustomer(boolean, default: false): Notify the customerstaffNote(string, optional): Internal noterefund(boolean, optional): Refund to original payment method
-
order-close-open- Close or reopen an order
- Inputs:
orderId(string, required): Order GIDaction(string, required):"close"or"open"
-
order-mark-as-paid- Mark an order as paid (for manual/offline payments)
- Inputs:
orderId(string, required): Order GID
-
create-fulfillment- Create a fulfillment (mark items as shipped) with optional tracking
- Inputs:
lineItemsByFulfillmentOrder(array, required): Fulfillment orders and line items to fulfilltrackingInfo(object, optional):{ number, url, company }tracking detailsnotifyCustomer(boolean, default: false): Send shipping notification
-
refund-create- Create a full or partial refund with optional restocking
- Inputs:
orderId(string, required): Order GIDrefundLineItems(array, optional): Line items to refund withlineItemId,quantity,restockType(CANCEL/RETURN/NO_RESTOCK),locationIdshipping(object, optional):{ amount, fullRefund }shipping refundnote(string, optional): Refund notenotify(boolean, optional): Send refund notification
-
create-draft-order- Create a draft order for phone/chat sales, invoicing, or wholesale
- Inputs:
lineItems(array, required): Product variants (variantId) or custom items (title+ price). Max 499customerId(string, optional): Customer GIDemail,phone,note,tags,poNumber(optional)shippingAddress,billingAddress(objects, optional)appliedDiscount(object, optional):{ title, value, valueType }order-level discount
Draft Order Management (1 tool)
-
complete-draft-order- Complete a draft order, converting it into a real order
- Inputs:
draftOrderId(string, required): Draft order GIDpaymentGatewayId(string, optional): Payment gateway GID
Metafield Management (3 tools)
-
get-metafields- Get metafields for any Shopify resource (products, orders, customers, variants, collections, etc.)
- Inputs:
ownerId(string, required): GID of any resourcenamespace(string, optional): Filter by namespacefirst(number, default: 25): Number of metafields to returnafter(string, optional): Pagination cursor
-
set-metafields- Set metafields on any Shopify resource. Creates or updates up to 25 metafields atomically
- Inputs:
metafields(array, required): Metafields to set, each withownerId,key,value, and optionalnamespace,type
-
delete-metafields- Delete metafields from any Shopify resource
- Inputs:
metafields(array, required): Metafields to delete, each withownerId,namespace,key
Inventory Management (2 tools)
-
inventory-set-quantities- Set absolute inventory quantities for items at specific locations
- Inputs:
reason(string, required): Reason for change (e.g."correction","cycle_count_available")name(string, required):"available"or"on_hand"quantities(array, required): Items withinventoryItemId,locationId,quantity, and optionalchangeFromQuantitychangeFromQuantity(integer or null, optional): The quantity you expect is currently stored. Shopify only applies the change if it still matches, and otherwise returns aCHANGE_FROM_QUANTITY_STALEerror. Omit it (or passnull) to set the quantity without this check
idempotencyKey(string, optional): Idempotency key for the request, which Admin API 2026-04 and later require. If omitted, a new UUID is generated for each call. Reuse a key only to retry the exact same request
- Returns:
{ idempotencyKey, adjustmentGroup, userErrors }.userErrorsinclude acode(e.g.CHANGE_FROM_QUANTITY_STALE,IDEMPOTENCY_KEY_PARAMETER_MISMATCH) and are returned rather than thrown, so always check them
-
update-inventory-item- Set an inventory item's unit cost and/or whether its inventory is tracked
- Inputs:
inventoryItemId(string, required):gid://shopify/InventoryItem/123or just123. This is the inventory item ID, not the variant ID (get it fromget-inventory-itemsorget-product-variants-detailed). A GID of another type, such as aProductVariantGID, is rejectedcost(number or decimal string, optional): Unit cost in the shop's currency, e.g.12.5or"12.50". Must be >= 0tracked(boolean, optional): Whether Shopify tracks inventory for this item- Provide at least one of
costortracked
- Returns:
{ inventoryItemId, unitCost: { amount, currencyCode }, tracked, variantId, productId, productTitle, userErrors } - If Shopify returns
userErrors, the call fails as a tool error with their messages, so a rejected update is never mistaken for success - Read the cost back with
get-inventory-items, which returnsinventoryItem.unitCost
Tag Management (2 tools)
-
manage-tags- Add or remove tags on any taggable resource (orders, products, customers, draft orders, articles)
- Inputs:
id(string, required): GID of the resource (e.g.gid://shopify/Product/123)tags(array of strings, required): Tags to add or removeaction(string, required):"add"or"remove"
-
manage-tags-bulk- Bulk add or remove tags on up to 100 resources in a single call (runs mutations in parallel)
- Inputs:
ids(array of strings, required): Resource GIDs (up to 100). For larger sets, call multiple timestags(array of strings, required): Tags to add or removeaction(string, required):"add"or"remove"
Collection Management (2 tools)
-
get-collections- List collections with search, pagination, and sorting
- Inputs:
query(string, optional): Shopify query syntaxlimit(number, default: 10): Maximum collections to returnsortKey,reverse,after/before: Standard pagination and sortingfields,countOnly: Standard field selection and count-only mode
-
get-collection-by-id- Get a single collection with full details including products, rules (smart collections), SEO, and image
- Inputs:
collectionId(string, required): Collection ID (e.g.gid://shopify/Collection/123or just123)productsFirst(number, default: 25): Number of products to include (0 to skip)fields(array, optional): Collection-level fields to fetch (id,title,handle,descriptionHtml,sortOrder,templateSuffix,updatedAt,productsCount,ruleSet,image,seo)
Configuration & Discovery (4 tools)
get-shop-info— Get shop details (name, domain, plan, currency, timezone, etc.)get-metafield-definitions— List metafield definitions for any owner type with paginationget-locations— List all active locations with addresses and fulfillment service infoget-markets— List all markets with regions, currencies, and domains
Enhanced Order & Fulfillment (3 tools)
get-order-transactions— Get payment transactions for an order (gateway, status, amounts, card details)get-fulfillment-orders— Get fulfillment orders for an order (line items, assigned location, status)get-order-refund-details— Get refund history for an order (line items, amounts, restocking)
Inventory & Pricing (4 tools)
See also inventory-set-quantities and update-inventory-item under Inventory Management.
get-inventory-levels— Get inventory levels for an item across locationsget-inventory-items— Get inventory items for a product (cost, tracking, country of origin)get-price-lists— List price lists with fixed prices and quantity rulesget-product-variants-detailed— Get detailed variant info (inventory, pricing, images, metafields)
Order Query Filter Reference
The get-orders tool's query parameter supports Shopify search syntax:
Debugging
If you encounter issues, check Claude Desktop's MCP logs.
macOS:
Windows (PowerShell):
Common causes:
- "Access denied for … field": the app is missing a scope. See the scope table under Authentication, then release a new app version, approve it on the store, and restart the server.
- Tools don't appear: fully quit and restart Claude Desktop after editing its config.
Releasing
Releases are published automatically by .github/workflows/publish.yml when a version bump reaches main:
- In your PR, bump
versioninpackage.jsonand bothversionfields inserver.json(they must match, or the workflow fails). - Merge to
main. The workflow publishes to npm (with provenance), publishes to the MCP Registry, and creates avX.Y.ZGitHub release.
Merges that don't change the version publish nothing.
Credits
This project builds on the work of:
- GeLi2001/shopify-mcp: the original Shopify MCP server
- lucasjahn/shopify-mcp: a fork of the original that added field selection, count-only mode, and many of the read-only tools
Thank you to both projects and their contributors.
License
MIT. See LICENSE. The original copyright notice is retained.
来源:README.md,提交 14a146f
工具
0版本历史
3- v1.2.0最新Oct 31, 2026
- v1.1.0Oct 20, 2026
- v1.0.1Oct 19, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分