MCP Windbg logo

MCP Windbg

Analyze Windows user-mode and kernel dumps, attach to debug targets, and run WinDbg commands through MCP.

Install MCP Windbg

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-windbg": {
      "command": "uvx",
      "args": [
        "mcp-windbg"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-windbg

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 17d ago.

Overview

mcp-windbg connects MCP clients to the headless Windows debuggers CDB and KD for crash-dump analysis, user-mode remote debugging, and kernel debugging. It exposes tools for opening sessions, running debugger commands, breaking into live targets, and managing session IDs. Use it for individual dump investigation, multi-dump triage, live debugging, or remote operation through streamable HTTP. The server runs on Windows and supports optional filtering of tool arguments and output before they leave the host.

Use cases

  • Analyze user-mode crash dumps
  • Triage multiple dumps for common signatures
  • Inspect a live user-mode process remotely
  • Debug kernel crashes and driver failures
  • Drive a Windows debugger over HTTP

Key features

  • CDB and KD crash-dump analysis
  • User-mode remote debugging
  • Kernel debugging over KDNET, named pipe, or serial
  • Arbitrary WinDbg and KD command execution
  • Concurrent sessions addressed by session ID
  • Optional redaction filter for tool data

Tools11

What MCP Windbg lets your agent do. Expand a tool for its parameters.

Self-reported~156 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

43/43 checks healthy over the last 63d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · mcp-windbg (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.7kStargazers on the source repository.
Last commit12d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed11Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Windbg works

What mcp-windbg does

mcp-windbg gives an MCP client access to CDB and KD without opening the WinDbg graphical interface. CDB handles user-mode crash dumps and connections to user-mode remote debug servers, while KD handles kernel targets and kernel crash dumps.

For crash analysis, the server can open .dmp, .mdmp, and .hdmp files and perform initial triage covering areas such as analysis output, stacks, modules, and threads. It can also enumerate dump files in a directory, making it suitable for comparing several reports and looking for a recurring signature.

Live debugging uses explicit sessions. Each open operation returns an opaque session ID, allowing multiple dump, remote, and kernel sessions to remain available at the same time. The ID is passed to later commands and lifecycle operations.

How it works

The server launches cdb.exe for user-mode work and kd.exe for kernel work. MCP tool calls translate into debugger operations, while the resulting text is returned for the client or model to interpret. Arbitrary WinDbg or KD commands can be sent to an active session, including commands such as stack, module, process, and heap inspection commands.

User-mode remote connections use CDB’s -remote mode and can target TCP, named-pipe, or COM endpoints. Kernel sessions use KD’s -k mode with KDNET, named-pipe, or serial transport. A live target can be interrupted with send_ctrl_break; after resuming it with g, wait_for_break waits for the next stop. Closing a kernel session resumes the target machine.

Long-running live commands have per-call timeouts. When a command exceeds its timeout, the server uses CTRL+BREAK to interrupt it and resynchronize the session rather than leaving it wedged.

The service can communicate locally over stdio or run as a streamable-HTTP endpoint for clients operating from another machine. A filter script can redact PII or secrets from tool arguments and output before that data leaves the debugging host.

Setup and configuration

Run the server on Windows with Microsoft Debugging Tools for Windows or WinDbg from the Microsoft Store. These packages provide cdb.exe and kd.exe, which the server detects automatically. The package requires Python 3.10 or newer when installed directly.

A direct installation uses the mcp-windbg package from PyPI, followed by registering a command such as python -m mcp_windbg with the MCP client. The example configuration sets _NT_SYMBOL_PATH to a local symbol cache backed by Microsoft’s symbol server. Alternatively, the Claude Code plugin can launch the package through uvx; that route requires uv and avoids a separate package installation.

The server can be used with Claude Code, GitHub Copilot, Claude Desktop, Cursor, Windsurf, Cline, and other MCP-compatible clients. Optional Claude Code skills provide guided workflows for dump analysis, remote debugging, kernel debugging, and diagnostics, while an optional crash-analyst agent is also available.

Tools and capabilities

  • list_dumps finds crash-dump files in a directory.
  • open_cdb_dump and open_kd_dump open and triage user-mode and kernel dumps.
  • open_cdb_remote connects to a user-mode remote debug server.
  • open_kd_session attaches to a live kernel target.
  • run_cdb_command and run_kd_command execute commands in the matching session type.
  • close_cdb_session and close_kd_session release sessions.
  • send_ctrl_break interrupts a running live session.
  • wait_for_break waits for a resumed target to stop again.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Windbg

mcp-windbg is an MCP server that connects AI clients to Windows CDB and KD debuggers. Its main tools open and triage user-mode or kernel crash dumps, attach to remote or live kernel targets, run WinDbg commands, manage debugging sessions, and control break and resume operations.

Install the mcp-windbg package with Python 3.10 or newer, then register `python -m mcp_windbg` with your MCP client. Windows must also have Debugging Tools for Windows or WinDbg installed so the server can find `cdb.exe` and `kd.exe`. Claude Code can alternatively launch it through the uvx plugin.

mcp-windbg uses `cdb.exe` for user-mode dumps and remote user-mode debugging, and `kd.exe` for kernel sessions and kernel crash dumps. Both executables are supplied by Debugging Tools for Windows or WinDbg.

Yes, mcp-windbg can list dump files in a directory and open them for triage. Multiple sessions can remain open concurrently, allowing an MCP client to inspect and compare dumps independently.

Yes, mcp-windbg works with Cursor as an MCP-compatible client. It can run locally over stdio or be exposed as a streamable-HTTP service for access from another machine.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Windbg AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-windbg?style=directory)](https://allmcps.com/mcp/mcp-windbg)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-windbg"><img src="https://allmcps.com/api/badge/mcp-windbg?style=directory" alt="MCP Windbg on AllMCPs" /></a>