这是 Shopify 官方的 MCP 服务器吗?
不是。它是 GeLi2001 开发的 MIT 许可证社区项目。Shopify 官方的 Dev MCP 服务器用途不同:提供开发者文档和 API schema,而不是管理店铺。
@GeLi2001
基本信息
用于 Shopify API 的 MCP 服务器,可在 Claude 和 Cursor 等 MCP 宿主中使用
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"shopify-mcp",
"--clientId",
"<YOUR_CLIENT_ID>",
"--clientSecret",
"<YOUR_CLIENT_SECRET>",
"--domain",
"<YOUR_SHOP>.myshopify.com"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
Shopify MCP Server(GeLi2001 开发的 shopify-mcp)是一个社区版 Shopify MCP 服务器,通过 Shopify GraphQL Admin API 把 Claude、Cursor 等 MCP 客户端连接到你的店铺。它提供 31 个工具,覆盖商品、客户、订单、草稿订单、元字段(metafields)、库存和标签。
它通过 npx 在本地运行,直接调用店铺的 Admin API(默认版本 2026-01),因此可以作为面向店铺运营者和开发者的 Shopify Admin MCP 使用。它采用 MIT 许可证开源,并非 Shopify 官方开发。
前置条件:Node.js 18 或更高版本,以及一个可以安装自定义应用的 Shopify 店铺。
获取凭据。自 2026 年 1 月 1 日起,新的 Shopify 应用在 Dev Dashboard 中创建,并使用客户端凭据(client credentials):
read_products、write_products、read_customers、write_customers、read_orders、write_orders。服务器会用它们换取访问令牌,并在过期前自动刷新(令牌有效期约 24 小时)。如果你有使用静态 shpat_ 令牌的旧版自定义应用,也可以改用 --accessToken。
将以下内容添加到 claude_desktop_config.json(macOS 位于 ~/Library/Application Support/Claude/,Windows 位于 %APPDATA%/Claude/):
{
"mcpServers": {
"shopify": {
"command": "npx",
"args": [
"shopify-mcp",
"--clientId",
"<YOUR_CLIENT_ID>",
"--clientSecret",
"<YOUR_CLIENT_SECRET>",
"--domain",
"<YOUR_SHOP>.myshopify.com"
]
}
}
}
如果使用旧版令牌,把 --clientId/--clientSecret 这一组参数替换为 "--accessToken", "<YOUR_ACCESS_TOKEN>"。
claude mcp add shopify -- npx shopify-mcp \
--clientId YOUR_CLIENT_ID \
--clientSecret YOUR_CLIENT_SECRET \
--domain your-store.myshopify.com
任何能启动 stdio MCP 服务器的客户端,都可以在其 MCP 配置中使用上面相同的 npx shopify-mcp 命令和参数。
除了命令行参数,你也可以把凭据写入 .env 文件,然后运行 npx shopify-mcp:
SHOPIFY_CLIENT_ID=your_client_id
SHOPIFY_CLIENT_SECRET=your_client_secret
MYSHOPIFY_DOMAIN=your-store.myshopify.com
旧版应用用 SHOPIFY_ACCESS_TOKEN 代替 Client ID 和 Secret。使用 --apiVersion 或 SHOPIFY_API_VERSION 可以指定其他 Admin API 版本。
2026-01,可配置)shpat_ 令牌after/before)、sortKey 和 reversefinancial_status:paid fulfillment_status:shipped tag:rush#77235)、数字 ID 或完整 GIDget-products、get-product-by-id、create-product、update-product 和 delete-product,以及用于尺码、颜色、价格、SKU 和条码的 manage-product-options、manage-product-variants 和 delete-product-variants。update-product 还可以处理 SEO 字段和商品系列归属。get-customers、get-customer-by-id、create-customer、update-customer(包括邮件营销授权)、delete-customer、用于合并重复客户的 customer-merge,以及 manage-customer-address。get-orders、get-order-by-id、get-customer-orders 和 update-order 用于读取和编辑。order-cancel、order-close-open、order-mark-as-paid、create-fulfillment(可附带物流跟踪)和 refund-create 会改变订单状态。create-draft-order 用于电话、聊天或批发销售,complete-draft-order 将草稿转为正式订单。get-metafields、set-metafields(一次最多 25 个)和 delete-metafields 适用于任何资源。inventory-set-quantities 设置某个地点的绝对库存数量,manage-tags 为任何可加标签的资源添加或移除标签。rush 标签。”@shopify/dev-mcp)在本地运行,把 AI 工具连接到 Shopify 的开发者资源:文档、API schema 和代码帮助。它无需认证,也不是用来管理店铺商品和订单的工具。开发应用时用它;运营店铺时用这个 Shopify MCP 服务器。shopify-mcp-server 是另一个 npm 包,本项目的包名和命令都是 shopify-mcp。npx shopify-mcp,而不是 shopify-mcp-server。--domain 中指定的店铺。read_/write_ 权限并重新安装应用。productOptions 调用 create-product 时只会创建一个默认变体。之后用 manage-product-variants 并设置 strategy: REMOVE_STANDALONE_VARIANT 来创建带价格的真实变体。tail -n 20 -f ~/Library/Logs/Claude/mcp*.log。不是。它是 GeLi2001 开发的 MIT 许可证社区项目。Shopify 官方的 Dev MCP 服务器用途不同:提供开发者文档和 API schema,而不是管理店铺。
免费。该包开源并在你的电脑上运行。你需要自己的 Shopify 店铺和一个自定义应用,Shopify 套餐和 API 的常规限制仍然适用。
对于 2026 年 1 月 1 日及之后创建的应用,使用 Dev Dashboard 中的 Client ID 和 Client Secret。已有的自定义应用可以继续使用静态 `shpat_` Admin API 访问令牌。
支持。README 记录了 Claude Desktop 和 Claude Code(`claude mcp add shopify -- npx shopify-mcp ...`)的用法。Cursor 和其他 stdio MCP 客户端可以使用相同的命令和参数。
能。`order-cancel`(不可撤销)、`refund-create`、`delete-product` 和 `delete-customer` 等工具会真正修改你的店铺。只授予需要的权限范围,用开发店铺测试,并在批准工具调用前仔细检查。
本地运行。它在你的电脑上通过 stdio 运行,并把请求直接发送到店铺的 Admin API。除临时访问令牌外,它不会保存店铺数据。
可以。传入 `--apiVersion` 或设置 `SHOPIFY_API_VERSION`,默认版本是 `2026-01`。

Verified distributed compute for humans, applications, and agents. Submit Blender, Octane, and video workloads, route them across qualified GPUs, track asynchronous execution, download finished artifacts, and verify FARP

Local-first credential broker for MCP. AI coding agents (Claude Code, Cursor, Codex…) call APIs, SSH and databases through scoped presets; secrets stay in your OS keychain and never enter the agent's context.

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.

The tools your AI needs to make your games. Turn prompts into production-ready game assets — animated characters with their weapons attached, seamless textures, terrain, VFX, HUDs — and playable game kits Unity, Godot, U
评论