
florentinojink/mcp-windbg
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Model Context Protocol for WindDbg, implementation by rust
개요
A Model Context Protocol (MCP) server for Windows debugging — crash dump analysis, remote debugging, and direct program debugging via CDB. Built with Rust and Tokio for async I/O. Ships as a single executable with no runtime dependencies. - — Open .dmp files, auto-run !analyze -v, inspect threads, modules, and stack traces - — Connect to remote debug sessions via connection strings - — Launch executables under CDB, set breakpoints, step through code, inspect variables - — Multiple concurrent debug sessions with automatic reuse - — Separate timeouts for initialization (symbol loading) and command execution - Windows 10+ - Debugging Tools for Windows (provides cdb.exe) If CDB is not installed, you can get it via: The server auto-discovers CDB from Windows SDK default paths, WinDbg Preview (Microsoft Store), and PATH. Binary: target/release/mcp-windbg-rs.exe Launch a program, set breakpoints, step through code:
README
원문 README의 일부입니다. 원문 보기.
mcp-windbg-rs
中文文档 | English
A Model Context Protocol (MCP) server for Windows debugging — crash dump analysis, remote debugging, and direct program debugging via CDB.
Built with Rust and Tokio for async I/O. Ships as a single executable with no runtime dependencies.
Features
- Crash dump analysis — Open
.dmpfiles, auto-run!analyze -v, inspect threads, modules, and stack traces - Remote debugging — Connect to remote debug sessions via connection strings
- Direct program debugging — Launch executables under CDB, set breakpoints, step through code, inspect variables
- Session management — Multiple concurrent debug sessions with automatic reuse
- Configurable timeouts — Separate timeouts for initialization (symbol loading) and command execution
Prerequisites
- Windows 10+
- Debugging Tools for Windows (provides
cdb.exe)
If CDB is not installed, you can get it via:
winget install Microsoft.WinDbg
The server auto-discovers CDB from Windows SDK default paths, WinDbg Preview (Microsoft Store), and PATH.
Installation
From source
cargo build --release
Binary: target/release/mcp-windbg-rs.exe
Configuration
VS Code / Kiro
.vscode/mcp.json:
{
"servers": {
"mcp-windbg": {
"type": "stdio",
"command": "/path/to/mcp-windbg-rs.exe",
"args": [],
"env": {
"_NT_SYMBOL_PATH": "SRV*C:\\Symbols*https://msdl.microsoft.com/download/symbols"
}
}
}
}
Claude Desktop / Cline / Other MCP Clients
{
"mcpServers": {
"mcp-windbg-rs": {
"command": "mcp-windbg-rs",
"args": [],
"env": {
"_NT_SYMBOL_PATH": "SRV*C:\\Symbols*https://msdl.microsoft.com/download/symbols"
}
}
}
}
Environment Variables
| Variable | Description | Default |
|---|---|---|
CDB_PATH |
Custom path to cdb.exe |
Auto-discovered |
_NT_SYMBOL_PATH |
Debug symbol search path | — |
_NT_SOURCE_PATH |
Source file search path | — |
MCP_WINDBG_TIMEOUT |
Command timeout (seconds) | 30 |
MCP_WINDBG_INIT_TIMEOUT |
Init timeout for dump/symbol loading (seconds) | 120 |
MCP_WINDBG_VERBOSE |
Verbose logging (true/false) |
false |
CLI Options
mcp-windbg-rs [OPTIONS]
--timeout Command execution timeout (default: 30)
--init-timeout Initialization timeout (default: 120)
--verbose Enable verbose logging
Tools
| Tool | Description |
|---|---|
open_windbg_dump |
Open and analyze a crash dump file |
open_windbg_remote |
Connect to a remote debugging session |
launch_debug |
Launch a program under CDB for debugging |
run_windbg_cmd |
Execute any WinDbg/CDB command in a session |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"mcp-windbg-rs": {
"command": "mcp-windbg-rs",
"args": [],
"env": {
"_NT_SYMBOL_PATH": "SRV*C:\\Symbols*https://msdl.microsoft.com/download/symbols"
}
}
}
}