W
Windbg MCP Rs
作者 @kanren3
MCP server by kanren3
创建于 3/13/2026
更新于 2 days 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
快速设置
此服务器的安装指南
安装命令 (包未发布)
git clone https://github.com/kanren3/windbg-mcp-rs
手动安装: 请查看 README 获取详细的设置说明和所需的其他依赖项。
Cursor 配置 (mcp.json)
{
"mcpServers": {
"kanren3-windbg-mcp-rs": {
"command": "git",
"args": [
"clone",
"https://github.com/kanren3/windbg-mcp-rs"
]
}
}
}