Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

MCP Server for WinDbg Crash Analysis

Lets your AI agent analyze Windows crash dumps and debug live or kernel targets by running WinDbg and CDB commands.

1.7k stars on GitHubby Sven Scharmentke (svnscha)License MITUpdated 26 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add windbg -- uvx mcp-windbg

What to fill in

NameWhat it isRequired
CDB_PATHCustom path to cdb.exe (optional)No
_NT_SYMBOL_PATHSymbol path for Windows debugging (optional, defaults to Microsoft symbol server)No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Analyze the crash dump at C:\dumps\app.dmp.
Open a kernel session on net:port=50000,key=1.2.3.4, run !analyze -v, and tell me which driver bugchecked.

What it is

This server drives the Windows debuggers CDB (user mode) and KD (kernel) so your AI agent can open crash dumps, attach to live targets and run real debugger commands. You can ask in plain words for a call stack or the cause of an access violation. The agent reasons about the debugger output.

What it can do

  • list_dumps: list crash dump files in a folder
  • open_cdb_dump: open and triage a crash dump
  • open_cdb_remote: attach to a user-mode remote debug server
  • open_kd_session and open_kd_dump: kernel targets and kernel dumps
  • run_cdb_command and run_kd_command: run debugger commands
  • send_ctrl_break: break into a running live session

When to use

  • β€ΊWhen you have a .dmp file from a crash or blue screen and want the root cause.
  • β€ΊWhen you need to look at a hung process or a live kernel target.
  • β€ΊWhen you have a folder of dumps and want to find the common signature.

What you need

Windows with Debugging Tools for Windows or WinDbg (which ship cdb.exe and kd.exe). Then either uv, or Python 3.10 or newer, or the signed mcp-windbg.exe from the releases page.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes, the project is open source under the license in the repository and is published on PyPI.

Is it made by Microsoft?

No. It is an independent community project. The readme points to Microsoft's own WinDbg MCP if you want AI built into WinDbg itself.

Which agents does it work with?

Any MCP client, such as Claude Code, GitHub Copilot, Claude Desktop, Cursor, Windsurf and Cline.

Can I hide secrets in dumps?

Yes. A --filter-script can redact PII and secrets from tool arguments and output before they leave the machine.

Can I use it from another machine?

Yes, it can run as a streamable-HTTP service as well as over stdio.

Will it fix the bug for me?

The readme says it is not an auto-fix. It lets the AI run real debugger commands and reason about the output.

If it does not work

  • β€ΊInstall Debugging Tools for Windows or WinDbg so cdb.exe and kd.exe exist; use --cdb-path or --kd-path if they are not found.
  • β€ΊSet _NT_SYMBOL_PATH to a symbol server such as SRV*C:\Symbols*https://msdl.microsoft.com/download/symbols.
  • β€ΊIf you use the uvx plugin, install uv first with winget install astral-sh.uv.

5 new skills a week. 1 minute to read.