shopify-mcp
by GeLi2001·★ 209·综合分 51
Shopify MCP 服务器,提供通过 GraphQL API 管理产品、客户、订单等的全面工具。
概述
Shopify MCP 服务器使开发人员能够通过模型上下文协议 (MCP) 与 Shopify 商店进行交互,提供全面的电商操作功能。它包含 31 个工具,涵盖产品管理(增删改查、变体、选项)、客户管理、订单处理、库存跟踪和元字段管理。该服务器支持现代 OAuth 客户端凭据和传统静态访问令牌认证方法,确保与不同 Shopify 应用配置的兼容性。它提供基于游标的分页、使用 Shopify 查询语法的高级过滤,并直接集成 Shopify 的 GraphQL Admin API。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要将 Shopify 数据与 AI 助手集成或围绕电商运营构建自定义工作流时,选择此服务器。
什么时候不要选它
如果您需要访问其他电商平台,或需要超出 Shopify API 提供的读写权限,请不要使用此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具get-productsGet all products or search by title with pagination and sorting
get-product-by-idGet a specific product by ID with full details
create-productCreate a new product with optional details and variants
update-productUpdate an existing product's fields
get-customersList customers with search, pagination, and sorting
get-customer-by-idGet a single customer by ID with full details
create-customerCreate a new customer with optional details and addresses
update-customerUpdate a customer's information and preferences
get-ordersList orders with search, pagination, and sorting
get-order-by-idGet a specific order by ID with full details
create-orderCreate a new order with customer and line items
cancel-orderCancel an existing order
可对比工具
安装
安装
- 安装 Node.js(版本 18 或更高)
- 对于 Claude Desktop,添加到配置文件中:
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"shopify-mcp",
"--clientId",
"<您的客户端ID>",
"--clientSecret",
"<您的客户端密钥>",
"--domain",
"<您的商店>.myshopify.com"
]
}
}
}- 对于 Claude Code:
claude mcp add shopify -- npx shopify-mcp \
--clientId 您的客户端ID \
--clientSecret 您的客户端密钥 \
--domain 您的商店.myshopify.comFAQ
- 这个服务器支持哪些身份验证方法?
- 该服务器支持现代 OAuth 客户端凭证(适用于 2026 年 1 月后在 Shopify 开发控制面板中创建的应用)和传统静态访问令牌(用于现有应用)。
- 如何安装这个 MCP 服务器?
- 您可以在 Claude Desktop 或 Claude Code 配置中直接通过 npx 安装,或使用 'npm install -g shopify-mcp' 全局安装,并通过命令行参数或环境变量运行。
shopify-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。