Spree Commerce developer docs for AI agents
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
MCP server for the Shopify Admin API: products, orders, customers, inventory, discounts.
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Shopify Admin MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(SHOPIFY_STORE_DOMAIN) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SHOPIFY_STORE_DOMAIN Permanent store host, e.g. my-store.myshopify.com (a bare store name works too).说明仍为英文原文。
SettingsDeveloperEdit Config
{
"mcpServers": {
"shopify-admin": {
"command": "npx",
"args": [
"-y",
"mcp-shopify-admin"
],
"env": {
"SHOPIFY_STORE_DOMAIN": "your-value",
"SHOPIFY_ACCESS_TOKEN": "your-value",
"SHOPIFY_CLIENT_SECRET": "your-value",
"SHOPIFY_TOKEN_LEEWAY_SECONDS": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Shopify Admin MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Shopify Admin MCP,或回答中出现 Shopify Admin MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SHOPIFY_CLIENT_ID Client id of a Dev Dashboard app; with the secret the server mints and refreshes its own token.SHOPIFY_API_VERSION Admin API version: a quarterly YYYY-MM release or unstable. · 默认值 2026-01SHOPIFY_API_BASE Full http/https URL of the GraphQL endpoint, replacing host and version (e.g. a local mock).SHOPIFY_TIMEOUT_MS Per-request timeout in milliseconds. · 默认值 30000SHOPIFY_MAX_RETRIES Retries on THROTTLED/429 (always) and on 5xx / network errors for reads only. · 默认值 4说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Shopify Admin MCP
Shopify Admin MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Shopify Admin MCP 的应用
B · 网店与支付 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 Shopify Admin MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(SHOPIFY_STORE_DOMAIN) · 需要先在电脑上安装 Node.js(只需一次)
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SHOPIFY_STORE_DOMAIN Permanent store host, e.g. my-store.myshopify.com (a bare store name works too).说明仍为英文原文。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user shopify-admin --env SHOPIFY_STORE_DOMAIN=your-value --env SHOPIFY_ACCESS_TOKEN=your-value --env SHOPIFY_CLIENT_SECRET=your-value --env SHOPIFY_TOKEN_LEEWAY_SECONDS=your-value -- npx -y mcp-shopify-admin按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 Shopify Admin MCP 在列表中并显示已连接
用 Shopify Admin MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Shopify Admin MCP,或回答中出现 Shopify Admin MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SHOPIFY_CLIENT_ID Client id of a Dev Dashboard app; with the secret the server mints and refreshes its own token.SHOPIFY_API_VERSION Admin API version: a quarterly YYYY-MM release or unstable. · 默认值 2026-01SHOPIFY_API_BASE Full http/https URL of the GraphQL endpoint, replacing host and version (e.g. a local mock).SHOPIFY_TIMEOUT_MS Per-request timeout in milliseconds. · 默认值 30000SHOPIFY_MAX_RETRIES Retries on THROTTLED/429 (always) and on 5xx / network errors for reads only. · 默认值 4说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Shopify Admin MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(SHOPIFY_STORE_DOMAIN) · 需要先在电脑上安装 Node.js(只需一次)
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SHOPIFY_STORE_DOMAIN Permanent store host, e.g. my-store.myshopify.com (a bare store name works too).说明仍为英文原文。
在 Shopify Admin MCP 的设置中,SHOPIFY_ACCESS_TOKEN, SHOPIFY_CLIENT_SECRET, SHOPIFY_TOKEN_LEEWAY_SECONDS, SHOPIFY_STORE_DOMAIN 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Shopify Admin MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Shopify Admin MCP,或回答中出现 Shopify Admin MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SHOPIFY_CLIENT_ID Client id of a Dev Dashboard app; with the secret the server mints and refreshes its own token.SHOPIFY_API_VERSION Admin API version: a quarterly YYYY-MM release or unstable. · 默认值 2026-01SHOPIFY_API_BASE Full http/https URL of the GraphQL endpoint, replacing host and version (e.g. a local mock).SHOPIFY_TIMEOUT_MS Per-request timeout in milliseconds. · 默认值 30000SHOPIFY_MAX_RETRIES Retries on THROTTLED/429 (always) and on 5xx / network errors for reads only. · 默认值 4说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Shopify Admin MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(SHOPIFY_STORE_DOMAIN) · 需要先在电脑上安装 Node.js(只需一次)
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
SHOPIFY_STORE_DOMAIN Permanent store host, e.g. my-store.myshopify.com (a bare store name works too).说明仍为英文原文。
在 Shopify Admin MCP 的设置中,SHOPIFY_ACCESS_TOKEN, SHOPIFY_CLIENT_SECRET, SHOPIFY_TOKEN_LEEWAY_SECONDS, SHOPIFY_STORE_DOMAIN 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Shopify Admin MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Shopify Admin MCP,或回答中出现 Shopify Admin MCP 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
SHOPIFY_CLIENT_ID Client id of a Dev Dashboard app; with the secret the server mints and refreshes its own token.SHOPIFY_API_VERSION Admin API version: a quarterly YYYY-MM release or unstable. · 默认值 2026-01SHOPIFY_API_BASE Full http/https URL of the GraphQL endpoint, replacing host and version (e.g. a local mock).SHOPIFY_TIMEOUT_MS Per-request timeout in milliseconds. · 默认值 30000SHOPIFY_MAX_RETRIES Retries on THROTTLED/429 (always) and on 5xx / network errors for reads only. · 默认值 4说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user shopify-admin --env SHOPIFY_STORE_DOMAIN=your-value --env SHOPIFY_ACCESS_TOKEN=your-value --env SHOPIFY_CLIENT_SECRET=your-value --env SHOPIFY_TOKEN_LEEWAY_SECONDS=your-value -- npx -y mcp-shopify-adminClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"shopify-admin": {
"command": "npx",
"args": [
"-y",
"mcp-shopify-admin"
],
"env": {
"SHOPIFY_STORE_DOMAIN": "your-value",
"SHOPIFY_ACCESS_TOKEN": "your-value",
"SHOPIFY_CLIENT_SECRET": "your-value",
"SHOPIFY_TOKEN_LEEWAY_SECONDS": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"shopify-admin": {
"command": "npx",
"args": [
"-y",
"mcp-shopify-admin"
],
"env": {
"SHOPIFY_STORE_DOMAIN": "your-value",
"SHOPIFY_ACCESS_TOKEN": "your-value",
"SHOPIFY_CLIENT_SECRET": "your-value",
"SHOPIFY_TOKEN_LEEWAY_SECONDS": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"shopify-admin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-shopify-admin"
],
"env": {
"SHOPIFY_STORE_DOMAIN": "your-value",
"SHOPIFY_ACCESS_TOKEN": "your-value",
"SHOPIFY_CLIENT_SECRET": "your-value",
"SHOPIFY_TOKEN_LEEWAY_SECONDS": "your-value"
}
}
}
}SHOPIFY_STORE_DOMAIN 必填 envSHOPIFY_ACCESS_TOKEN 机密 必填 envSHOPIFY_CLIENT_ID envSHOPIFY_CLIENT_SECRET 机密 必填 envSHOPIFY_API_VERSION envSHOPIFY_API_BASE envSHOPIFY_TIMEOUT_MS envSHOPIFY_MAX_RETRIES envSHOPIFY_TOKEN_LEEWAY_SECONDS 机密 必填 env说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
注册名称已通过 GitHub 账户 A1-x-Tech 验证,该账户拥有此仓库
代码最后更新于13天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SHOPIFY_ACCESS_TOKEN, SHOPIFY_CLIENT_SECRET, SHOPIFY_TOKEN_LEEWAY_SECONDS
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于13天前,最新版本(1.2.2)于13天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spree Commerce developer docs for AI agents, Stripe MCP, Sessy — Amazon SES observability
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
Read-only Amazon SES observability: search events, inspect bounces, pull delivery stats.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
English | Русский
A1 Shopify Admin MCP connects AI applications to one Shopify store through the Admin GraphQL API. Ask in plain language about products, orders, customers, inventory, discounts, and shop data; the assistant uses the server's ready-made tools and shows the result.
userErrors and rejects empty or malformed GraphQL responses.Start with a read-only request:
Show the latest orders and the products that currently have inventory.
Connect the server · Explore use cases · Open technical documentation
You: Show the latest orders and the products that currently have inventory.
Assistant: Shows recent orders with their statuses and totals, then products with prices and inventory. Nothing changes.
You: Prepare a 20% discount code called
SUMMERfor two weeks.
Assistant: Shows the proposed code, percentage, dates, and limits, then asks for confirmation before creating it.
You: Confirm.
You need Node.js 20+, a store domain such as my-store.myshopify.com, and Admin API credentials. The recommended set is the client ID and secret of a Shopify Dev Dashboard app: the server exchanges them for an access token itself and keeps that token fresh, which matters because the token Shopify issues for this grant expires after 24 hours. The app and the store must belong to the same Shopify organization.
The server runs locally over stdio through npx. Browser-only ChatGPT and Claude web sessions cannot start a local stdio process directly.
Every snippet below uses that pair. If your store still holds a ready-made token from an admin-created custom app, replace SHOPIFY_CLIENT_ID and SHOPIFY_CLIENT_SECRET with a single SHOPIFY_ACCESS_TOKEN — see Getting access.
Codex
Through the app:
npx -y mcp-shopify-admin@latest and set SHOPIFY_STORE_DOMAIN, SHOPIFY_CLIENT_ID, and SHOPIFY_CLIENT_SECRET.Through the CLI:
codex mcp add shopify-admin \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \ --env SHOPIFY_CLIENT_ID=your_client_id \ --env SHOPIFY_CLIENT_SECRET=your_client_secret \ -- npx -y mcp-shopify-admin@latest
codex mcp list
Claude Code
claude mcp add \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \ --env SHOPIFY_CLIENT_ID=your_client_id \ --env SHOPIFY_CLIENT_SECRET=your_client_secret \ --transport stdio --scope user shopify-admin \ -- npx -y mcp-shopify-admin@latest
claude mcp list
Claude Desktop
The current official path is Settings → Extensions. For a custom desktop extension, open Advanced settings → Extension Developer → Install Extension…, select a .mcpb file and follow the prompts.
This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:
{
"mcpServers": { "shopify-admin": { "command": "npx", "args": ["-y", "mcp-shopify-admin@latest"], "env": { "SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com", "SHOPIFY_CLIENT_ID": "your_client_id", "SHOPIFY_CLIENT_SECRET": "your_client_secret" } } } }
In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.
Claude Desktop MCP documentation
Cursor
Add this server to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows:
{
"mcpServers": { "shopify-admin": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-shopify-admin@latest"], "env": { "SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com", "SHOPIFY_CLIENT_ID": "your_client_id", "SHOPIFY_CLIENT_SECRET": "your_client_secret" } } } }
VS Code
Run MCP: Open User Configuration and add:
{
"inputs": [ { "type": "promptString", "id": "shopify_store_domain", "description": "Shopify store domain, for example my-store.myshopify.com" }, { "type": "promptString", "id": "shopify_client_id", "description": "Client ID of the Shopify Dev Dashboard app" }, { "type": "promptString", "id": "shopify_client_secret", "description": "Client secret of that app", "password": true } ], "servers": { "shopify-admin": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-shopify-admin@latest"], "env": { "SHOPIFY_STORE_DOMAIN": "${input:shopify_store_domain}", "SHOPIFY_CLIENT_ID": "${input:shopify_client_id}", "SHOPIFY_CLIENT_SECRET": "${input:shopify_client_secret}" } } } }
Check the server with MCP: List Servers.
| Operation | What happens | Data boundary |
|---|---|---|
| Shop, products, orders, customers, locations, discounts | Reads store data | Read-only |
| Product fields or variant prices | Replaces the fields supplied in the request | Changes the storefront data |
| Inventory quantities | Sets the absolute available quantity | Changes product availability |
| Product or discount creation | Creates a new Shopify object | Creates data and cannot be undone automatically |
| Order cancellation | Cancels an order and can refund and/or restock | Destructive and irreversible |
graphql_request | Can run any Admin API query or mutation | Potentially destructive |
This server does not provide dedicated tools for creating orders, fulfillment, customer writes, variant creation, media, targeted discounts, or publishing products to sales channels. Use graphql_request only when you understand the document and its userErrors response.
The AI client may ask for confirmation before a write, but confirmation behavior belongs to that client. A clear request to create, update, set, or cancel authorizes the corresponding server operation.
The server authenticates in one of two ways: with the client ID and secret of a Dev Dashboard app, which it exchanges for an access token itself, or with a ready-to-use Admin API access token that it sends as-is. If both are configured, the ready-made token wins.
Shopify stopped allowing new admin-created custom apps on 2026-01-01, so this is the path for any store being set up today.
read_products, write_products, read_orders, read_customers, read_locations, write_inventory, read_discounts, and write_discounts.SHOPIFY_CLIENT_ID and SHOPIFY_CLIENT_SECRET.From there the server runs the client credentials grant against https://{store}.myshopify.com/admin/oauth/access_token on its own. The token Shopify returns lives 24 hours; the server keeps it in memory only — never on disk — re-mints it shortly before it expires, lets parallel tool calls share one exchange, and mints a fresh one if the API answers 401. Nothing to renew by hand.
The grant works only when the app and the store belong to the same Shopify organization. Otherwise Shopify refuses with shop_not_permitted, and the server relays that as a hint naming the organization mismatch. Re-issuing the credentials does not help: move the app into the store's organization, or use a store from it.
Apps created in the Shopify admin before 2026-01-01 keep working, and their token is still accepted. If you already maintain one:
read_products, write_products, `rea