x64dbgMCP
An MCP server that connects LLMs with the x64dbg debugger, enabling natural language control over debugging functions.
x64dbg MCP
Features (Build from Source for Latest)
- 40+ x64dbg SDK Tools - Provides access to almost every single debugging feature given by the SDK for smart debugging.
- Cross-Architecture Support - Works with both x64dbg and x32dbg.
- API Compatibility - Runable from cmd using the args given in the python file.
Quick Setup in 3 Steps
- Download Plugin
- Grab .dp64 or .dp32 from this repo's build/release directory
- Copy to your local: [x64dbg_dir]/release/x64/plugins/
- Configure Claude Desktop
- Copy x64dbgmcp.py from this repos src directory, ensure to
pip install mcp requests - Update local claude_desktop_config.json with path to x64dbgmcp.py
{
"mcpServers": {
"x64dbg": {
"command": "Path\\To\\Python",
"args": [
"Path\\to\\x64dbg.py"
]
}
}
}
- Start Debugging
- Launch x64dbg
- Start Claude Desktop
- Check plugin loaded successfully (ALT+L in x64dbg for logs)
Build from Source for Latest Features!
** CMake and MSVC should be installed and on PATH **- git clone https://github.com/wasdubya/x64dbgmcp
- cd x64dbgmcp
- cmake -S . -B build (will resolve the pluginsdk automatically, so no need to worry about dependencies.)
- cmake --build build --target all_plugins --config Release (will build both 32 and 64 bit versions of the plugin)
TIP
- Use the --target all_plugins argument to specify both x32 and x64, otherwise use -A flag to distinguish between either x64 or Win32 build. For example 32 bit build would be:
- cmake -S . -B build32 -A Win32 -DBUILD_BOTH_ARCHES=OFF
- cmake --build build32 --config Release
Usage Examples
Register inspection:
"What's the current value of RAX and RIP registers?"
Pattern searching:
"Find the pattern '48 8B 05' in the current module"
Example from Cursor
More Usage
- If you do not provide the model you are working with context of where your exe is, it wont have the capabiltiy to restart the binary if it crashes or hangs. So, provide it with the full path of the binary so it can call the CMDEXEC function like "init C:\Absolute\Path\to\EXE".
- GetModuleBase is the best place to start for models so it will query for the right addresses, x64dbg will not respond to addresses out of range.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Server Executable
An executable server for running MCP services, featuring tool chaining, multi-service management, and plugin support.
Code Knowledge Tool
A knowledge management tool for code repositories using vector embeddings, powered by a local Ollama service.
MCP Invoice Express
An MCP server for integrating with the InvoiceExpress API.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
Lerian MCP Server
Provides educational content, model information, and read-only API interactions for Lerian developers.
Mermaid MCP Server
Converts Mermaid diagrams to PNG or SVG images.
MCP Game Development Server
Automate game creation using React Three Fiber and manage projects with Linear integration.
Quantum Computation
Perform quantum computations using OpenAI and IBM Quantum APIs.
maximumsats-mcp
Bitcoin Lightning + Nostr Web-of-Trust tools for agents (L402 pay-per-call endpoints)
Model Context Protocol (MCP)
Interact with Gibson projects to create/update projects, explain database/API interactions, and write code within your IDE.