Skip to content
VS Code

CommerceWeave MCP for VS Code

io.github.mysterekkk/commerceweave-mcp

Local MCP server for Allegro, Base.com and WooCommerce. Read-only by default, human-approved writes.

client:VS Code transport:stdio runtime:npm

Install CommerceWeave MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "commerceweave-mode",
      "description": "COMMERCEWEAVE_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "commerceweave-demo",
      "description": "COMMERCEWEAVE_DEMO",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allegro-enabled",
      "description": "ALLEGRO_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allegro-environment",
      "description": "ALLEGRO_ENVIRONMENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allegro-client-id",
      "description": "ALLEGRO_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allegro-client-secret",
      "description": "ALLEGRO_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "base-enabled",
      "description": "BASE_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "base-api-token",
      "description": "BASE_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "woo-enabled",
      "description": "WOO_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "woo-store-url",
      "description": "WOO_STORE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "woo-consumer-key",
      "description": "WOO_CONSUMER_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "woo-consumer-secret",
      "description": "WOO_CONSUMER_SECRET",
      "password": true
    }
  ],
  "servers": {
    "commerceweave-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "commerceweave-mcp"
      ],
      "env": {
        "COMMERCEWEAVE_MODE": "${input:commerceweave-mode}",
        "COMMERCEWEAVE_DEMO": "${input:commerceweave-demo}",
        "ALLEGRO_ENABLED": "${input:allegro-enabled}",
        "ALLEGRO_ENVIRONMENT": "${input:allegro-environment}",
        "ALLEGRO_CLIENT_ID": "${input:allegro-client-id}",
        "ALLEGRO_CLIENT_SECRET": "${input:allegro-client-secret}",
        "BASE_ENABLED": "${input:base-enabled}",
        "BASE_API_TOKEN": "${input:base-api-token}",
        "WOO_ENABLED": "${input:woo-enabled}",
        "WOO_STORE_URL": "${input:woo-store-url}",
        "WOO_CONSUMER_KEY": "${input:woo-consumer-key}",
        "WOO_CONSUMER_SECRET": "${input:woo-consumer-secret}"
      }
    }
  }
}

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

CommerceWeave MCP in other clients