Shopify Dev MCP ServerShopify Dev MCP Server
Shopify 官方 Dev MCP server(npm ISC,本地 stdio,无鉴权):给编码 agent 补 Shopify 平台上下文—— 文档检索(search_dev_docs/fetch_docs_by_path)+ Admin GraphQL schema 探查(introspect_admin_schema)。 它是 Shopify AI Toolkit 三形态之一(插件 / agent skills / Dev MCP); GitHub 无独立 dev-mcp 仓(代码随 npm 发布),inventory 旧 URL agents-of-change 已 404。 纯读面、不碰店铺数据——店铺操作走 Shopify CLI 线,别混。
Shopify official Dev MCP server (npm ISC, local stdio, no auth): gives your coding agent Shopify platform context — doc retrieval (search_dev_docs/fetch_docs_by_path) + Admin GraphQL schema probing (introspect_admin_schema). It is one of the three forms of the Shopify AI Toolkit (plugin / agent skills / Dev MCP); there is no standalone dev-mcp GitHub repo (code ships with npm), and the inventory's old agents-of-change URL is now 404. Pure read — it never touches store data; store operations go through the Shopify CLI line, don't mix them.
适合与不适合When to use it, when not to
适合:Shopify 开发者要 agent 写对 API 字段/schema/CLI;零鉴权零配置起步。 不适合:要 agent 直接操作店铺(无店铺面);非 Shopify 生态。
Fits: Shopify developers having agents write correct API fields/schema/CLI; zero-auth zero-config start. Not a fit: agents operating the store directly (no store surface); non-Shopify ecosystems.
中文生态China availability 国产 / 国内可直接用 / 备案状态 · 快照domestic / direct access / CAC filing · snapshot 2026-10-31
- 出品属地Origin
- 国外出品foreign-made Shopify Inc.(加拿大,上市电商 SaaS)。Shopify Inc. (Canada, publicly listed e-commerce SaaS).
- 国内使用Direct access
- 大陆可直连direct OK shopify.dev 文档与 changelog 直连 200(www.shopify.dev 变体偶发 000,去 www 稳定);npm registry 直连可达(2026-10-31)。shopify.dev docs and changelog returned 200 direct (the www.shopify.dev variant hit an occasional 000; dropping www is stable); the npm registry was reachable direct (2026-10-31).
- 备案状态CAC filing
- 未见于备案名单not in filing list:未见于网信办公示名单(2026-10-31 检索);该产品未面向大陆公众提供服务,备案不适用。not in the CAC public registry (searched 2026-10-31); the product does not serve the mainland public, so filing does not apply.
备案信息以网信办《生成式人工智能服务已备案信息》公示名单为准(按批次滚动更新,本站只抄编号不解读);「大陆可直连」是本站从大陆网络直连实测的结果,不是厂商承诺。GitHub 类站点当日实测有波动,口径写在依据里。Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
固定坐标系Fixed coordinate system
11 个维度dimensions, 与同分区其他对象逐项可比each comparable item by item against others in the same section.
- 模型与开放条件Model & openness
它自己不调模型——被 MCP 客户端调用的本地 server(stdio)。它把 shopify.dev 文档检索、 Admin GraphQL schema introspection 等「Shopify 平台上下文」喂给你的编码 agent。
It calls no model itself — a local server (stdio) called by MCP clients. It feeds your coding agent "Shopify platform context": shopify.dev documentation retrieval, Admin GraphQL schema introspection, and the like.
- 运行位置Where it runs
本地 npx 线(npx -y @shopify/dev-mcp@latest,Node 18+);官方明写「server 本地跑、 不需要鉴权」。发版线在 npm(1.18.0,2026-10-27,143 个版本);GitHub 无独立 dev-mcp 仓 (Shopify/dev-mcp 404)——代码随 npm 包发布,插件/skills 线在 Shopify/Shopify-AI-Toolkit 仓 (MIT 621★,推送 2026-10-27)。官方另有 instrumentation 遥测(OPT_OUT_INSTRUMENTATION 可退出)。
A local npx line (npx -y @shopify/dev-mcp@latest, Node 18+); the official docs state plainly "the server runs locally and doesn't require authentication". The release line lives on npm (1.18.0, 2026-10-27, 143 versions); there is no standalone dev-mcp GitHub repo (Shopify/dev-mcp is 404) — the code ships with the npm package, while the plugin/skills line lives in the Shopify/Shopify-AI-Toolkit repo (MIT 621★, pushed 2026-10-27). The official package also ships instrumentation telemetry (opt out via OPT_OUT_INSTRUMENTATION).
- 本地文件Local files
不读写本机文件——输出文档检索结果与 schema 结构;它服务的是「你写 Shopify 代码」的场景, 代码文件由你的 agent/编辑器落盘,不由它落盘。
Reads and writes no local files — it outputs documentation search results and schema structures; it serves the scenario of "you writing Shopify code", and the code files land on disk via your agent/editor, not through it.
- 关机后的任务Tasks after shutdown
无常驻后台——stdio server 随 MCP 客户端拉起,进程生命周期跟客户端走。
No persistent background — the stdio server is spawned by the MCP client; the process lifecycle follows the client.
- 工具与扩展Tools & extensions
核心四工具(官方文档口径):search_dev_docs(搜 shopify.dev 文档)/ introspect_admin_schema(访问与搜索 Admin GraphQL schema)/ fetch_docs_by_path(按路径取文档页)/ get_started(API 入门引导); 内置 prompt:shopify_admin_graphql(帮你写 Admin API GraphQL 操作)。 Polaris Web Components 支持经 POLARIS_UNIFIED 环境变量 opt-in(实验性)。
Four core tools (official docs wording): search_dev_docs (search shopify.dev docs) / introspect_admin_schema (access and search the Admin GraphQL schema) / fetch_docs_by_path (retrieve doc pages by path) / get_started (API onboarding guidance); built-in prompt: shopify_admin_graphql (helps you write Admin API GraphQL operations). Polaris Web Components support is opt-in via the POLARIS_UNIFIED env var (experimental).
- 上下文与记忆Context & memory
无 server 侧跨会话记忆;上下文由 MCP 客户端会话承载。schema 按 API 版本可查 (含字段级文档与弃用标注——官方文档线口径)。
No server-side cross-session memory; context is carried by the MCP client session. The schema is queryable by API version (including field-level docs and deprecation notices — official docs wording).
- 权限与限制Permissions & limits
不需要鉴权(官方明写 server 本地跑无 auth)——它只读公开文档与 schema, 不碰你的店铺数据;要店铺操作(建 app/主题/跑 CLI)走 Shopify CLI 的认证上下文, 那是 AI Toolkit 的另一条线,不是这个 MCP server 的能力。 instrumentation 遥测默认开,OPT_OUT_INSTRUMENTATION=true 退出。
No authentication needed (the official docs state the local server needs no auth) — it only reads public docs and schemas, it never touches your store data; store operations (creating apps/themes, running the CLI) go through Shopify CLI's authenticated context, which is a different line of the AI Toolkit, not this MCP server's capability. Instrumentation telemetry is on by default; OPT_OUT_INSTRUMENTATION=true opts out.
- 适合什么任务Best for
适合:Shopify 开发者给编码 agent 补「平台上下文」——文档检索+schema 探查免模型瞎猜 API 字段; 零鉴权零配置起步。 不适合:要 agent 直接操作店铺(它不碰店铺数据);非 Shopify 生态(单厂商专用)。
Fits: Shopify developers giving a coding agent "platform context" — doc retrieval + schema probing so the model stops guessing API fields; zero-auth zero-config onboarding. Not a fit: agents operating the store directly (it has no store surface); non-Shopify ecosystems (single-vendor only).
- 传输方式Transport
stdio(npx -y @shopify/dev-mcp@latest;claude mcp add --transport stdio 官方示例)。 核验:shopify.dev AI Toolkit 页与 Polaris using-mcp 页(2026-10-31 直连 200)。
stdio (npx -y @shopify/dev-mcp@latest; the official example is claude mcp add --transport stdio). Verified: the shopify.dev AI Toolkit page and the Polaris using-mcp page (200 direct on 2026-10-31).
- 认证机制Authentication
无鉴权(官方明写本地 server 不需要 auth)。instrumentation 遥测默认开, OPT_OUT_INSTRUMENTATION 环境变量退出;Polaris 支持 POLARIS_UNIFIED opt-in。
No auth (the official docs state the local server requires no auth). Instrumentation telemetry is on by default, opt out via the OPT_OUT_INSTRUMENTATION env var; Polaris support is opt-in via POLARIS_UNIFIED.
- 权限范围Permission scope
纯读面(公开文档+schema),无店铺数据面、无本机写面——权限面在 MCP server 里属最轻一档。
Pure read (public docs + schema), no store-data surface, no local write surface — among the lightest permission surfaces in MCP servers.
头号误解Top misconception
- 把 inventory 旧 URL(shopify.dev/docs/agents-of-change)当文档线——2026-10-31 实测 404;现役文档页是 docs/apps/build/ai-toolkit(Dev MCP 是 AI Toolkit 三形态之一)Treating the old inventory URL (shopify.dev/docs/agents-of-change) as the docs line — measured 404 on 2026-10-31; the current docs page is docs/apps/build/ai-toolkit (the Dev MCP is one of three AI Toolkit forms)
- 找 GitHub 源码仓——Shopify/dev-mcp 不存在(404),代码随 npm 发布;插件/skills 在 Shopify/Shopify-AI-Toolkit 仓,别混Looking for a GitHub source repo — Shopify/dev-mcp does not exist (404); the code ships with npm; plugins/skills live in the Shopify/Shopify-AI-Toolkit repo, don't mix
- 把它当「能操作店铺的 MCP」——它只读文档与 schema、无鉴权无店铺面;店铺操作走 Shopify CLI 线Treating it as "an MCP that operates the store" — it only reads docs and schema, no auth and no store surface; store operations go through the Shopify CLI line
- 忽略 instrumentation——默认有遥测,介意设 OPT_OUT_INSTRUMENTATION=trueIgnoring instrumentation — telemetry is on by default; set OPT_OUT_INSTRUMENTATION=true if you mind
- 把早期「每面一个 skill」(shopify-admin/shopify-liquid 等 23 个)当现役——官方已弃用改单一 shopify skill(npx skills add Shopify/shopify-ai-toolkit)Treating the early per-surface skills (shopify-admin/shopify-liquid and 23 others) as current — the official line deprecated them for a single shopify skill (npx skills add Shopify/shopify-ai-toolkit)
未知项清单Known unknowns
- dev-mcp 源码是否随 npm 包附带可读(repo 字段空;未拆包核验)
- introspect_admin_schema 覆盖的 API 版本范围与更新节奏(changelog 有 POS UI extensions 条目,全量未清点)
- AI Toolkit 插件形态与 Dev MCP 形态的能力差集(官方说插件「bundles everything」,未逐项对照)
- Whether the dev-mcp source is readable as shipped in the npm package (the repo field is empty; the package was not unpacked to verify)
- The API-version coverage and update cadence of introspect_admin_schema (the changelog has a POS UI extensions entry; the full range was not enumerated)
- The capability delta between the AI Toolkit plugin form and the Dev MCP form (the official docs say the plugin "bundles everything"; not compared item by item)
证据来源Evidence sources
判断可回到以下一手源复核。本站核验日Every judgement can be rechecked against the primary sources below. Verified on 2026-10-31,内容更新日content updated on 2026-10-31。
| 类型Type | 名称Name | 链接Link |
|---|---|---|
| docs | shopify.dev · AI Toolkit 官方页(Dev MCP 安装与定位;旧 agents-of-change 路径 404 后现役;直连 200)shopify.dev · AI Toolkit official page (Dev MCP install and positioning; the current docs page after the old agents-of-change path 404s; 200 direct) | https://shopify.dev/docs/apps/build/ai-toolkit |
| changelog | shopify.dev · changelog「Dev MCP now supports POS UI extensions」(变更记录线;直连 200)shopify.dev · changelog "Dev MCP now supports POS UI extensions" (change-record line; 200 direct) | https://shopify.dev/changelog/dev-mcp-now-supports-pos-ui-extensions |
| changelog | npm · @shopify/dev-mcp(发版线:1.18.0,2026-10-27,143 版本;ISC;repo 字段空=代码不独立开源)npm · @shopify/dev-mcp (release line: 1.18.0, 2026-10-27, 143 versions; ISC; empty repo field = code not independently open-sourced) | https://www.npmjs.com/package/@shopify/dev-mcp |
| repo | Shopify/Shopify-AI-Toolkit · 插件/skills 仓(MIT;621★,推送 2026-10-27,GitHub API 核验)Shopify/Shopify-AI-Toolkit · plugin/skills repo (MIT; 621★, pushed 2026-10-27, GitHub API verified) | https://github.com/Shopify/Shopify-AI-Toolkit |
实测记录Measured runs
本档未在真实客户端逐项跑通;工具清单与权限来自官方 README。
This site has not completed measured runs. The test protocol is at protocols/mcp/_protocol.md.
相关条目Related entries
- Firecrawl MCP ServerFirecrawl MCP Server「领域专用文档+schema MCP」vs「通用 web 上下文 MCP」:Shopify 单厂商极窄极深,Firecrawl 全网极宽。"Domain-specific docs+schema MCP" vs "general web-context MCP": Shopify is single-vendor, extremely narrow and deep; Firecrawl is web-wide and extremely broad.
- Context7Context7同类「给 agent 喂库/平台文档」路线:Context7 跨库通用,Shopify Dev MCP 单厂商官方一手。The same "feed library/platform docs to agents" route: Context7 is cross-library and general, Shopify Dev MCP is single-vendor official first-party.
- CursorCursor另一层 · AI 编程Other layer · AI coding
- Claude Code IDE 扩展Claude Code (IDE extension)另一层 · AI 编程Other layer · AI coding
本页由This page is generated from the ai-handbook 数据层生成(CC BY 4.0)。data layer (CC BY 4.0).
方法论与坐标系定义见仓库内For the methodology and coordinate definitions, see METHODOLOGY.md.