shopify-operations-mcp
v0.1.2Safe-write Shopify operations: plan-before-execute writes with out-of-band approval and audit.
This server failed our last smoke test; it may not start.
Values you need
| Variable | What it is | |
|---|---|---|
SHOPIFY_STORE_DOMAIN | required | The myshopify.com store domain, e.g. my-store.myshopify.com. Overrides shopify.storeDomain from the config file. |
SHOPIFY_ADMIN_TOKEN | required secret | Shopify Admin API access token. Required and only ever read from the environment — never from the config file. |
SHOPIFY_CONFIG | optional | Path to a config.json with shopify/plans/approvalServer/protectedTags settings. Defaults to ./config.json in the working directory. |
SHOPIFY_PLAN_TTL_MS | optional | How long a plan token stays valid before it must be executed or expires, in milliseconds. Default 60000. |
SHOPIFY_APPROVAL_SERVER_PORT | optional | Port the localhost human-approval HTTP server binds to (127.0.0.1 only). Default 4319. |
SHOPIFY_PROTECTED_TAGS | optional | Comma-separated tags that plans may never modify; any plan touching an item carrying one is refused. Default do-not-touch. |
SHOPIFY_CALLER_ID | optional | Identity recorded as the caller on every audit log row. Default unknown. |
SHOPIFY_AUDIT_PATH | optional | File path for the tamper-evident JSONL audit log. Default shopify-operations-audit.jsonl in the working directory. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add shopify-operations-mcp -e 'SHOPIFY_ADMIN_TOKEN=<SHOPIFY_ADMIN_TOKEN>' -e 'SHOPIFY_STORE_DOMAIN=<SHOPIFY_STORE_DOMAIN>' -- npx -y shopify-operations-mcp@0.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"shopify-operations-mcp": {
"args": [
"-y",
"shopify-operations-mcp@0.1.2"
],
"command": "npx",
"env": {
"SHOPIFY_ADMIN_TOKEN": "<SHOPIFY_ADMIN_TOKEN>",
"SHOPIFY_STORE_DOMAIN": "<SHOPIFY_STORE_DOMAIN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"shopify-operations-mcp": {
"args": [
"-y",
"shopify-operations-mcp@0.1.2"
],
"command": "npx",
"env": {
"SHOPIFY_ADMIN_TOKEN": "<SHOPIFY_ADMIN_TOKEN>",
"SHOPIFY_STORE_DOMAIN": "<SHOPIFY_STORE_DOMAIN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SHOPIFY_ADMIN_TOKEN",
"id": "shopify-admin-token",
"password": true,
"type": "promptString"
},
{
"description": "SHOPIFY_STORE_DOMAIN",
"id": "shopify-store-domain",
"password": true,
"type": "promptString"
}
],
"servers": {
"shopify-operations-mcp": {
"args": [
"-y",
"shopify-operations-mcp@0.1.2"
],
"command": "npx",
"env": {
"SHOPIFY_ADMIN_TOKEN": "${input:shopify-admin-token}",
"SHOPIFY_STORE_DOMAIN": "${input:shopify-store-domain}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.shopify-operations-mcp]
command = "npx"
args = ["-y", "shopify-operations-mcp@0.1.2"]
env = { "SHOPIFY_ADMIN_TOKEN" = "<SHOPIFY_ADMIN_TOKEN>", "SHOPIFY_STORE_DOMAIN" = "<SHOPIFY_STORE_DOMAIN>" }For AI agents
- Ask the user for: SHOPIFY_STORE_DOMAIN, SHOPIFY_ADMIN_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json