Skip to main content
Glama

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 — plus a searchable 288-entry WinDbg command reference.

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).

Usage

Add to your MCP client configuration:

{
  "mcpServers": {
    "windbg-mcp": {
      "command": "bunx",
      "args": ["windbg-mcp"]
    }
  }
}

Related MCP server: pwndbg-lldb-mcp

Tools

Tool

Purpose

windbg_open_dump

Open a crash dump (.dmp/.mdmp/.hdmp) for analysis

windbg_open_executable

Launch a process under cdb

windbg_attach_process

Attach to a running process by pid or name

windbg_attach_kernel

Connect kd to a kernel target (KDNET / pipe / serial)

windbg_execute_command

Run any debugger command (kb, lm, !analyze -v, …)

windbg_sessions

List sessions with state (ready_for_commands)

windbg_interrupt_target

Break into a running target (CTRL+BREAK)

windbg_search_commands

Search the WinDbg command catalog by keyword

windbg_close

End session, terminating the debuggee

windbg_detach

End session, leaving the debuggee running

Development

git clone https://github.com/kanren3/windbg-mcp.git
cd windbg-mcp
bun run src/index.ts
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • Local-first RAG engine with MCP server for AI agent integration.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

Latest Blog Posts

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