Shopify Admin MCP
v1.2.2MCP server for the Shopify Admin API: products, orders, customers, inventory, discounts.
Has high-severity static-analysis findings pending human review.
Values you need
| Variable | What it is | |
|---|---|---|
SHOPIFY_STORE_DOMAIN | required | Permanent store host, e.g. my-store.myshopify.com (a bare store name works too). |
SHOPIFY_ACCESS_TOKEN | optional secret | Ready-made Admin API access token (legacy apps created before 2026-01-01). Alternative to the client id/secret pair. |
SHOPIFY_CLIENT_ID | optional | Client id of a Dev Dashboard app; with the secret the server mints and refreshes its own token. |
SHOPIFY_CLIENT_SECRET | optional secret | Client secret of that app. Treat it as a secret. |
SHOPIFY_API_VERSION | optional | Admin API version: a quarterly YYYY-MM release or unstable. Default: 2026-01 |
SHOPIFY_API_BASE | optional | Full http/https URL of the GraphQL endpoint, replacing host and version (e.g. a local mock). |
SHOPIFY_TIMEOUT_MS | optional | Per-request timeout in milliseconds. Default: 30000 |
SHOPIFY_MAX_RETRIES | optional | Retries on THROTTLED/429 (always) and on 5xx / network errors for reads only. Default: 4 |
SHOPIFY_TOKEN_LEEWAY_SECONDS | optional | Re-mint the token this many seconds before it expires. Default: 300 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-shopify-admin -e 'SHOPIFY_STORE_DOMAIN=<SHOPIFY_STORE_DOMAIN>' -- npx -y mcp-shopify-admin@1.2.2Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-shopify-admin": {
"args": [
"-y",
"mcp-shopify-admin@1.2.2"
],
"command": "npx",
"env": {
"SHOPIFY_STORE_DOMAIN": "<SHOPIFY_STORE_DOMAIN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-shopify-admin": {
"args": [
"-y",
"mcp-shopify-admin@1.2.2"
],
"command": "npx",
"env": {
"SHOPIFY_STORE_DOMAIN": "<SHOPIFY_STORE_DOMAIN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SHOPIFY_STORE_DOMAIN",
"id": "shopify-store-domain",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-shopify-admin": {
"args": [
"-y",
"mcp-shopify-admin@1.2.2"
],
"command": "npx",
"env": {
"SHOPIFY_STORE_DOMAIN": "${input:shopify-store-domain}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-shopify-admin]
command = "npx"
args = ["-y", "mcp-shopify-admin@1.2.2"]
env = { "SHOPIFY_STORE_DOMAIN" = "<SHOPIFY_STORE_DOMAIN>" }For AI agents
- Ask the user for: SHOPIFY_STORE_DOMAIN. 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.
- Verify: the server should expose these tools: get_shop, list_products, get_product, create_product, update_product, update_variant, list_orders, get_order, ….
- 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