Skip to content
Dashboard

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.

You need a Trace account. 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. See Authentication for the full access model.

  1. Add Trace to your workspace’s .vscode/mcp.json:

    .vscode/mcp.json
    { "servers": { "trace": { "type": "http", "url": "https://mcp.tracedata.ai/mcp" } } }
  2. VS Code detects the server. The first connection triggers a browser OAuth flow — log in to Trace and approve access.

  3. Open Copilot Chat and switch it to Agent mode. Trace’s tools are available there.

  • See what Copilot can do with the connection in MCP tools.
  • Background on the server and transport: MCP overview.