Debug browser bugs in Windsurf — from real evidence
Windsurf's Cascade agent reads MCP servers from a global config file. One small file, and Cascade can read every TraceBug export on your machine. Everything runs locally: the server is stdio-only, opens zero network connections, and reads report files from your disk. See the unedited transcript of Claude going from crash to root cause in five tool calls.
- 1
Create the config file
Add the tracebug entry to ~/.codeium/windsurf/mcp_config.json (create the file if it doesn't exist). You can also reach this file from Windsurf: Settings → Cascade → MCP → Configure.
~/.codeium/windsurf/mcp_config.json{ "mcpServers": { "tracebug": { "command": "npx", "args": ["-y", "tracebug", "mcp"] } } } - 2
Refresh the servers
In the Cascade panel, open the MCP toolbar and hit Refresh (or restart Windsurf). tracebug should appear in the server list with its six tools.
- 3
Capture a bug and ask
Export a bug with the TraceBug extension, then tell Cascade: "List my bug reports and investigate the newest one." The server auto-discovers exports in Downloads and Desktop; add "--dir", "./bug-reports" to the args array to pin a project folder.
The Cascade MCP list shows tracebug as running. Ask Cascade "what MCP tools do you have?" and look for list_bug_reports.
Troubleshooting
Full MCP reference — all six tools, the report format, and the FAQ — lives at /docs/mcp. Other tools: Claude Code · Cursor.