Skip to content
VS Code

Snap Router for VS Code

io.github.trigeochiral/snap-router

Task-to-tool discovery over the merged x402 Bazaar + MCP Registry catalog

client:VS Code transport:stdio runtime:pypi

Install Snap Router in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "snap-api",
      "description": "SNAP_API",
      "password": true
    },
    {
      "type": "promptString",
      "id": "snap-xpayment",
      "description": "SNAP_XPAYMENT",
      "password": true
    }
  ],
  "servers": {
    "snap-router": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "snap-router-mcp"
      ],
      "env": {
        "SNAP_API": "${input:snap-api}",
        "SNAP_XPAYMENT": "${input:snap-xpayment}"
      }
    }
  }
}

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

Snap Router in other clients