SetsunaYukiOvO/x64dbg-mcp

MCP server plugin for x64dbg debugger - enables AI agents and external tools to control debugging via JSON-RPC 2.0 over HTTP/SSE

What it solves

This project provides a bridge between the x64dbg/x32dbg debuggers and AI agents. It allows external applications and LLMs to programmatically control a debugger, perform reverse engineering tasks, and analyze binary execution in real-time using a standardized protocol.

How it works

It implements a Model Context Protocol (MCP) server as a plugin for x64dbg and x32dbg. The plugin starts an HTTP server (supporting JSON-RPC 2.0 and SSE) that exposes the debugger's internal functions as a set of AI-invokable tools, resources, and prompts. This enables AI agents to read memory, modify registers, manage breakpoints, and analyze stack traces through a language-agnostic interface.

Who it’s for

  • Reverse Engineers: To automate tedious debugging workflows and vulnerability hunting.
  • Security Researchers: For binary unpacking and algorithm reversing.
  • AI Developers: Who want to integrate low-level system debugging capabilities into AI agents or IDEs like Cursor.

Highlights

  • Extensive Toolset: 79 AI-invokable functions covering execution control, memory/register access, and thread management.
  • Dual Architecture Support: Fully compatible with both x64 and x86 architectures.
  • Standardized Protocol: Complies with the latest MCP specifications, including streamable HTTP transport.
  • Workflow Templates: Includes 10 pre-defined prompts for common tasks like crash analysis and code patching.
  • Security Hardening: Features permission-based access control, CORS support, and protection against command injection and path traversal.

Related

  • Project
  • Project
  • Project
  • Project
  • Project