windbg-mcp: Instructions file for Claude Code

CLAUDE.md

windbg-mcp CLAUDE.md is an instructions file for Claude Code from memoryforensics1/windbg-mcp. It costs 1,657 tokens per session, scanned A, original, MIT.

A set of project instructions for building and running WinDbgMCP, an MCP server that controls a Windows virtual machine and supports software and kernel debugging. It documents the required .NET commands, project structure, and configuration details.

In plain words
What is it for?
Use it when compiling, launching, testing, or changing the WinDbgMCP server and its Windows virtual-machine debugging features.
Why use it?
It gives the agent the exact build, run, and test instructions for a complex Windows debugging project.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is memoryforensics1/windbg-mcp's own configuration. It tells Claude Code how to work on windbg-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything windbg-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to memoryforensics1/windbg-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/memoryforensics1/windbg-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/memoryforensics1/windbg-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for windbg-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/memoryforensics1/windbg-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/memoryforensics1/windbg-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/memoryforensics1/windbg-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/memoryforensics1/windbg-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for windbg-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/memoryforensics1/windbg-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/memoryforensics1/windbg-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,657 This file is loaded in full into every session.
When invoked 1,657 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01657 $0.01657
Opus 5.5 $0.00663 $0.00663
Sonnet 5.5 $0.00331 $0.00331
Haiku 4.5 $0.00166 $0.00166

Measured 2mo ago against content hash beb86a5ce0ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

windbg-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WinDbgMCP — C# MCP Server for Windows VM Control & Kernel Debugging

What This Is

A single C# (.NET 8) MCP server that gives an LLM agent complete control over a Windows VM: VM lifecycle, kernel debugging (DbgEng COM), guest execution (vmrun), and user-mode debugging (Frida/dbgsrv/TTD).

Build & Run

# Build
dotnet build src/WinDbgMCP.Server/WinDbgMCP.Server.csproj

# Run (stdio mode — used by MCP clients)
dotnet run --project src/WinDbgMCP.Server/WinDbgMCP.Server.csproj

# Run tests
dotnet test src/WinDbgMCP.Tests/WinDbgMCP.Tests.csproj

dotnet is at: C:\Program Files\dotnet\dotnet.exe If not in PATH, use: "/c/Program Files/dotnet/dotnet.exe" from bash.

Project Structure

src/WinDbgMCP.Server/
├── Program.cs                    # Entry point, MCP server setup, DI
├── appsettings.json              # VM creds, KDNET config, timeouts
├── Configuration/
│   └── ServerConfig.cs           # Configuration model classes
├── State/
│   ├── SystemState.cs            # State model + enums
│   ├── StateCoordinator.cs       # Precondition gate (heart of system)
│   ├── ErrorMessages.cs          # LLM-friendly error catalog
│   └── ToolResult.cs             # Result type
├── Vmware/
│   ├── VmwareManager.cs          # vmrun wrapper (all VM operations)
│   └── ProcessResult.cs          # vmrun result types
├── KernelDebug/
│   ├── DbgEngThread.cs           # Dedicated MTA thread for COM
│   ├── DbgEngManager.cs          # Kernel debug session manager
│   ├── DebugEventCallbacks.cs    # Debug event capture
│   ├── OutputCapture.cs          # Command output capture
│   ├── Interop/
│   │   ├── Constants.cs          # Blocked commands, HRESULT values
│   │   └── NativeMethods.cs      # P/Invoke for dbgeng.dll
│   └── Models/
│       └── DebugEvent.cs         # Debug event model
├── Guest/
│   ├── GuestExecManager.cs       # Guest command execution + file transfer
│   └── Models/
│       └── GuestCommandResult.cs # Command result model
├── UserModeDebug/
│   ├── FridaManager.cs           # Frida CLI wrapper
│   ├── DbgsrvManager.cs          # Remote user-mode debugging
│   └── TtdManager.cs             # Time Travel Debugging
└── Tools/
    ├── VmTools.cs                # vm_* tools (7)
    ├── VmScreenshotTool.cs       # vm_screenshot
    ├── KernelDebugTools.cs       # kd_* tools (7)
    ├── GuestTools.cs             # guest_* tools (5)
    ├── UserModeDebugTools.cs     # umd_* tools (8)
    └── MetaTools.cs              # get_system_state (1)

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 147 lines · 1,657 tokens per session scan A beb86a5ce0ea

Subscribe to this mod's changes

windbg-mcp CLAUDE.md is an instructions file published in the GitHub repository memoryforensics1/windbg-mcp (47 stars, last pushed 29d ago), licensed MIT. It adds 1,657 tokens to every session, about $0.0066 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

windbg-mcp CLAUDE.md compared with instructions from other repositories

windbg-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
windbg-mcp CLAUDE.mdmemoryforensics1/windbg-mcpInstructions file4729d agoMITA1,657Claude Code
plan-forge api-patterns.instructions.mdsrnichols/plan-forgeInstructions file63d agoMITA2,049GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot