kd_connect
Attach to kernel via KDNET. Target breaks on connect.
How to use it
kd_connect is exposed by the Windbg MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the kd_connect tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Windbg MCP
pip install frida-toolsOther tools in Windbg MCP (28)
Full state overview — VM power, KD, guest ops, UMD. Always allowed.
Kill a process by PID
List running processes with PIDs
Execute command in guest OS, capture stdout/stderr
Copy file from guest to host
Copy file from host to guest
Halt running target (Ctrl+Break)
Resume target execution
Detach from kernel. Resumes target so VM keeps running.
Run any WinDbg command (k, r, lm, !process 0 0, !analyze -v, etc.)
Step one instruction (into or over)
Wait for breakpoint/exception with timeout. Always returns.
Connect to remote dbgsrv in guest
Attach to PID, run WinDbg commands, detach
dbgsrv best practices and WinDbg command reference for LLMs
Inject JS, eval expressions, list processes, detach
Attach Frida to a guest process
Frida best practices and API reference for LLMs
Time Travel Debugging — record, stop, retrieve, list traces
Query TTD traces (not yet implemented)
Freeze entire VM
Unpause a paused VM
Capture VM display as PNG
Switch the active VM target at runtime (VMX path + credentials)
List available snapshots
Restore a named snapshot (debug sessions are cleanly torn down and can reconnect after)
Power on the VM
Shut down (graceful or hard)