Connect VS Code
VS Code connects to Trace through GitHub Copilot’s MCP support. You need VS Code 1.101 or newer (verified 2026-06-25), and Trace’s tools only run when Copilot Chat is in Agent mode.
Before you start
Section titled “Before you start”You need a Trace account on the Starter plan or higher. Connecting uses OAuth — you’ll sign in to Trace in your browser; there’s no API key to paste. Your Trace email must be verified, and some tools require the Pro plan. See Authentication for the full access model.
-
Add Trace to your workspace’s
.vscode/mcp.json:.vscode/mcp.json { "servers": { "trace": { "type": "http", "url": "https://mcp.tracedata.ai/mcp" } } } -
VS Code detects the server. The first connection triggers a browser OAuth flow — log in to Trace and approve access.
-
Open Copilot Chat and switch it to Agent mode. Trace’s tools are available there.
Next steps
Section titled “Next steps”- See what Copilot can do with the connection in MCP tools.
- Background on the server and transport: MCP overview.