A
securityA
licenseA
qualityMCP server that integrates with Shopify API, allowing Claude Desktop users to retrieve and manipulate product information from Shopify stores.
Last updated -
5
Python
MIT License
Provides direct integration with Shopify's GraphQL Admin API, allowing for efficient querying and manipulation of store data.
Enables interaction with Shopify store data through GraphQL API, providing tools for managing products, customers, orders, collections, discounts, webhooks, and shop details.
Utilizes Zod for runtime type validation, ensuring data integrity when interacting with the Shopify API.
适用于 Shopify API 的 MCP 服务器,支持通过 GraphQL API 与商店数据交互。该服务器提供用于管理产品、客户、订单等的工具。
get-products
searchTitle
(可选字符串):按标题过滤产品limit
(数量):返回的最大产品数量get-products-by-collection
collectionId
(字符串):从中获取产品的集合的 IDlimit
(可选数字,默认值:10):返回的最大产品数量get-products-by-ids
productIds
(字符串数组):要检索的产品 ID 数组update-product-price
productId
(字符串):要更新的产品的 IDprice
(字符串):产品的新价格get-variants-by-ids
variantIds
(字符串数组):要检索的变体 ID 数组get-customers
limit
(可选数字):返回的最大客户数量next
(可选字符串):下一页光标tag-customer
customerId
(字符串):要标记的客户 IDtags
(字符串数组):要添加到客户的标签get-orders
first
(可选数字):退货订单数量after
(可选字符串):下一页光标query
(可选字符串):使用查询语法过滤订单sortKey
(可选枚举):排序字段('PROCESSED_AT'、'TOTAL_PRICE'、'ID'、'CREATED_AT'、'UPDATED_AT'、'ORDER_NUMBER')reverse
(可选布尔值):反转排序顺序get-order
orderId
(字符串):要检索的订单的 IDcreate-discount
title
(字符串):折扣标题code
(字符串):客户将输入的折扣代码valueType
(枚举):折扣类型(“百分比”或“固定金额”)value
(数字):折扣值(小数或固定金额的百分比)startsAt
(字符串):ISO 格式的开始日期endsAt
(可选字符串):ISO 格式的可选结束日期appliesOncePerCustomer
(布尔值):每个客户是否只能使用一次折扣create-draft-order
lineItems
(数组):具有 variantId 和数量的项目数组email
(字符串):客户电子邮件shippingAddress
(对象):送货地址详情note
(可选字符串):订单的可选注释complete-draft-order
draftOrderId
(string):待完成的草稿订单的 IDvariantId
(字符串):草稿订单中变体的 IDget-collections
limit
(可选数字,默认值:10):返回的最大集合数name
(可选字符串):按名称过滤集合get-shop
get-shop-details
manage-webhook
action
(枚举):要执行的操作('订阅','查找','取消订阅')callbackUrl
(字符串): Webhook 回调 URLtopic
(枚举):要订阅的 Webhook 主题webhookId
(可选字符串):Webhook ID(取消订阅时必需)要使用此 MCP 服务器,您需要在 Shopify 商店中创建一个自定义应用程序:
read_products
, write_products
read_customers
, write_customers
read_orders
, write_orders
注意:请安全存储您的访问令牌。它可用于访问您的商店数据,切勿共享或提交到版本控制。有关如何创建 Shopify 应用的更多详细信息,请参阅此处。
添加到您的claude_desktop_config.json
:
.env
文件:欢迎贡献!请先阅读我们的贡献指南。
麻省理工学院
使用模型上下文协议用❤️构建