Windbg Mcp Rs banner
kanren3 kanren3

Windbg Mcp Rs

AI community

Description

A WinDbg plugin that turns the current debugging session into an MCP server for command docs, debugger actions, and AI-assisted analysis.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

windbg-mcp-rs

`windbg-mcp-rs` is a pure WinDbg extension DLL that exposes the current debugging session as an MCP server.

  • Read official WinDbg command documentation extracted from docs/debugger.chm
  • Execute WinDbg commands through dbgeng
  • Interrupt a running target from MCP
  • **Alternative — windbg-mcp (headless, stdio)**: a sibling project that drives cdb.exe/kd.exe as subprocesses. No WinDbg GUI required, multi-session, auto-detects installed Windows Debugging Tools.

Screenshots

![WinDbg MCP plugin screenshot 1](images/1.png)

![WinDbg MCP plugin screenshot 2](images/2.png)

Quick Start

1. Install the released extension

**One-liner (recommended):**

irm https://raw.githubusercontent.com/kanren3/windbg-mcp-rs/master/scripts/install.ps1 | iex

This downloads the latest release from GitHub and installs to all discovered WinDbg locations. Run as **Administrator** to install to SDK debugger paths.

2. Build the DLL (developers)

# x64 (default)
cargo build --release --target x86_64-pc-windows-msvc

# x86 / 32-bit WinDbg
rustup target add i686-pc-windows-msvc
cargo build --release --target i686-pc-windows-msvc

# ARM64
rustup target add aarch64-pc-windows-msvc
cargo build --release --target aarch64-pc-windows-msvc

Release tags publish one architecture-specific archive for every supported WinDbg engine:

WinDbg architecture Rust target Release suffix Store DLL destination
x86 i686-pc-windows-msvc windows-x86.zip EngineExtensions32\windbg_mcp_rs.dll
x64 x86_64-pc-windows-msvc windows-x64.zip EngineExtensions\windbg_mcp_rs.dll
ARM64 aarch64-pc-windows-msvc windows-arm64.zip EngineExtensions\windbg_mcp_rs.dll

The checked-in gallery manifest remains architecture-neutral (`Architecture="Any"`). The installer generates Store-only absolute entries for the architectures actually inst