Skip to content

Windbg MCP

MCP server exposing WinDbg/DbgEng (live user-mode, kernel, crash dumps, Time Travel Debugging) to AI agents over stdio or over HTTP with --listen

Install: git clone https://github.com/glslang/windbg-mcp

Works with Claude Code, Codex · 16 GitHub stars

Install

$git clone https://github.com/glslang/windbg-mcp

Install command taken from the project's README or registry entry. Always review code before running it.

windbg-mcp

An MCP server that exposes WinDbg/DbgEng to AI agents (Claude Code, Claude Desktop, Cursor, …) — over stdio, or over HTTP with --listen, which serves the same tools to clients that are not on the machine DbgEng runs on. It drives a live debugger engine for user-mode, kernel-mode, crash-dump, and Time Travel Debugging (TTD) workflows — and reads a VBS guest's Secure Kernel (VTL1) out of a Hyper-V checkpoint or controls selected VPs in an exact disposable VBS VM through operator-supplied providers.

The low-level engine bindings live in dbgscope (src/dbgeng.rs); this crate adds process-per-session engine supervision and the rmcp tool surface on top.

Documentation

This file is the map. Each topic is one document, and each document is the whole of that topic.

Install and engine setup Requirements, prebuilt binaries, Scoop, and the one-time WinDbg engine copy that TTD replay, !analyze, the driver tools and 32-bit .NET SOS need
Use with an MCP client Client config, running the server on another machine (--listen), the Claude Code plugin, the MCP registry
Architecture Why a supervisor process and one engine worker per session, what each source file owns, and which MCP revisions are served
The tool surface Serving fewer tools with --tools, what a typed operand may contain, and how the control-flow and TTD tools behave
Sessions and session handles session_id routing, the four-session cap, interrupt, progress notifications, and recovering a parked attach
Kernel connection profiles Keeping a KDNET debug key out of tool arguments and out of the client's transcript
Hypervisor debugging Attach to the Microsoft hypervisor through KDNET, with target identity, limitations, and a separate live test
Secure Kernel research Capture inspection, live VTL1 reads, the initialized kernel stop/step result, and the operator-provider control contract
Structured results Which tools answer with structuredContent, what each carries, and the error categories a caller can branch on
Transactional batches debug_batch: a mutating sequence whose cleanup runs on every path it can be aimed at, including a timeout or a disconnect
Walking a structure walk_memory: lists, arrays and chains where an unreadable node is a row rather than the end of the walk
Session transcripts WINDBG_MCP_TRANSCRIPT: a JSONL record of every call, what is redacted, and rendering one as an asciicast
Limitations & notes The honest edges — TTD is user-mode only, static reachability is best-effort, pool walks need a stopped x64 kernel and heap walks a stopped x64 or ARM64 process
Walkthroughs Worked sessions end to end: crash-dump triage, TTD, a Flare-On solve, driver IOCTL surfaces
The local-model eval A grid of model × tool surface × context window against a verified answer key: what a laptop-sized model can drive, and the two defects it found in this server

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection, all without a single pixel of video.

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex…

Never stop coding. Free MIT AI gateway: one endpoint, 359 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex…

Explore related