Skip to content
VS Code

shopify-operations-mcp for VS Code

io.github.jpka/shopify-operations-mcp

Safe-write Shopify operations: plan-before-execute writes with out-of-band approval and audit.

client:VS Code transport:stdio runtime:npm

Install shopify-operations-mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "shopify-store-domain",
      "description": "SHOPIFY_STORE_DOMAIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shopify-admin-token",
      "description": "SHOPIFY_ADMIN_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shopify-config",
      "description": "SHOPIFY_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shopify-plan-ttl-ms",
      "description": "SHOPIFY_PLAN_TTL_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shopify-approval-server-port",
      "description": "SHOPIFY_APPROVAL_SERVER_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shopify-protected-tags",
      "description": "SHOPIFY_PROTECTED_TAGS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shopify-caller-id",
      "description": "SHOPIFY_CALLER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shopify-audit-path",
      "description": "SHOPIFY_AUDIT_PATH",
      "password": true
    }
  ],
  "servers": {
    "shopify-operations-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "shopify-operations-mcp"
      ],
      "env": {
        "SHOPIFY_STORE_DOMAIN": "${input:shopify-store-domain}",
        "SHOPIFY_ADMIN_TOKEN": "${input:shopify-admin-token}",
        "SHOPIFY_CONFIG": "${input:shopify-config}",
        "SHOPIFY_PLAN_TTL_MS": "${input:shopify-plan-ttl-ms}",
        "SHOPIFY_APPROVAL_SERVER_PORT": "${input:shopify-approval-server-port}",
        "SHOPIFY_PROTECTED_TAGS": "${input:shopify-protected-tags}",
        "SHOPIFY_CALLER_ID": "${input:shopify-caller-id}",
        "SHOPIFY_AUDIT_PATH": "${input:shopify-audit-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

shopify-operations-mcp in other clients