bol.com Retailer

v0.4.1
io.github.BartWaardenburg/bol-mcp Checked 2 days ago Published 5 days ago

Manage orders, offers, shipments, returns, and invoices via the bol.com Retailer API

Values you need

VariableWhat it is
BOL_CLIENT_IDrequired bol.com Retailer API client ID
BOL_CLIENT_SECRETrequired secret bol.com Retailer API client secret
BOL_CACHE_TTLoptional Cache time in seconds for read calls
BOL_MAX_RETRIESoptional Maximum retries on HTTP 429 (default 3)
BOL_TOOLSETSoptional Comma-separated list of toolsets to enable (default all)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add bol-mcp -e 'BOL_CLIENT_ID=<BOL_CLIENT_ID>' -e 'BOL_CLIENT_SECRET=<BOL_CLIENT_SECRET>' -- npx -y bol-mcp@0.4.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "bol-mcp": {
      "args": [
        "-y",
        "bol-mcp@0.4.1"
      ],
      "command": "npx",
      "env": {
        "BOL_CLIENT_ID": "<BOL_CLIENT_ID>",
        "BOL_CLIENT_SECRET": "<BOL_CLIENT_SECRET>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "bol-mcp": {
      "args": [
        "-y",
        "bol-mcp@0.4.1"
      ],
      "command": "npx",
      "env": {
        "BOL_CLIENT_ID": "<BOL_CLIENT_ID>",
        "BOL_CLIENT_SECRET": "<BOL_CLIENT_SECRET>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BOL_CLIENT_ID",
      "id": "bol-client-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "BOL_CLIENT_SECRET",
      "id": "bol-client-secret",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "bol-mcp": {
      "args": [
        "-y",
        "bol-mcp@0.4.1"
      ],
      "command": "npx",
      "env": {
        "BOL_CLIENT_ID": "${input:bol-client-id}",
        "BOL_CLIENT_SECRET": "${input:bol-client-secret}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.bol-mcp]
command = "npx"
args = ["-y", "bol-mcp@0.4.1"]
env = { "BOL_CLIENT_ID" = "<BOL_CLIENT_ID>", "BOL_CLIENT_SECRET" = "<BOL_CLIENT_SECRET>" }

For AI agents

  1. Ask the user for: BOL_CLIENT_ID, BOL_CLIENT_SECRET. 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: list_orders, get_order, cancel_order_item, get_offer, create_offer, update_offer, delete_offer, update_offer_price, ….
  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