Debug browser bugs in Cursor — from real evidence
Cursor reads MCP servers from a JSON config file — project-level or global. One small file, and the agent 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
For one project, create .cursor/mcp.json in the project root. To make it available everywhere, put the same content in ~/.cursor/mcp.json instead.
.cursor/mcp.json{ "mcpServers": { "tracebug": { "command": "npx", "args": ["-y", "tracebug", "mcp"] } } } - 2
Enable it
Open Cursor Settings → MCP. The tracebug server should be listed — enable it if it isn't already, and check for the green status dot. Cursor may ask you to approve the server the first time the agent calls a tool.
- 3
Capture a bug and ask
Export a bug with the TraceBug extension, then tell Cursor's agent: "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.
Settings → MCP shows tracebug with a green dot and six tools. In agent chat, ask "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 · Windsurf.