z-x64dbg-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@z-x64dbg-mcpSet a breakpoint at address 0x401000 and show the surrounding code"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Z-x64dbg-MCP Server
Merged & Optimized x64dbg MCP Server - Combining the best of duty1g/x64dbg-mcp-server (71 tools, Zig) and bromoket/x64dbg_mcp (23 mega-tools, TypeScript) into a unified, high-performance reverse engineering platform.
π Features
71+ MCP Tools - Unified toolset from both implementations
Dual Architecture - Zig (native, zero-dependency) + TypeScript (npm ecosystem)
HTTP + SSE + stdio - Multiple transport protocols
x32 & x64 Support - Full debugger coverage
22+ Event Callbacks - Breakpoint, memory, trace, and debug events
REST API Bridge - 151+ endpoints for AI agents
Claude Code Integration - Direct AI-powered reverse engineering
Related MCP server: x64dbg MCP Server
π¦ Installation
Quick Install (PowerShell)
# Clone the repository
git clone https://github.com/Zekiog/z-x64dbg-mcp.git
cd z-x64dbg-mcp
# Run the unified installer
.\install.ps1Manual Setup
1. Install x64dbg Plugin
Copy
plugin/z-x64dbg-mcp.dp32tox32dbg/plugins/Copy
plugin/z-x64dbg-mcp.dp64tox64dbg/plugins/
2. Start MCP Server
# Zig build (native, recommended)
zig build run
# Or TypeScript (npm ecosystem)
cd server
npm install
npm start3. Configure Claude Code
Add to your claude_desktop_config.json:
{
"mcpServers": {
"z-x64dbg": {
"command": "node",
"args": ["/path/to/z-x64dbg-mcp/server/dist/index.js"],
"env": {
"X64DBG_HOST": "localhost",
"X64DBG_PORT": "31964"
}
}
}
}π οΈ Tool Categories
Category | Tools | Description |
Breakpoints | 12 | Hardware, software, and memory breakpoints |
Memory | 15 | Read, write, search, dump, and protect |
Disassembly | 8 | Instructions, analysis, and navigation |
Tracing | 10 | Step, trace, and execution logging |
Debug Control | 14 | Start, stop, pause, and attach |
PE & Modules | 7 | Dump, analyze, and module management |
Anti-Anti-Debug | 5 | Bypass common anti-debugging techniques |
π Architecture
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β AI Client ββββββΆβ MCP Server ββββββΆβ x64dbg Plugin β
β (Claude Code) βββββββ (Zig/TypeScript) βββββββ (C++ Bridge) β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β β β
β MCP Protocol β REST API β Debugger
β (stdio/SSE/HTTP) β (localhost:31964) β Eventsπ§ Development
Build from Source
Zig (Native)
zig build
zig build runTypeScript (Server)
cd server
npm install
npm run build
npm startPlugin (C++)
cd plugin
mkdir build && cd build
cmake .. -G "Visual Studio 17 2022"
cmake --build . --config ReleaseTesting
# Run test suite
npm test
# Integration tests
npm run test:integrationπ Documentation
π€ Credits
This project merges and optimizes:
duty1g/x64dbg-mcp-server- 71 tools, Zig implementationbromoket/x64dbg_mcp- 23 mega-tools, TypeScript server
π License
MIT License - See LICENSE for details.
π Showcase
Example: AI-powered breakpoint analysis
{
"tool": "x64dbg.set_breakpoint",
"arguments": {
"address": "0x140001000",
"type": "hardware",
"condition": "rax == 0x42"
}
}Built with β€οΈ by Zekiog | Report Issues
This server cannot be deployed
Maintenance
Related MCP Connectors
Live browser debugging for AI assistants β DOM, console, network via MCP.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Self-hosted MCP server: 26 deterministic dev, security, and EVM tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI-assisted reverse engineering and debugging through x64dbg integration. Provides 40+ tools for breakpoint management, memory operations, register manipulation, code analysis, process control, and advanced debugging features.22-
- AlicenseAqualityDmaintenanceEnables AI assistants to perform reverse engineering and debugging of Windows executables through x64dbg, with tools for loading executables, controlling execution, analyzing memory and security, and generating reports.3959 npm5MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI agents to IDA Pro and x64dbg for unified static and dynamic reverse engineering, enabling coordinated analysis, debugging, and patch planning through a local MCP daemon.15MIT
- AlicenseNot gradedqualityBmaintenanceA local, privacy-first MCP server that orchestrates Ghidra, Binary Ninja, x64dbg, and system tools to provide AI assistants with powerful binary analysis capabilities.Academic Free v1.1