windbg_attach_kernel
Connect kd to a kernel target (KDNET / pipe / serial)
How to use it
Project documentation lists windbg_attach_kernel for the Windbg MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Windbg MCP
npx -y windbg-mcp@latestOther tools in Windbg MCP (9)
Attach to a running process by pid or name
End session with q — closes the user-mode target (a kernel target stays locked)
End session with qd — detaches and leaves a live user-mode or kernel target running
Run any debugger command (kb, lm, !analyze -v, …)
Break into a running target (CTRL+BREAK)
Open a crash dump (.dmp/.mdmp/.hdmp) for analysis
Launch a process under cdb
Search the WinDbg command catalog by keyword
List active sessions with their state