GW

gengstah/windbg-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

97 stars 9 forks Качество 59 Тренд 0

gengstah/windbg-mcp - кандидат на сервер MCP, импортированный из https://github.com/gengstah/windbg-mcp.

Обзор

gengstah/windbg-mcp - кандидат на сервер MCP, импортированный из https://github.com/gengstah/windbg-mcp.

Обзор (машинный перевод)

Сервер MCP (Model Context Protocol), который отображает каждый отладчик pybag Windows Работает как нативный инструмент MCP. Это дает любой MCP-совместимый клиент (Claude Desktop). Claude Code, Cowork, OpenAI Codex CLI, Cursor и пользовательские агенты - полный контроль процессы пользовательского режима, сессии ядра и анализ аварийного сброса - все через типизированный Инструменты вызовов со структурированными ответами JSON.

Требования

Windows only — pybag требует отладки Microsoft для Windows Python 3.10+ Инструменты отладки Microsoft для Windows (часть Windows SDK)

##Установка

###1.Клонировать репозиторий

###2 Установка зависимостей Python

###3 Установите инструменты отладки Microsoft

Загрузите Windows SDK и выберите ** Инструменты отладки для Windows** во время настройки: [[Т0]]

Подключение к LLM IDE и клиентам

Сервер работает как локальный процесс. Все клиенты ниже запускают его таким же образом. [[Т1]] — но у каждого свой формат конфигураций.

###Клод Десктоп

Отредактируйте файл конфигурации Claude Desktop и добавьте запись windbg-mcp:

** Расположение файла конфигурирования**

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

WinDbg MCP

An MCP (Model Context Protocol) server that exposes every pybag Windows debugger function as a native MCP tool. It gives any MCP-compatible client (Claude Desktop, Claude Code, Cowork, OpenAI Codex CLI, Cursor, and custom agents) full control over user-mode processes, kernel sessions, and crash dump analysis — all through typed tool calls with structured JSON responses.


Requirements

  • Windows only — pybag requires Microsoft Debugging Tools for Windows
  • Python 3.10+
  • Microsoft Debugging Tools for Windows (part of the Windows SDK)

Installation

1. Clone the repository

git clone https://github.com/your-username/windbg-mcp.git
cd windbg-mcp

2. Install Python dependencies

pip install pybag mcp

3. Install Microsoft Debugging Tools

Download the Windows SDK and select Debugging Tools for Windows during setup: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/


Connecting to LLM IDEs and Clients

The server runs as a local stdio process. All clients below launch it the same way — python /windbg_mcp.py — but each has its own config format.


Claude Desktop

Edit the Claude Desktop configuration file and add the windbg-mcp entry:

Config file location:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "windbg-mcp": {
      "command": "python",
      "args": ["C:\\path\\to\\windbg-mcp\\windbg_mcp.py"]
    }
  }
}

Restart Claude Desktop. All 55 debugger tools will appear automatically.


Claude Code (CLI)

Run the following command once to register the server. Claude Code stores the entry in its own MCP config and makes the tools available in every subsequent session.

claude mcp add windbg-mcp python C:\path\to\windbg-mcp\windbg_mcp.py

To verify the server was registered:

claude mcp list

To remove it later:

claude mcp remove windbg-mcp

Claude Cowork

There are two ways to add WinDbg MCP to Cowork: via JSON configuration (quick) or by installing it as a .mcpb plugin bundle (portable, shareable).

Option A — JSON Configuration

  1. Open the Claude desktop app and go to Settings → MCP Servers.
  2. Click Add Server and paste the following:
{
  "windbg-mcp": {
    "command": "python",
    "args": ["C:\\path\\to\\windbg-mcp\\windbg_mcp.py"]
  }
}
  1. Save and restart Cowork. The tools will be available in your next session.

Option B — Install as a .mcpb Plugin Bundle

A .mcpb file is a zip archive of the plugin directory that Cowork can install directly. This is the recommended approach when sharing the server with a team or across machines.

Step 1 — Build the .mcpb file

From the root of the cloned repository, run:

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "windbg-mcp": { "command": "python", "args": ["C:\\path\\to\\windbg-mcp\\windbg_mcp.py"] } } }