Skip to content
VS Code

ANWB Traffic and Routes for VS Code

io.github.bartwaardenburg/anwb-mcp

ANWB traffic information, route planning, and location search for the Netherlands

client:VS Code transport:stdio runtime:npm

Install ANWB Traffic and Routes in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anwb-toolsets",
      "description": "ANWB_TOOLSETS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anwb-cache-ttl",
      "description": "ANWB_CACHE_TTL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anwb-max-retries",
      "description": "ANWB_MAX_RETRIES",
      "password": true
    }
  ],
  "servers": {
    "anwb-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "anwb-mcp"
      ],
      "env": {
        "ANWB_TOOLSETS": "${input:anwb-toolsets}",
        "ANWB_CACHE_TTL": "${input:anwb-cache-ttl}",
        "ANWB_MAX_RETRIES": "${input:anwb-max-retries}"
      }
    }
  }
}

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

ANWB Traffic and Routes in other clients