JM

john-mayhem/x32dbgmcp

Developer tools

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

11 stars 3 forks Качество 62 Тренд 18

Give Claude direct access to through natural language!

Обзор

Give Claude direct access to through natural language! This project connects x32dbg (Windows debugger) to Claude AI through the Model Context Protocol (MCP). You can: - Debug programs using natural language - Ask Claude to analyze functions, find crypto, set breakpoints - Get real-time debugging context and assistance - Automate reverse engineering workflows - installed (download here) - (download here) - with C++ support (for compiling plugin) - or (VSCode extension) Just double-click build.bat - it handles everything! The compiled plugin will be at: build/MCPx64dbg.dp32 Copy the plugin to your x32dbg plugins folder: ⚠️ Claude Desktop and Claude Code (VSCode) use !

README

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

x32dbg MCP Server

Full-Featured Model Context Protocol (MCP) server for x32dbg debugger

Give Claude direct access to 48+ comprehensive x32dbg debugging capabilities through natural language!


🎯 What is This?

This project connects x32dbg (Windows debugger) to Claude AI through the Model Context Protocol (MCP). You can:

  • Debug programs using natural language
  • Ask Claude to analyze functions, find crypto, set breakpoints
  • Get real-time debugging context and assistance
  • Automate reverse engineering workflows

🚀 Quick Start

Prerequisites

  • x32dbg installed (download here)
  • Python 3.8+ (download here)
  • Visual Studio 2019+ with C++ support (for compiling plugin)
  • Claude Desktop or Claude Code (VSCode extension)

Installation

1. Build the Plugin

Just double-click build.bat - it handles everything!

# OR manually:
cmake -S . -B build32 -A Win32 -DBUILD_BOTH_ARCHES=OFF
cmake --build build32 --config Release

The compiled plugin will be at: build/MCPx64dbg.dp32

2. Install the Plugin

Copy the plugin to your x32dbg plugins folder:

C:\Program Files\x64dbg\release\x32\plugins\MCPx64dbg.dp32

3. Setup Python MCP Server

# Install dependencies
pip install mcp requests

# Test the server
python mcp_server.py

4. Configure Your Claude App

Console:


claude mcp add x32dbg python C:\Tools\mcp_server.py --transport stdio --env X64DBG_URL=http://127.0.0.1:8888

⚠️ IMPORTANT: Claude Desktop and Claude Code (VSCode) use different configuration files!

Option A: Claude Desktop (Standalone App)

Edit: %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (Mac/Linux)

{
  "mcpServers": {
    "x32dbg": {
      "command": "python",
      "args": ["C:\\path\\to\\x64dbgMCP\\mcp_server.py"],
      "env": {
        "X64DBG_URL": "http://127.0.0.1:8888",
        "X64DBG_TIMEOUT": "30"
      }
    }
  }
}
Option B: Claude Code (VSCode Extension) ⭐ You’re probably using this!

Create .vscode/settings.json in your workspace:

{
  "claude.mcpServers": {
    "x32dbg": {
      "command": "python",
      "args": ["C:\\path\\to\\x64dbgMCP\\mcp_server.py"],
      "env": {
        "X64DBG_URL": "http://127.0.0.1:8888",
        "X64DBG_TIMEOUT": "30"
      }
    }
  }
}

Then restart VSCode completely!


✅ Verify Installation

  1. Start x32dbg
  2. Check plugin loaded: Press ALT+L to open logs, you should see:
    [MCP] Plugin loading...
    [MCP] HTTP server started on port 8888
    
Открыть полный README на GitHub

Установка

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

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

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

{ "mcpServers": { "x32dbg": { "command": "python", "args": ["C:\\path\\to\\x64dbgMCP\\mcp_server.py"], "env": { "X64DBG_URL": "http://127.0.0.1:8888", "X64DBG_TIMEOUT": "30" } } } }