Add the Disbug MCP server to Cursor
Paste one prompt into the Cursor agent and it installs the Disbug CLI, signs you in, and adds the Disbug MCP server to ~/.cursor/mcp.json with the using-disbug skill. The agent can then read your team’s bug reports, fix the code and mark each pin resolved.

Set it up in Cursor
- 01
Paste this prompt into Cursor
PromptI want to set up Disbug. Read https://app.disbug.io/agent-setup/ and follow its instructions.Approve the steps it asks about. It’s done when Cursor reports
MCP OK, skill OK. - 02
Reload Cursor
Reload the window, or restart Cursor if Disbug is missing from Cursor Settings › MCP.
›Prefer to run the commands yourself?
Install the CLI and connect Cursor, or add the server to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):
brew install disbug-io/tap/disbug
disbug onboard --agent cursor{
"mcpServers": {
"disbug": {
"command": "disbug",
"args": ["mcp"]
}
}
}If Cursor can’t find disbug, put the full path from which disbug in command. To repair the setup, run disbug configure --agent cursor, then disbug doctor.

What Cursor can do with Disbug
list_sessionssearch_sessionsList open sessions in a project, or search them by text.
get_sessionRead one report: its title and every pin with its note and page URL.
get_pinget_pinssearch_pinsRead or search pins with only the fields needed: screenshot, console, network, events, replay, voice_note or video.
download_attachmentOpen a file a reporter attached to a pin.
set_pin_statusset_session_statusMark a pin or session open, resolved or dismissed, with an optional note.
inspect_local_reportRead a report JSON downloaded from the extension.
whoamiShow which Disbug account and team the server uses.
How to give Cursor a bug to fix
Give it what you’d give a developer, as text it can read. Ask it to find the cause first and name the evidence that points there, then to write a test that fails before the fix and passes after.
What Cursor needs
- Where it happens
- The page URL and the element.
- What the person did
- The steps, in order, with the data they used.
- Expected and actual
- Without it, the agent guesses which behaviour is the bug.
- Console errors
- The message, file and line.
- Failed requests
- Method, URL, status and response body.
- A screenshot
- So the agent sees the state of the page.
With Disbug: Give Cursor the report link. It reads each of these through the MCP server, so you don’t paste logs into the chat.
Prompts to try
- Fix the open Disbug session on checkout and mark the pins resolved with a note.
- Open the latest Disbug session for this project and show me the failing request before you edit anything.
- Read pin 1 of https://app.disbug.io/acme/projects/12/sessions/482/ with its screenshot and console logs, then find the component it points at.
- Inspect ./disbug-report.json and fix the bug it describes.
The using-disbug skill tells Cursor which tools to use. Full reference: theDisbug CLI READMEand theagent guide.
Cursor questions
Global or project configuration?
disbug configure writes ~/.cursor/mcp.json, so the server works in every project. Use .cursor/mcp.json in a repository to keep it to that project or share it with your team.
Does the MCP server run locally?
Yes. Cursor starts disbug mcp on your machine and talks to it over stdio. For cloud reports, the CLI fetches sessions from your Disbug team with the token from disbug login.
What can Cursor see?
Sessions and pins from the Disbug team you signed in to, and the files reporters attached. It fetches only the fields it asks for, one tool call at a time.
Does it work with local reports that were never uploaded?
Yes. The Chrome extension can save a report as a JSON file instead of uploading it, and inspect_local_report reads that file from disk.
Can the agent change anything in Disbug?
Only the status of sessions and pins, through set_session_status and set_pin_status. Every other tool only reads.
Which plan do I need?
MCP and CLI access is part of every plan, including Free. See pricing for session and seat limits.
Give Cursor the whole bug.
Start free and capture your first report with the Chrome extension.