Skip to content
VS Code

viator mcp for VS Code

io.github.chrischall/viator-mcp

Search Viator tours and activities — products, availability, attractions, destinations.

client:VS Code transport:stdio runtime:npm

Install viator mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "viator-api-key",
      "description": "VIATOR_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "viator-language",
      "description": "VIATOR_LANGUAGE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "viator-cache-ttl",
      "description": "VIATOR_CACHE_TTL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "viator-static-cache-ttl",
      "description": "VIATOR_STATIC_CACHE_TTL",
      "password": true
    }
  ],
  "servers": {
    "viator-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/viator-mcp"
      ],
      "env": {
        "VIATOR_API_KEY": "${input:viator-api-key}",
        "VIATOR_LANGUAGE": "${input:viator-language}",
        "VIATOR_CACHE_TTL": "${input:viator-cache-ttl}",
        "VIATOR_STATIC_CACHE_TTL": "${input:viator-static-cache-ttl}"
      }
    }
  }
}

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

viator mcp in other clients