x64dbg MCP
Model Context Protocol for x64dbg & x32dbg
What is x64dbg MCP?
x64dbg MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol for x64dbg & x32dbg
Model Context Protocol for x64dbg & x32dbg
This server falls under the Security category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Model Context Protocol for x64dbg & x32dbg
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx x64dbgmcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use x64dbg MCP
x64dbg MCP is a Model Context Protocol plugin and Python bridge that connects AI assistants such as Claude directly to the x64dbg and x32dbg debuggers on Windows. It exposes over 40 SDK-level tools covering register inspection, memory reads and writes, breakpoint management, disassembly, pattern searching, and more, enabling AI-assisted reverse engineering of native Windows binaries without leaving the debugger.
Prerequisites
- Windows OS with x64dbg or x32dbg installed
- Python 3.10+ installed and on PATH
- pip packages: mcp and requests (`pip install mcp requests`)
- CMake and MSVC (Visual Studio build tools) for building the plugin from source
- Claude Desktop or another MCP-compatible client
Install the x64dbg plugin
Download the pre-built `.dp64` (for x64dbg) or `.dp32` (for x32dbg) plugin binary from the repository's Releases page and copy it into the plugins directory of your x64dbg installation.
# Copy to x64dbg plugins directory
copy x64dbgMCP.dp64 "C:\x64dbg\release\x64\plugins\"Install Python dependencies
The MCP bridge runs as a Python script that communicates with both the plugin (over HTTP) and the MCP client. Install the required packages.
pip install mcp requestsClone the repository to get the Python bridge
Clone the repo to obtain the `x64dbg.py` bridge script which Claude will run as the MCP server process.
git clone https://github.com/Wasdubya/x64dbgMCP.gitConfigure Claude Desktop
Add the x64dbg MCP server to Claude Desktop's configuration file, pointing to your Python executable and the cloned `x64dbg.py` script.
{
"mcpServers": {
"x64dbg": {
"command": "C:\\Python311\\python.exe",
"args": ["C:\\path\\to\\x64dbgMCP\\x64dbg.py"]
}
}
}Launch x64dbg then Claude Desktop
Start x64dbg first so the plugin HTTP server is running, then launch Claude Desktop. Verify the plugin loaded by opening the x64dbg log (ALT+L) and checking for the MCP plugin message.
# In x64dbg: press ALT+L to open the log window
# Look for: [x64dbgMCP] Plugin loaded, listening on http://localhost:...x64dbg MCP Examples
Client configuration
Claude Desktop config pointing to Python and the x64dbg bridge script. Adjust paths for your system.
{
"mcpServers": {
"x64dbg": {
"command": "C:\\Python311\\python.exe",
"args": ["C:\\tools\\x64dbgMCP\\x64dbg.py"]
}
}
}Prompts to try
Example reverse engineering prompts to use with x64dbg MCP after attaching a binary.
- "What is the current value of RAX, RIP, and RSP registers?"
- "Find the pattern '48 8B 05' in the current module and list the addresses"
- "Set a breakpoint at the entry point and tell me when it hits"
- "Disassemble 20 instructions starting from the current RIP"
- "Read 64 bytes of memory at address 0x140001000 and show the hex dump"Troubleshooting x64dbg MCP
Plugin does not appear in x64dbg's plugin menu
Confirm the `.dp64` file is in the correct plugins subfolder (`release/x64/plugins/` for 64-bit or `release/x32/plugins/` for 32-bit). Check ALT+L logs for any load errors and ensure Visual C++ Redistributable 2022 is installed.
Claude cannot connect to x64dbg — 'Connection refused' errors
The plugin HTTP server must be running before Claude starts. Launch x64dbg first, verify in the log that the plugin is listening, then start or restart Claude Desktop.
Commands return wrong addresses or crash the debuggee
Use GetModuleBase first to obtain the correct base address before computing offsets. Provide Claude with the full binary path so it can recover after a crash with CMDEXEC. Use the Headroom proxy if token limits are reached.
Frequently Asked Questions about x64dbg MCP
What is x64dbg MCP?
x64dbg MCP is a Model Context Protocol (MCP) server that model context protocol for x64dbg & x32dbg It connects AI assistants to external tools and data sources through a standardized interface.
How do I install x64dbg MCP?
Follow the installation instructions on the x64dbg MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with x64dbg MCP?
x64dbg MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is x64dbg MCP free to use?
Yes, x64dbg MCP is open source and available under the GPL-3.0 license. You can use it freely in both personal and commercial projects.
x64dbg MCP Alternatives — Similar Security Servers
Looking for alternatives to x64dbg MCP? Here are other popular security servers you can use with Claude, Cursor, and VS Code.
Casdoor
★ 13.6kAn open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
ghidraMCP
★ 9.0kAn Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through
HexStrike AI
★ 8.9kHexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly b
IDA Pro MCP
★ 8.7kEnables AI-assisted reverse engineering in IDA Pro by providing tools to analyze binaries, decompile functions, manage comments, search patterns, and interact with the IDA database through natural language.
Anthropic Cybersecurity Skills
★ 6.6k754 structured cybersecurity skills for AI agents · Mapped to 5 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND & NIST AI RMF · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platform
Hooker
★ 5.1k🔥🔥 hooker is a Frida-based reverse engineering toolkit for Android. It offers a user-friendly CLI, universal scripts, auto hook generation, memory roaming to detect activities/services, one-click SOCKS5 proxy setup, Frida JustTrustMe, and BoringSSL u
Browse More Security MCP Servers
Explore all security servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up x64dbg MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use x64dbg MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.