windbg-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@windbg-mcpanalyze crash dump and show !analyze -v output"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
windbg-mcp
MCP server that drives cdb.exe (user mode) and kd.exe (kernel mode) as subprocesses, exposing WinDbg debugging to LLM agents over the Model Context Protocol: crash dump analysis, live process debugging, and kernel debugging.
Windows only. Requires Bun ≥ 1.1 (uses
bun:ffi) and the Windows Debugging Tools (cdb.exe/kd.exe, auto-detected from the standard Windows Kits paths or the Store-installed WinDbg for Windows).
Usage
Add to your MCP client configuration:
{
"mcpServers": {
"windbg-mcp": {
"command": "bun",
"args": ["x", "windbg-mcp@latest"]
}
}
}Related MCP server: dump-analyzer-mcp-server
Tools
Tool | Purpose |
| Open a crash dump (.dmp/.mdmp/.hdmp) for analysis |
| Launch a process under cdb |
| Attach to a running process by pid or name |
| Connect kd to a kernel target (KDNET / pipe / serial) |
| Run any debugger command ( |
| List active sessions with their state |
| Break into a running target (CTRL+BREAK) |
| Search the WinDbg command catalog by keyword |
| End session, terminating the debuggee |
| End session, leaving the debuggee running |
Development
git clone https://github.com/kanren3/windbg-mcp.git
cd windbg-mcp
bun run src/index.tsReferences
Building Effective Agents — agent design patterns that motivate the tool/agent boundaries here
Model Context Protocol — the protocol this server implements
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server for debugging Windows processes using WinDbg and CDB. It enables users to attach to processes, manage breakpoints, inspect memory, and control execution flow through natural language.2
- AlicenseNot gradedqualityCmaintenanceMCP server for remote Windows Crash Dump analysis. Enables AI agents to analyze crash dumps via CDB commands through standard MCP interfaces.2MIT
- AlicenseBqualityCmaintenanceMCP server that wraps gdb to enable LLMs to drive live debugging sessions, including starting sessions on binaries, attaching to processes, and running commands.73MIT
- AlicenseNot gradedqualityAmaintenanceMCP server that exposes WinDbg/DbgEng to AI agents over stdio for user-mode, kernel-mode, crash-dump, and Time Travel Debugging workflows.7MIT
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kanren3/windbg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server