mcp-windbg
Crash-dump analysis, driven by AI.
Ask "why the access violation?" and your assistant runs the right CDB commands, reads the dump and explains the root cause. Crash dumps, live sessions and the Windows kernel, from Claude, Copilot, Cursor or any MCP client.
- Microsoft
- Intel
- AMD
- NVIDIA
- Citrix
- Tencent
- ByteDance
- Red Hat
- Palo Alto Networks
- Sophos
- BeyondTrust
- Sentry
- Thales
- ZEISS
- Philips
- Mistral AI
- and many more
WinDbg, with a conversation on top.
mcp-windbg wraps the Debugging Tools for Windows in a Model Context Protocol server. The model decides which commands to run. The debugger does the work.
- 01
Crash dump analysis
Open .dmp, .mdmp and .hdmp files or triage a whole directory. The model runs the CDB commands, reads the output and explains the root cause.
- 02
User-mode remote debugging
Attach to a remote debug server, break in, inspect, resume. Sessions carry timeouts, so a hung target never hangs your assistant.
- 03
Kernel debugging
Attach to a kernel target over KD. Drivers, bugchecks and a live kernel, through the same conversation.
- 04
Redaction and transport
Text filter hooks scrub PII and secrets before output reaches the model. Runs over stdio or streamable HTTP.
From "it crashed" to "here is why".
Install the tools, then ask.
Install WinDbg, download the signed mcp-windbg.exe and point your client at it. No Python, no package manager. Symbols resolve from the Microsoft symbol server on first use.
- Windows with WinDbg or Debugging Tools for Windows
winget install "9PGJGD53TN86" `
--accept-source-agreements --accept-package-agreements WinDbg supplies cdb.exe and kd.exe, which mcp-windbg finds automatically. Alternatively, install the Windows SDK or WDK with Debugging Tools for Windows selected. If you already have the debugging tools, skip the WinDbg install.
New-Item -ItemType Directory -Force "C:\tools" | Out-Null
Invoke-WebRequest `
"https://github.com/svnscha/mcp-windbg/releases/latest/download/mcp-windbg.exe" `
-OutFile "C:\tools\mcp-windbg.exe" The executable carries its own Python interpreter and is code signed; Get-AuthenticodeSignature C:\tools\mcp-windbg.exe should report Valid, and every release publishes a SHA256SUMS file. Prefer pip, uvx or the Claude Code plugin? Those routes are in the setup guide.
claude mcp add mcp-windbg -s user `
-e "_NT_SYMBOL_PATH=SRV*C:\Symbols*https://msdl.microsoft.com/download/symbols" `
-- "C:\tools\mcp-windbg.exe"{
"servers": {
"mcp_windbg": {
"type": "stdio",
"command": "C:\\tools\\mcp-windbg.exe",
"env": {
"_NT_SYMBOL_PATH": "SRV*C:\\Symbols*https://msdl.microsoft.com/download/symbols"
}
}
}
} > Analyze C:\dumps\app.dmp and tell me why it crashed.
open_cdb_dump C:\dumps\app.dmp
run_cdb_command !analyze -v
run_cdb_command kb
The crash is a null dereference in Renderer::Flush ... For VS Code, put the snippet in .vscode/mcp.json. Claude Desktop and Cursor take the same command with no arguments.
Ten tools, one debugger.
Every tool maps to something you would do by hand in WinDbg. Sessions carry ids, so several dumps or targets can be open at once.
-
list_dumpsList crash dump files in a directory -
open_cdb_dumpOpen and triage a crash dump -
open_cdb_remoteAttach to a user-mode remote debug server -
open_kd_sessionAttach to a kernel target -
run_cdb_commandRun a command on a user-mode session -
run_kd_commandRun a command on a kernel session -
send_ctrl_breakBreak into a running live session -
wait_for_breakWait for the target to stop after a resume -
close_cdb_sessionClose a user-mode session -
close_kd_sessionClose a kernel session
Articles.
Release notes, the story behind the project, and what AI-assisted crash analysis looks like in practice.
- Getting started with the Claude Agent SDK and mcp-windbg
Build an autonomous crash triage workflow with the Claude Agent SDK, mcp-windbg, and Markdown history.
- 🚀 New Release: mcp-windbg 1.5.1
A standalone, code signed mcp-windbg.exe for machines without Python, and a fix for remote sessions whose target is already running when you connect.
- 🚀 New Release: mcp-windbg 1.5.0
Failed opens no longer leak debugger sessions, a timed-out command on a dump gets cancelled instead of wedging the session, and completion markers are unique per session. Plus what I learned measuring six community pull requests against a real debugger.
- 🚀 New Release: mcp-windbg 1.4.0
A quick follow-up to 1.3.1: open kernel crash dumps with open_kd_dump, and load your debugger extensions automatically with init commands.
- 🚀 New Release: mcp-windbg 1.3.1
Break-in while a command runs, partial output on timeouts, and a debugger that exits is reported right away. Three of the four fixes came from the community.
- 🚀 New Release: mcp-windbg 1.3.0
The MCP server, Claude Code skills, and crash-analysis agent are now separate plugins for use with your preferred installation.
- 🚀 New Release: mcp-windbg 1.2.2
A fix for missing Unicode output on Chinese, Japanese, and Korean Windows systems.
- 🚀 New Release: mcp-windbg 1.2.0
mcp-windbg now ships as a Claude Code plugin with four debugging skills and a crash-analysis agent.
- 🚀 New Release: mcp-windbg 1.1.0
Support for the 2.x MCP SDK, a new wait_for_break tool, and fixes for 'g' freezing the machine it was supposed to release.
- 🚀 New Release: mcp-windbg 1.0.0
Kernel debugging, session IDs, and a redesigned tool surface. The first stable release.
- 🚀 New Release: mcp-windbg 0.15.0
Break into live sessions, redact sensitive output before it reaches the model, and a brand-new documentation site. A year and a month in, with 1.4k stars and a community that keeps showing up.
- 🚀 New Release: mcp-windbg 0.12.2
Adding Prompts API support and streamable-http transport to mcp-windbg.
- 🚀 New Release: mcp-windbg 0.10.0
AI-powered crash analysis gets a major upgrade with PyPI availability, live debugging sessions, and community-driven improvements. One-command installation is finally here.
- AI Meets WinDBG: A Different Way to Analyze Crashes
Because manually squinting at hex dumps is so last century. Let me show you how AI-assisted debugging is leaving WinDBG's command line in the dust.
Built in the open.
mcp-windbg is maintained on GitHub, with the release executable signed by my company, Liasoft. Stars, issues and pull requests keep it moving.
- GitHub stars
- 1.6k
- Downloads / month
- 2.3k
- License
- MIT