This guide will walk you through integrating VS Code with ToolRouter to enable tool use capabilities.

Setup

Create a ToolRouter Stack -> Create SSE Client -> Copy VS Code Implementation code VS Code 1 Open VS Code and press Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux) to open the Command Palette. Search for “MCP: Add Server” and select it. VS Code 2 Choose MCP: Add Server -> HTTP (server-sent events) VS Code 3 Enter the SSE URL copied from the ToolRouter Implementation code VS Code 4 Enter a suitable name for the server VS Code 5 You should now see all the tools available in the ToolRouter stack.