Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Shopify MCP
概览
作者提供的说明(英文原文)
Read-only Shopify Admin GraphQL MCP: query, introspect, bulk export, ShopifyQL. 6 tools.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 网店与支付
- 你需要填写:SHOPIFY_STORES, SHOPIFY_CLIENT_SECRET, SHOPIFY_ACCESS_TOKEN
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
SHOPIFY_STORES,SHOPIFY_SHOP_DOMAIN,SHOPIFY_CLIENT_ID,SHOPIFY_CLIENT_SECRET,SHOPIFY_ACCESS_TOKEN
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add shopify --env SHOPIFY_STORES=your-value --env SHOPIFY_SHOP_DOMAIN=your-value --env SHOPIFY_CLIENT_ID=your-value --env SHOPIFY_CLIENT_SECRET=your-value --env SHOPIFY_ACCESS_TOKEN=your-value -- uvx scalably-shopify-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"shopify": {
"command": "uvx",
"args": [
"scalably-shopify-mcp"
],
"env": {
"SHOPIFY_STORES": "your-value",
"SHOPIFY_SHOP_DOMAIN": "your-value",
"SHOPIFY_CLIENT_ID": "your-value",
"SHOPIFY_CLIENT_SECRET": "your-value",
"SHOPIFY_ACCESS_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"shopify": {
"type": "stdio",
"command": "uvx",
"args": [
"scalably-shopify-mcp"
],
"env": {
"SHOPIFY_STORES": "your-value",
"SHOPIFY_SHOP_DOMAIN": "your-value",
"SHOPIFY_CLIENT_ID": "your-value",
"SHOPIFY_CLIENT_SECRET": "your-value",
"SHOPIFY_ACCESS_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- JSON object mapping alias to store config for multi-store setups; holds tokens, treat as a secret
SHOPIFY_SHOP_DOMAINenvSingle-store admin domain, ' .myshopify.com'; ignored if SHOPIFY_STORES is setSHOPIFY_CLIENT_IDenvDev Dashboard custom-app Client ID; required unless SHOPIFY_ACCESS_TOKEN is set- Dev Dashboard custom-app Client Secret; required unless SHOPIFY_ACCESS_TOKEN is set
- Legacy shpat_ access token; alternative to Client ID/Secret
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 scalably.io 验证(注册中心会核实域名所有权)
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 2534 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 2534 个服务器的 34% 更新
- 基础检查结果等于或优于此分类中其他 2534 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Shopify MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:SHOPIFY_STORES, SHOPIFY_CLIENT_SECRET, SHOPIFY_ACCESS_TOKEN
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.1.0)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), MCPB。
有什么可以替代它?
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Shopify MCP
A single MCP server exposing the full Shopify Admin GraphQL API read surface (version 2026-04) through 6 universal tools. Read-only is enforced at the query-parser level: mutations are rejected before they ever reach Shopify, not merely discouraged. Multi-store by design: one server instance can serve many shops.
Built and maintained by Scalably. Runs on the Model Context Protocol. License: MIT.
Why read-only at the parser level? Giving an AI agent write access to a live store is how you end up with a deleted product or a wrong-priced variant. This server enforces read-only by *parsing* every query and rejecting mutations before they leave the process, not by trusting the model to behave, and not by relying on Shopify-side scopes alone. It's the safety boundary an agent in production actually needs. (more on the pattern)
Install
Claude Code:
claude mcp add shopify -e SHOPIFY_DOMAIN=my-store.myshopify.com -e SHOPIFY_ACCESS_TOKEN=shpat_... -- uvx scalably-shopify-mcp
Codex:
codex mcp add shopify --env SHOPIFY_DOMAIN=my-store.myshopify.com --env SHOPIFY_ACCESS_TOKEN=shpat_... -- uvx scalably-shopify-mcp
Claude Desktop: download shopify-mcp.mcpb from the latest GitHub release and open it.
Setup
Single store (simplest)
SHOPIFY_DOMAINorSHOPIFY_SHOP_DOMAIN-.myshopify.com- Auth path A:
SHOPIFY_ACCESS_TOKEN(legacyshpat_) - Auth path B:
SHOPIFY_CLIENT_ID+SHOPIFY_CLIENT_SECRET(Dev Dashboard custom app, client-credentials OAuth, 24h tokens auto-refreshed)
The single store registers under alias default; callers can omit the shop argument on tool calls.
Multi-store (agency setups)
Set SHOPIFY_STORES to a JSON object mapping alias to store config:
{
"main": {"domain": "my-store.myshopify.com", "client_id": "...", "client_secret": "..."}, "outlet": {"domain": "my-store-outlet.myshopify.com", "client_id": "...", "client_secret": "..."}, "legacy": {"domain": "legacy-store.myshopify.com", "access_token": "shpat_..."} }
- Each store can use either
client_id+client_secret(Dev Dashboard OAuth) oraccess_token(legacyshpat_). - Aliases:
a-z0-9{0,63}, lowercase-normalized on load. - Token cache is per-store-domain; one throttled store doesn't block others.
Scopes needed (read-only)
Minimum viable: read_products read_orders read_customers.
Recommended baseline: read_products read_orders read_customers read_inventory read_locations read_fulfillments read_discounts read_content read_themes read_files read_markets read_metaobjects read_metaobject_definitions read_reports read_translations read_locales read_shipping.
Add read_all_orders for order history older than 60 days. Enable Protected customer data access in Dev Dashboard, Configuration, if the agent needs customer PII.
Tools (6)
| Tool | What it does |
|---|---|
shopify_list_stores | List all Shopify stores configured for this agent. Call first. |
shopify_graphql_query | Arbitrary read-only GraphQL. Mutations rejected by the parser. |
shopify_graphql_introspect | Schema introspection, full catalog or a single type. |
shopify_bulk_query | Launch an async bulk export (JSONL). |
shopify_bulk_poll | Poll a bulk operation status and download URL. |
shopify_shopifyql | ShopifyQL analytics (SQL-like; requires read_reports). |
Every non-list tool takes an optional shop argument (alias or domain). Required when more than one store is configured; auto-selected when exactly one.
Coverage
The full Admin GraphQL API read surface: any object, field, or connection accessible with the token's scopes is reachable via shopify_graphql_query. Anything large-scale (more than 10k records) should use shopify_bulk_query. Analytics goes through shopify_shopifyql.
Configuration
| Variable | Required | Purpose |
|---|---|---|
SHOPIFY_DOMAIN, SHOPIFY_SHOP_DOMAIN | one of these or SHOPIFY_STORES | Single-store admin domain, .myshopify.com |
SHOPIFY_ACCESS_TOKEN | see above | Legacy shpat_ access token (single-store auth path B) |
SHOPIFY_CLIENT_ID, SHOPIFY_CLIENT_SECRET | see above | Dev Dashboard custom-app credentials (single-store auth path A) |
SHOPIFY_STORES | no | JSON object mapping alias to store config; takes precedence over the single-store variables above |
SHOPIFY_STORE_ _DOMAIN, _CLIENT_ID, _CLIENT_SECRET, _ACCESS_TOKEN | no | Prefix-key alternative to SHOPIFY_STORES for multi-store setups; one set of keys per store alias |
SHOPIFY_REQUEST_TIMEOUT_SECONDS | no | HTTP request timeout in seconds (default 60) |
SHOPIFY_LOG_LEVEL | no | INFO (default) or DEBUG |
Read-only enforcement
Every query is parsed with graphql-core before transmission. The parser rejects:
subscriptionoperations (not supported by the Admin API anyway)- Any top-level
mutationexceptbulkOperationCancel(cancels an in-flight bulk job, no shop-data write) - Malformed GraphQL (syntax errors)
- Queries over 100KB
bulkOperationRunQuery is not in the generic parser allowlist. Legitimate bulk exports go through the dedicated shopify_bulk_query tool, which validates the inner query with the same read-only check before wrapping it in the bulk mutation. Single source of truth, no reliance on Shopify-side validation.
Rate limiting
Per-store cost-based leaky bucket (Shopify's model). Each response includes extensions.cost.throttleStatus. On THROTTLED errors, the server sleeps ceil((requestedQueryCost - currentlyAvailable) / restoreRate) seconds (minimum 1s) and retries up to 3 times before surfacing the error. Buckets are independent per store: a throttle on one store doesn't affect another.
Reply shape
Tool replies mirror the underlying call rather than a uniform envelope. shopify_list_stores returns a JSON array of {alias, domain, name, currency, auth_mode}; every GraphQL-backed tool (shopify_graphql_query, shopify_graphql_introspect, shopify_bulk_query, shopify_bulk_poll, shopify_shopifyql) returns the raw Shopify Admin API response, {"data": ..., "errors": ..., "extensions": ...}, unwrapped. Tool-level failures (bad input, redacted transport errors) raise a plain error.
Limits
100KB query size ceiling. Bulk exports: exactly one top-level connection per query, max 5 total connections, max depth 2, every nested connection node selects id without an alias; one bulk operation at a time per shop on API versions through 2025-10, up to 5 on 2026-01 and later. API version defaults to 2026-04; override per call with api_version="YYYY-MM".
Verify
Each release lists the package version, the .mcpb sha256 and the production commit it was derived from in CHANGELOG.md. CI runs the tests and a clean install of the built wheel on every push.
Privacy Policy
This connector runs locally, on your own machine, under your own Shopify credentials. It is a thin read-only bridge between your MCP client and Shopify's Admin API.
- Data collection: The connector collects no personal data and contains no telemetry, analytics, or external reporting. It does not phone home.
- Data usage: Shopify store data you query is returned to your local MCP client to fulfill your request, and is not used for any other purpose.
- Data storage: The connector stores nothing persistently. Access tokens are held in memory only for the life of the process and are never written to disk. The only network destination is Shopify's own API (
*.myshopify.com), enforced by a domain allowlist. - Third-party sharing: None. Data flows only between your machine and Shopify. No third party, including the connector's author, ever receives your data or credentials.
- Retention: No data is retained by the connector after the process exits.
- Secret handling: Access tokens, client secrets, and all Shopify token prefixes are redacted from logs and error messages.
- Contact: hello@scalably.io
The canonical hosted version of this policy: https://scalably.io/connector-privacy.html
License
MIT. Copyright Scalably.
Learn more
We write about building production MCP servers and AI agents at scalably.io/blog:
- How to build an MCP server in Python, the read-only enforcement pattern used here, from a server we run in production
- What is an MCP server?, the host/client/server model
- MCP Inspector: debug your MCP server, the silent failures to watch for