W
Windbg MCP Rs
by @kanren3
MCP server by kanren3
Created 3/13/2026
Updated about 19 hours ago
README
Repository documentation and setup instructions
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
- Use the server from any MCP client over Streamable HTTP
Screenshots


Quick Start
1. Build the DLL
cargo build --release
2. Load it in WinDbg
.load path\to\windbg_mcp_rs.dll
3. Start the MCP server
!mcp serve 127.0.0.1:50051
The MCP endpoint will be:
http://127.0.0.1:50051/mcp
4. Connect your MCP client
Point your client to:
http://127.0.0.1:50051/mcp
WinDbg Commands
Use !mcp help to list all plugin commands.
Common ones:
!mcp help
!mcp serve 127.0.0.1:50051
!mcp status
!mcp stop
What MCP Exposes
Resources: static WinDbg command documentationTools: executable debugger actions such as raw command execution, catalog search, and target interruptPrompts: guidance templates for using documented WinDbg commands
Pure UI shortcut topics remain available as documentation, but they are not exposed as executable MCP tools.
Development
cargo check
cargo test
Notes
- This project was written entirely with a Vibe Coding workflow
- The server runs inside the WinDbg process
- The runtime does not parse
docs/debugger.chm; it uses the prebuilt static catalog insrc/command_catalog.json - The transport is Streamable HTTP
- Set your MCP client timeout as high as possible, because some WinDbg operations can take a long time to finish
Quick Setup
Installation guide for this server
Installation Command (package not published)
git clone https://github.com/kanren3/windbg-mcp-rs
Manual Installation: Please check the README for detailed setup instructions and any additional dependencies required.
Cursor configuration (mcp.json)
{
"mcpServers": {
"kanren3-windbg-mcp-rs": {
"command": "git",
"args": [
"clone",
"https://github.com/kanren3/windbg-mcp-rs"
]
}
}
}