Connect to VS Code

Add ToolRouter to VS Code with GitHub Copilot's agent mode. Requires VS Code 1.99+ with Copilot.

How do I add ToolRouter to VS Code?

Add this to .vscode/mcp.json in your project root:

json
{
  "servers": {
    "toolrouter": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "toolrouter-mcp"]
    }
  }
}

Note: VS Code uses "servers" instead of "mcpServers" and requires a "type": "stdio" field.

Tools appear in Copilot's agent mode automatically.

No API key needed — your account is created automatically on first use.

Requires Node.js 18+.