Add the Disbug MCP server to Claude Code
Paste one prompt and Claude Code installs the Disbug CLI, signs you in, and adds the Disbug MCP server and the using-disbug skill. Claude can then read your team’s bug reports, fix the code and mark each pin resolved.

Set it up in Claude Code
- 01
Paste this prompt into Claude Code
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 Claude Code reports
MCP OK, skill OK. - 02
Start a new session
Claude Code loads MCP servers when a session starts.
›Prefer to run the commands yourself?
Install the CLI and connect Claude Code, or register the server at user scope or in a project .mcp.json:
brew install disbug-io/tap/disbug
disbug onboard --agent claude-codeclaude mcp add --scope user disbug -- disbug mcp{
"mcpServers": {
"disbug": {
"command": "disbug",
"args": ["mcp"]
}
}
}If Claude Code can’t find disbug, put the full path from which disbug in command. To repair the setup, run disbug configure --agent claude-code, then disbug doctor.

What Claude Code 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 Claude Code 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 Claude Code 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 Claude Code 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.
- List the open Disbug sessions in the Storefront project and tell me which to fix first.
- Read pin 2 of https://app.disbug.io/acme/projects/12/sessions/482/ with its console and network logs, and find the cause before changing any code.
- Inspect ./disbug-report.json and write a failing test that reproduces it.
The using-disbug skill tells Claude Code which tools to use. Full reference: theDisbug CLI READMEand theagent guide.
Claude Code questions
User scope or project scope?
disbug configure registers the server at user scope, for every project. Use a project .mcp.json to limit it to one repository or to share the setup with your team.
Can I use a second Disbug account?
Yes. Sign in with disbug --profile work login and register the server with disbug --profile work mcp as the command.
Does the MCP server run locally?
Yes. Claude Code 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 Claude Code 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 Claude Code the whole bug.
Start free and capture your first report with the Chrome extension.