Shopify Admin MCP

v1.2.2
io.github.A1-x-Tech/mcp-shopify-admin Checked 3 days ago Published 1 month ago

MCP server for the Shopify Admin API: products, orders, customers, inventory, discounts.

Has high-severity static-analysis findings pending human review.

Values you need

VariableWhat it is
SHOPIFY_STORE_DOMAINrequired Permanent store host, e.g. my-store.myshopify.com (a bare store name works too).
SHOPIFY_ACCESS_TOKENoptional secret Ready-made Admin API access token (legacy apps created before 2026-01-01). Alternative to the client id/secret pair.
SHOPIFY_CLIENT_IDoptional Client id of a Dev Dashboard app; with the secret the server mints and refreshes its own token.
SHOPIFY_CLIENT_SECREToptional secret Client secret of that app. Treat it as a secret.
SHOPIFY_API_VERSIONoptional Admin API version: a quarterly YYYY-MM release or unstable. Default: 2026-01
SHOPIFY_API_BASEoptional Full http/https URL of the GraphQL endpoint, replacing host and version (e.g. a local mock).
SHOPIFY_TIMEOUT_MSoptional Per-request timeout in milliseconds. Default: 30000
SHOPIFY_MAX_RETRIESoptional Retries on THROTTLED/429 (always) and on 5xx / network errors for reads only. Default: 4
SHOPIFY_TOKEN_LEEWAY_SECONDSoptional 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.2
Add 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

  1. Ask the user for: SHOPIFY_STORE_DOMAIN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_shop, list_products, get_product, create_product, update_product, update_variant, list_orders, get_order, ….
  5. 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