Authorization notice. X64dbg MCP Server is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Reverse engineering. Unpacking and dumping third-party executables should only be done with authorization and for lawful analysis.
Credentials. The Bearer token grants full debugger control, so keep it private and rotate it with Generate if it is exposed.
Who it is forA malware analyst or reverse engineer who has a packed executable and needs the unpacked code for static review.
The problemPacked executables hide their real code behind a loader, so manual unpacking in the debugger takes many steps and careful tracing.
The outcomeThe assistant reports the detected Original Entry Point and the path of a dumped module file that can be examined further.
What you need first
- Windows with x64dbg installed, or a Windows target for the plugin
- The release contents of dist/ or Zig 0.16-dev or later to build from source
- An MCP-compatible AI assistant client that can send HTTP requests with a Bearer token
- Authorization to analyze the target software
Steps
- Build the plugin with
zig build -Doptimize=ReleaseSafe --prefix distor download the latest release. - Copy the contents of
dist/into your x64dbg root folder. - Launch x64dbg. The MCP server starts automatically on
0.0.0.0:9094for x64. - Copy the Bearer token from Plugins > x64dbg-MCP Server > Configure MCP Server... and add the Streamable HTTP config with the
Authorizationheader to your MCP client config. - Ask the assistant to load the target, call DetectOEP, then call DumpModule.
Prompt for your agent
Using the x64dbg-MCP-Server MCP tools at http://localhost:9094/ with my Bearer token, load <target executable path>, call DetectOEP, then call DumpModule. Report the Original Entry Point address and the dump file path. Verify that the dump file exists on disk.
Caveat. The README lists DetectOEP and DumpModule as tools, but it does not describe their output format, so check the returned values against the dump file.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for duty1g/x64dbg-mcp-server and "Find the original entry point of a packed binary"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer