Skip to content
VS Code

autorouter for VS Code

io.github.webb-ventures/autorouter

An MCP capability router: one search tool instead of every server's tool schema.

client:VS Code transport:stdio runtime:npm

Install autorouter in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "autorouter-config",
      "description": "AUTOROUTER_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "autorouter-import",
      "description": "AUTOROUTER_IMPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "autorouter-selector-mode",
      "description": "AUTOROUTER_SELECTOR_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "autorouter-selector-model",
      "description": "AUTOROUTER_SELECTOR_MODEL",
      "password": true
    }
  ],
  "servers": {
    "autorouter": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "autorouter-mcp"
      ],
      "env": {
        "AUTOROUTER_CONFIG": "${input:autorouter-config}",
        "AUTOROUTER_IMPORT": "${input:autorouter-import}",
        "AUTOROUTER_SELECTOR_MODE": "${input:autorouter-selector-mode}",
        "AUTOROUTER_SELECTOR_MODEL": "${input:autorouter-selector-model}"
      }
    }
  }
}

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

autorouter in other clients