A
securityA
licenseA
qualityEnables interaction with Shopify store data using the GraphQL API, supporting product, customer, and order management with comprehensive error handling.
Last updated -
15
76
7
TypeScript
MIT License
(如果喜欢请留下星星!)
适用于 Shopify API 的 MCP 服务器,支持通过 GraphQL API 与商店数据交互。该服务器提供用于管理产品、客户、订单等的工具。
要使用此 MCP 服务器,您需要在 Shopify 商店中创建一个自定义应用程序:
read_products
, write_products
read_customers
, write_customers
read_orders
, write_orders
将其添加到您的claude_desktop_config.json
中:
Claude 桌面配置文件的位置:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
如果您更喜欢使用环境变量而不是命令行参数:
.env
文件:如果要全局安装该包:
然后运行它:
get-products
searchTitle
(可选字符串):按标题过滤产品limit
(数量):返回的最大产品数量get-product-by-id
productId
(字符串):要检索的产品的 IDget-customers
searchQuery
(可选字符串):按姓名或电子邮件过滤客户limit
(可选数字,默认值:10):返回的最大客户数量update-customer
id
(字符串,必需):Shopify 客户 ID(仅限数字 ID,例如“6276879810626”)firstName
(字符串,可选):客户的名字lastName
(字符串,可选):客户的姓氏email
(字符串,可选):客户的电子邮件地址phone
(字符串,可选):客户的电话号码tags
(字符串数组,可选):应用于客户的标签note
(字符串,可选):关于客户的注释taxExempt
(布尔值,可选):客户是否免税metafields
(对象数组,可选):用于存储附加数据的客户元字段get-customer-orders
customerId
(字符串,必需):Shopify 客户 ID(仅限数字 ID,例如“6276879810626”)limit
(可选数字,默认值:10):返回的最大订单数量get-orders
status
(可选字符串):按订单状态过滤limit
(可选数字,默认值:10):返回的最大订单数量get-order-by-id
orderId
(字符串,必需):完整的 Shopify 订单 ID(例如,“gid://shopify/Order/6090960994370”)update-order
id
(字符串,必需):Shopify 订单 IDtags
(字符串数组,可选):订单的新标签email
(字符串,可选):更新客户电子邮件note
(字符串,可选):订单备注customAttributes
(对象数组,可选):订单的自定义属性metafields
(对象数组,可选):排序元字段shippingAddress
(对象,可选):送货地址信息如果遇到问题,请检查 Claude Desktop 的 MCP 日志:
麻省理工学院
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
用于 Shopify API 交互,包括产品、客户、订单
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeLi2001/shopify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server