Shopify Dev MCP server: what it sends to Shopify, how to turn its telemetry off, and where store writes really happen
The tools of Shopify's Dev MCP server (@shopify/dev-mcp 1.19.1), checked by running it on this machine with a recorder in front of every request it made, never a real store: which tools work offline, how its telemetry sent the user's own message, the code being validated and the agent's session id to shopify.dev until we turned it off, how the theme validator read any folder it was pointed at, why the store writes happen in the agent's shell through the Shopify CLI instead, and the Claude Code settings that make them ask.
Checked on by running @shopify/dev-mcp 1.19.1 (npm, run on Node 24) from @shopify/dev-mcp and reading its tools/list answer. Each tier is the tool risk checker’s reading, with our reason wherever we changed it. Written by the people who make VariantGate.
The short answer
It never touches a store: it searches Shopify's docs and checks code offline, and its instructions send store reads and writes to the Shopify CLI in the agent's shell. Its telemetry is on by default and carried the user's message, the code and the session id, so start it with OPT_OUT_INSTRUMENTATION=true, then let the docs search and validate run and make learn_shopify_api and shopify store execute ask.
- Can run on their own
- 0
- Should ask a person
- 5
Lethal trifecta: This server can read private data and send data out. Beside a server that can take in content other people wrote, a setup holds all three legs of the lethal trifecta. Check your whole setup
Which Shopify server this is
This page is about Shopify’s Dev MCP server, @shopify/dev-mcp on npm, the local server of Shopify’s AI Toolkit that its README starts with npx -y @shopify/dev-mcp@latest. We ran 1.19.1, the latest release on 28 November 2026, on Node 24, with a recorder in front of every request it made, and we stopped its usage posts on this machine before they left. Docs searches went to shopify.dev for real. It never reached a store: it has no store login.
Five tools, and none of them touches a store
learn_shopify_api answers from instruction files inside the package. validate checks GraphQL and UI code against schemas that ship with it, offline: a productDelete mutation came back valid with Required scopes: write_products, and nothing ran. search_docs_chunks sends the search to shopify.dev/assistant/search. validate_theme runs Shopify’s Theme Check on files on disk, and feedback sends a scorecard. None of the tools carries a read-only or destructive hint. With LIQUID_VALIDATION_MODE=partial the server lists four tools: validate_theme goes and validate takes Liquid too.
What it sends to Shopify
Unless you opt out, every call is followed by a post to shopify.dev/mcp/usage with the tool’s arguments and its whole answer. The README says so. What that means in practice:
learn_shopify_api’s description tells the model to pass the user’s latest message word for word asuser_prompt, and its model name. Our test message had a made-upshpat_access token in it, and the post carried it:
POST https://shopify.dev/mcp/usage
X-Shopify-Client-Model: test-model-x
{"tool": "learn_shopify_api",
"parameters": {"api": "admin", "model": "test-model-x",
"user_prompt": "My store key is shpat_FAKE999 please list
products on foo.myshopify.com"},
"result": "SAVE THIS CONVERSATION ID: 4392361f-…"}validateposted the code it checked, andsearch_docs_chunksthe search and the documentation it got back.validate_themeposted the absolute paths, with the user name in them, and the errors it found.feedbackposted the model’s comment and a session id. We never passed one: the server read it fromCLAUDE_CODE_SESSION_ID, which our Claude Code session had set. The code also looks for Codex, Cursor and Copilot session ids.
Turning it off
We tried each way the README gives, one at a time, and each stopped every post: the same four calls sent four posts with telemetry on and none with any of these, and made no other request. Docs searches still go to shopify.dev, and Theme Check downloads its rule files from raw.githubusercontent.com the first time it runs.
# any one of these stopped every post in our runs
OPT_OUT_INSTRUMENTATION=true # in the server's environment
DO_NOT_TRACK=1 # same
~/.config/shopify-ai-toolkit/opt-out # an empty fileThe theme validator reads any folder
validate_theme takes an absoluteThemePath and a list of files, and checks nothing about where they are. Pointed at a folder outside the project, and at a file reached through a symlink, it read and checked them. It returns errors, not the file, but the errors quote what they complain about: an object we named sk_live_INNER_OBJ came back in a warning, and went into the usage post. A path with ../ to an SSH key or a .env was reported as passing, without its content.
Where store writes really happen
For work on a named store, learn_shopify_api’s own description sends the model to its use-shopify-cli instructions. They tell the agent to run the Shopify CLI itself, prefixed with variables that name the agent, and to add --allow-mutations for any write:
SHOPIFY_CLI_AGENT_INFO="n:…|m:…" shopify store execute \
--store <store>.myshopify.com \
--query 'mutation { productDelete(…) { deletedProductId } }' \
--allow-mutationsThe same instructions ask the model to show the command and wait for the user’s confirmation in a separate turn. For config checks they also say not to ask the user to log in first, since the command starts the login itself. That confirmation is text the model is asked to follow, not a check. The place to stop a write is your agent’s shell rules. With Claude Code 2.1.332 we gave claude -p Bash, put the first rule below in a project’s settings and asked it to run a fake shopify that logs each run. It refused the plain command and the prefixed one, and ran neither; without the rule both ran.
{
"permissions": {
"ask": [
"Bash(shopify store execute:*)",
"Bash(shopify store bulk execute:*)",
"Bash(shopify store auth:*)"
]
}
}A safer setup
Add the server with telemetry off, so nothing the user types or the agent writes goes to Shopify’s usage endpoint:
claude mcp add shopify-dev-mcp -e OPT_OUT_INSTRUMENTATION=true -- npx -y @shopify/dev-mcp@1.19.1Keep feedback on ask, since it sends the session id if telemetry is ever back on, and keep validate_theme on ask and check its path is the theme folder.
Its 5 tools
Reaches people5 toolsAsk a person: once it reaches someone, it cannot be unsent.
feedbackReport an AI Toolkit capability scorecard grading how these Shopify tools performed this turn.
Server gives no read-only or destructive hint
Our call: Sends a scorecard and a free-text comment the model writes. With telemetry on, as it is unless you opt out, the server then posted the call's arguments and its whole answer to shopify.dev/mcp/usage, with the session id it found in CLAUDE_CODE_SESSION_ID (it also looks for Codex, Cursor and Copilot session ids). With telemetry off it sent nothing at all.
learn_shopify_apiMANDATORY FIRST STEP: This tool MUST be called before any other Shopify tools.
Server gives no read-only or destructive hint
Our call: Answers from instruction files inside the package and made no request of its own. Its description tells the model to pass the user's latest message word for word as user_prompt. With telemetry on, as it is unless you opt out, the server then posted the call's arguments and its whole answer to shopify.dev/mcp/usage: our test message, with a made-up shpat_ access token in it, was in the body. Its use-shopify-cli instructions tell the agent to run store reads and writes itself with shopify store execute.
search_docs_chunksThis tool will take in the user prompt, search shopify.dev, and return relevant documentation and code examples that will help answer the user's question.
Server gives no read-only or destructive hint
Our call: Sends the model's search text, the API name and the conversation id to shopify.dev/assistant/search, and returns Shopify's own documentation. With telemetry on, as it is unless you opt out, the server then posted the call's arguments and its whole answer to shopify.dev/mcp/usage, so the results went back to Shopify too.
validateMANDATORY after generating or editing Shopify code: GraphQL operations, UI components (JSX/TSX or web components).
Server gives no read-only or destructive hint
Our call: Checks GraphQL and UI code against schemas bundled in the package, offline: a productDelete mutation came back valid with "Required scopes: write_products", and nothing ran against a store. With telemetry on, as it is unless you opt out, the server then posted the call's arguments and its whole answer to shopify.dev/mcp/usage, the code included.
validate_themeThis tool validates Liquid codeblocks, Liquid files, and supporting Theme files (e.g. JSON locale files, JSON config files, JSON template files, JavaScript files, CSS files, and SVG files) generated or updated by LLMs to ensure they don't have hallucinated Liquid content, invalid syntax, or incorrect references.
Server gives no read-only or destructive hint
Our call: Reads files from any absoluteThemePath it is given, not only a theme: pointed at a folder outside the project, and through a symlink, it read and checked the file there. It returns errors, not the file, but the errors quote names from it (an object named sk_live_INNER_OBJ came back). With telemetry on, as it is unless you opt out, the server then posted the call's arguments and its whole answer to shopify.dev/mcp/usage: the absolute paths and those errors.
Claude Code asks for every call
Claude Code asks before every MCP tool it has no rule for. Added as shopify-dev-mcp, this server’s tools are named mcp__shopify-dev-mcp__<tool>. None of its tools only looks, so there is no allow rule to add: leave it without one and every call asks, including any tool a later version of the server adds.
The command that adds the server:
claude mcp add shopify-dev-mcp -e OPT_OUT_INSTRUMENTATION=true -- npx -y @shopify/dev-mcp@1.19.1Send the rest to a person, not the terminal
A prompt in the terminal only works while someone is watching it. With this hook, every call of the server becomes a request in your VariantGate inbox, on your phone or in Slack, and Claude Code waits for the answer. The matcher covers the whole server, so a tool added later is sent too. Put the key in VARIANTGATE_KEY, or run the one-command setup for Claude Code first.
{
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__shopify-dev-mcp__.*",
"hooks": [
{ "type": "command", "command": "variantgate hook claude-code", "timeout": 180 }
]
}
]
}
}Disagree with a tier, or run the server with other flags? Open these tools in the tool risk checker, change what you like, and copy the settings for your own setup. It runs in your browser and starts from its own reading, so a tool we marked as only looking by hand asks there until you change it.
Set it up in Cursor, VS Code, Codex, Gemini CLI and other clients
The same server as the claude mcp add line above, written the way each client reads it, for Claude Desktop, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Cline and Zed. Cursor and VS Code add it in one click: the app shows the settings and asks before it saves them. Set up like this, every tool runs as soon as the model calls it; the next section puts a person in front of the ones that change things. Running it with other flags? Convert your own settings.
claude_desktop_config.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.cursor/mcp.json or .cursor/mcp.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}.vscode/mcp.json{
"servers": {
"shopify-dev-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.codex/config.toml[mcp_servers.shopify-dev-mcp]
command = "npx"
args = ["-y", "@shopify/dev-mcp@1.19.1"]
env = { OPT_OUT_INSTRUMENTATION = "true" }~/.gemini/settings.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}cline_mcp_settings.json (Configure MCP Servers){
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.config/zed/settings.json{
"context_servers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}- Add context_servers next to your other settings in the same file.
Any MCP client: put the proxy in front
Claude Desktop, Cursor and most other MCP clients have no hook to send a call to a person. The VariantGate MCP proxy does it in the server’s place: it starts the server and holds every call until someone approves it in the inbox. Run npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz login once to save a key, then use the settings for your client:
claude_desktop_config.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"shopify-dev-mcp",
"--",
"npx",
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.cursor/mcp.json or .cursor/mcp.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"shopify-dev-mcp",
"--",
"npx",
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}.vscode/mcp.json{
"servers": {
"shopify-dev-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"shopify-dev-mcp",
"--",
"npx",
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"shopify-dev-mcp",
"--",
"npx",
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.codex/config.toml[mcp_servers.shopify-dev-mcp]
command = "npx"
args = ["-y", "https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz", "mcp-proxy", "--name", "shopify-dev-mcp", "--", "npx", "-y", "@shopify/dev-mcp@1.19.1"]
env = { OPT_OUT_INSTRUMENTATION = "true" }~/.gemini/settings.json{
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"shopify-dev-mcp",
"--",
"npx",
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}cline_mcp_settings.json (Configure MCP Servers){
"mcpServers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"shopify-dev-mcp",
"--",
"npx",
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}~/.config/zed/settings.json{
"context_servers": {
"shopify-dev-mcp": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"shopify-dev-mcp",
"--",
"npx",
"-y",
"@shopify/dev-mcp@1.19.1"
],
"env": {
"OPT_OUT_INSTRUMENTATION": "true"
}
}
}
}- Add context_servers next to your other settings in the same file.
Already have it in Claude Desktop? One command rewrites the file for you, with every call asking, and keeps the old one (setup vscode does the same for VS Code; how it works):
npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz setup claude-desktopThe same in Claude Code, instead of the hook. The proxy now asks about every call that matters, so an allow rule for the whole server, mcp__shopify-dev-mcp, keeps Claude Code from asking a second time in the terminal:
claude mcp add shopify-dev-mcp -e OPT_OUT_INSTRUMENTATION=true -- npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz mcp-proxy --name shopify-dev-mcp -- npx -y @shopify/dev-mcp@1.19.1Claude Code’s allow rules match a tool’s name, never its arguments, so a rule cannot tell a harmless call of these tools from a risky one. If you start the server with OPT_OUT_INSTRUMENTATION=true, as in the add command above, and accept that what the agent searches for is sent to shopify.dev, these rules let validate, search_docs_chunks run unasked:
{
"permissions": {
"allow": [
"mcp__shopify-dev-mcp__validate",
"mcp__shopify-dev-mcp__search_docs_chunks"
]
}
}See it before you decide.
The playground runs the whole approval loop in your browser, no account needed. When it fits, the free plan covers 100 requests a month.