PlugWiki
MCP Server for WinDbg Crash Analysis logo

WinDbg MCP Server by svnscha: Crash Dump Analysis with Claude

CommunityLocal
GetPyPImcp-windbgsvnscha/mcp-windbg

Lets Claude, Cursor and other assistants analyze Windows crash dumps and debug live or kernel targets through WinDbg and CDB.

mcp-windbg lets Claude, Cursor and other assistants drive the Windows debugger on a crash dump or a live program. You ask in plain language, such as why an app crashed or which driver caused a blue screen, and it runs real debugger commands and reads the output for you. It is a community project by svnscha, not made by Microsoft.

It runs on a Windows machine that already has Debugging Tools for Windows or WinDbg, and the assistant can send any debugger command, so use it on dumps and test machines first. The --filter-script option can redact secrets from tool input and output before the assistant sees it.

Good for

  • Windows developers who want a first read on a crash dump or blue screen
  • Driver developers debugging a kernel target over a VM or cable
  • Support engineers sorting a folder of dumps for the common cause
  • Teams who need output redacted before it reaches the assistant

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install MCP Server for WinDbg Crash Analysis

Claude Code

  1. 1

    Copy this prompt.

    Add the MCP Server for WinDbg Crash Analysis server to Claude Code. Run this command:
    
    claude mcp add windbg -- uvx mcp-windbg
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires uv (Python), Windows with Debugging Tools for Windows or WinDbg.

Read-only mode: There is no read-only mode. Open crash dumps instead of live targets to limit what can change.

This server only works on Windows with Debugging Tools for Windows or WinDbg from the Microsoft Store, which provide cdb.exe and kd.exe (found automatically). The uvx command needs uv. Set _NT_SYMBOL_PATH if you want symbols from a specific server, and CDB_PATH if cdb.exe is in an unusual place. The README also describes a Claude Code plugin install and a pip install mcp-windbg route.

Built from the package data we hold. Not yet tested by us.

Tools

  • Finds crash dump files in a folder

    Looks through a folder and lists the crash dump files in it, so you can pick one to analyze. It is the starting point when you have a folder of dumps and no file name.

    Try: “List the crash dumps in C:\CrashDumps.”

    Files · list_dumps

  • Opens a crash dump and runs a first analysis

    Starts the Windows debugger on a user-mode crash dump and runs the standard first analysis. You get back a session id that the other tools use. Kernel dumps use a different tool.

    Try: “Open C:\CrashDumps\app.dmp and tell me why it crashed.”

    Runs code · open_cdb_dump

  • Attaches to a running program through a debug server

    Connects to a program that already runs under a cdb debug server, on this or another machine. A running program stays running unless you ask it to break in. Its description warns that one cdb version can freeze Windows if the server is started with no console input.

    Try: “Attach to the debug server at tcp:Port=5005,Server=192.168.0.100 and show me the call stack.”

    Runs code · open_cdb_remote

  • Connects to a Windows kernel target such as a VM

    Waits for a kernel target to connect over network debugging, a named pipe or a serial port, then breaks into it. This pauses the target machine while you look at it.

    Try: “Connect to the VM over KDNET on port 50000 and show me the bugcheck.”

    Runs code · open_kd_session

  • Opens a kernel crash dump and runs a first analysis

    Opens a full, kernel, bitmap or small memory dump written by a blue screen and runs the standard first analysis. Use it for MEMORY.DMP and the Minidump folder, not for app crashes.

    Try: “Open C:\Windows\MEMORY.DMP and tell me which driver caused the bugcheck.”

    Runs code · open_kd_dump

  • Runs any debugger command on an open app session

    Sends a debugger command you or the assistant chose to an open user-mode session and returns the output. It can run any command the debugger accepts, including ones that change a live program.

    Try: “In that session, show the stack of every thread.”

    Runs code · run_cdb_command

  • Runs any debugger command on an open kernel session

    Sends a debugger command to an open kernel session and returns the output. Kernel memory reads can be slow, so you can set a longer timeout. It can run any command the debugger accepts.

    Try: “Run !process 0 0 on the kernel session and list the running processes.”

    Runs code · run_kd_command

  • Closes an app debugging session

    Ends a user-mode session and frees its resources. For a remote session it closes only this server's connection, not the debug server, and by default leaves the program as it found it.

    Try: “Close the debugging session for the crash dump.”

    Runs code · close_cdb_session

  • Closes a kernel debugging session

    Ends a kernel session and frees its resources. The README notes that this resumes the target machine.

    Try: “Close the kernel session and let the VM run again.”

    Runs code · close_kd_session

  • Interrupts a running live target so you can inspect it

    Stops a running target so commands work again. Use it when a live session is running and not responding to commands.

    Try: “Break into the running process so I can look at its threads.”

    Runs code · send_ctrl_break

  • Waits for a resumed target to stop again

    After you let a target run, this waits until it hits a breakpoint or bugcheck and returns what it printed. If time runs out the target keeps running.

    Try: “Resume the target and tell me when it crashes.”

    Runs code · wait_for_break

  • Reads the recent output a debug session printed

    Returns the latest lines a session printed, including output no earlier call returned, such as kernel debug prints. It works only when the server was started with a log folder, and it still works after the session is closed.

    Try: “Show lines mentioning "driver" from the kernel session log.”

    Files · read_debugger_log

Read from the source code

Permissions

high risk · 5 things to watch

High risk

The assistant can send any debugger command to a dump or a live program, and there is no read-only mode. Start with crash dumps, and attach to live or kernel targets only on test machines.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It can run any debugger command

    The two run tools pass the command to the debugger unchanged, so on a live or kernel target they can change program or system state. Use dumps or test machines, and read each command before it runs. github.com

  • Dumps can contain secrets

    Crash dumps hold memory, which can include passwords and personal data, and debugger output goes to your assistant. The --filter-script option can redact tool input and output before it leaves the machine. github.com

  • A cdb server started wrong can freeze Windows

    The tool text for remote attach warns that one cdb version, started in server mode with no console input, can exhaust memory and freeze the host. Follow the warning in that tool description. github.com

  • HTTP mode is for a debugging host

    The server runs over stdio by default. The streamable-HTTP option binds 127.0.0.1 unless you pass --host, so do not bind it to a public address. github.com

  • Optional log folder keeps unfiltered output

    With --log-dir the server writes every line a session prints to a file, unfiltered. Leave it off unless you need the log tool. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyNo read-only switch exists. The run commands accept any debugger command.
Talks toSymbol downloads from the symbol server you configure (Microsoft's by default in the Claude Code examples)
Sign-in and keysNo account or API key.

Questions

Is the WinDbg MCP server official?

No. It is a community project by svnscha, and the README calls it an independent alternative to Microsoft's own tooling. It only drives the Microsoft debuggers (cdb.exe and kd.exe) that you install.

Does Microsoft have its own WinDbg MCP server?

Yes. Microsoft ships an official WinDbg MCP built into WinDbg, starting with WinDbg 1.2610.1001.0. You turn it on in WinDbg's MCP service settings and chat with your active session from VS Code with GitHub Copilot or the GitHub Copilot CLI. This svnscha server is separate and community-built. It runs cdb.exe and kd.exe headless, so it suits other MCP clients, driving a debugger from another machine over HTTP, or triaging many dumps without opening WinDbg.

Does it work on Mac or Linux?

No. It needs Windows with Debugging Tools for Windows or the WinDbg app from the Microsoft Store, which provide cdb.exe and kd.exe. HTTP mode lets another machine drive a Windows debugging host.

Is it free?

Yes. It is MIT licensed and needs no account or API key.

Can it debug a live program or a kernel?

Yes. It attaches to a cdb debug server for user-mode programs and to a kernel target over network debugging, a named pipe or serial. It can pause the target while you look at it.

Can it run read-only?

No. The run tools accept any debugger command. Open crash dumps rather than live targets if you want the safest use.

Does my crash dump leave my machine?

The server runs locally, but debugger output goes to your assistant. A filter script can redact it first.

How do I add it to Claude Code?

Use the Claude Code tab in the install box above. The README also offers a Claude Code plugin that fetches the server with uvx.

How do I add the Claude Code plugin and skills?

The README lists three plugins from its marketplace: a uvx server plugin, a skills plugin and an agents plugin. The skills and agents plugins sit on top of a server you already run.

Information

updated Nov 2, 2026

Publisher
Community
Package
mcp-windbg
Registry
PyPI
Transport
stdio, Streamable HTTP
Version
1.6.0
License
MIT
Last commit
Oct 28, 2026
Open issues
0
Listed in
Official MCP registry

WebsiteGitHubPyPIOfficial MCP RegistryChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 3
  1. mcp-windbg README · github.com
  2. mcp-windbg tool registrations (v1.6.0) · github.com
  3. mcp-windbg command-line options (v1.6.0) · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.