x64dbg MCP:
debugger MCP servers, and what an agent can do on protected code
An x64dbg MCP server is a plugin or bridge that exposes the x64dbg debugger to an AI agent as Model Context Protocol tools, so the agent can set breakpoints, step through code and read registers and memory in a running Windows process. There is no official one. On 13 November 2026 we counted 46 original x64dbg MCP servers on GitHub. Five of them hold 97% of the stars, and 34 of the 35 whose tool definitions we could parse let the agent change the process it is debugging.
This guide explains how x64dbg MCP servers are built, what the census found, which tools need care, and how a debugger MCP server differs from the IDA and Ghidra servers. The last part covers the question the READMEs skip: what an agent can and cannot learn when the code it steps through is virtualized by VMProtect or Themida.
What is an x64dbg MCP server?
An x64dbg MCP server turns x64dbg, the open-source debugger for 64-bit and 32-bit Windows programs, into a set of tools an MCP client can call. The client (Claude, Cursor, VS Code or another) asks the server for its tool list, and the model then calls tools such as “set a breakpoint here” or “read 64 bytes at this address” in the middle of a conversation. The Model Context Protocol defines that list-and-call exchange. The x64dbg MCP server decides which debugger features become tools.
All eight servers we checked by hand run a plugin inside x64dbg, a .dp64 file for x64dbg or a .dp32 file for x32dbg, built on the debugger's plugin SDK. Past that point the designs split three ways:
- The plugin is the MCP server. It listens on a local port and speaks MCP over streamable HTTP or the older SSE transport. duty1g/x64dbg-mcp-server, SetsunaYukiOvO/x64dbg-mcp and AgentSmithers/x64DbgMCPServer work this way.
- The plugin plus a bridge. The plugin exposes a small HTTP API on the local machine, and a separate Python or TypeScript program speaks MCP to the client over stdio. Wasdubya/x64dbgMCP and bromoket/x64dbg_mcp work this way.
- An automation library. The MCP server drives x64dbg through an existing scripting plugin such as LyScript or x64dbg-automate instead of shipping its own.

The split matters for exposure. A stdio bridge is started by the client and does not listen on the network. A plugin that serves HTTP listens for as long as x64dbg is open, so its bind address and its authentication decide who else can reach the debugger.
How we built the x64dbg MCP census
The x64dbg MCP census is a count of public GitHub repositories, built on 13 November 2026 with the GitHub search API:
- Six repository searches: “x64dbg mcp”, “x32dbg mcp”, “x64dbg model context protocol”, “x96dbg mcp”, and x64dbg with mcp in the repository name and in the description.
- Forks and curated lists removed. A repository had to name x64dbg, x32dbg or x96dbg and mention MCP, which left 81.
- For each one the script recorded stars, the date of the last commit on the default branch, the license GitHub detects and the main language, then read the README and up to 120 source files as text. Nothing was run.
- A parser pulled MCP tool names out of the common definition styles (Python decorators, TypeScript and Go registrations, C# attributes, Rust macros, C, C++ and Zig tool tables) and sorted each tool into a capability class by its name and, for action-based tools, by its actions.
- We read every repository's description and file tree and sorted it by hand: 53 dedicated x64dbg MCP servers, 13 multi-tool suites that include x64dbg next to other tools, and 15 out of scope, such as skill packs, sample clients, empty repositories and debuggers that are not x64dbg.
- A repository whose tool list overlaps an older one's by 70% or more counts as a copy, and one more was marked by hand because it reuses another's description word for word. Seven copies leave 46 original dedicated servers.
- The eight most-starred originals were checked by hand against their source and README.
Three limits apply. The parser read tool definitions in 35 of the 46 servers. The other 11 build their tool lists in ways it does not recognize, so every tool percentage below uses 35 as its base. A tool a tool is classified by what its name and actions say it does, so “no write tool found” means none was found by name. It does not prove a server is read-only. And “original” means no copy was detected: the overlap test cannot see copies among the 11 unparsed servers or forks that renamed every tool, so some servers counted as original may still descend from another.
What the x64dbg MCP census found
The x64dbg MCP field is young, crowded and top-heavy. Of the 46 original servers, 34 were created in 2026; the oldest dates from 1 April 2025. Together they have 5,003 GitHub stars, and five repositories hold 97% of them. Eleven have none. Only 8 have ten or more, and 15 had a commit in the 90 days before the census.
C++ is the most common language, with 23 servers, followed by Python with 10 and C# with 4; TypeScript and C have 2 each, and Zig and Rust 1 each. On licenses, 16 servers are MIT, 6 are GPL-3.0, 1 is LGPL-2.1, 1 is Apache-2.0 and 2 use other licenses. The remaining 20 have no license file GitHub can detect, which leaves reuse rights unclear.
Among the 35 parsed servers, the median x64dbg MCP server exposes 46 tools, and the range runs from 5 to 235. Self-reported counts drift: duty1g/x64dbg-mcp-server's README gives 84 tools in one section and 72 in another, while its source defines 80, and SetsunaYukiOvO/x64dbg-mcp's README says 79 where its registry registers 80.
The table covers the eight most-starred original servers, checked by hand on 13 November 2026.
| Server | Stars | Last commit | License | Built as | Transport | Tools | Can change the target through |
|---|---|---|---|---|---|---|---|
| duty1g/x64dbg-mcp-server | 2,824 | 3 Nov 2026 | MIT | Zig plugin | Streamable HTTP, SSE | 80 | Memory write, assemble, register set, raw command |
| AgentSmithers/x64DbgMCPServer | 748 | 4 Oct 2026 | None declared | C# plugin | SSE | 30 | Memory write, raw command |
| Wasdubya/x64dbgMCP | 609 | 5 Jun 2026 | GPL-3.0 | C++ plugin, Python bridge | stdio | 56 | Memory write, assemble, register set, raw command |
| SetsunaYukiOvO/x64dbg-mcp | 555 | 28 Oct 2026 | MIT | C++ plugin | Streamable HTTP, SSE | 80 | Memory write, assemble, register set, scripts |
| bromoket/x64dbg_mcp | 140 | 8 Jun 2026 | MIT | C++ plugin, TypeScript bridge | stdio | 23 action-based | Memory write, patch, assemble, raw command |
| john-mayhem/x32dbgMCP | 12 | 9 Nov 2025 | None declared | C++ plugin, Python bridge (x32dbg) | stdio | 48 | Memory write, patch, register set, raw command |
| renqabs/x32dbg-mcp | 11 | 13 Mar 2026 | None declared | Python on LyScript | stdio | 26 | Register set |
| DNLINYJ/better-x64dbg-mcp | 9 | 30 Jul 2026 | MIT | C++ plugin | Streamable HTTP | 22 action-based | Memory write, patch, raw command |
Stars are as of 13 November 2026. Every repository sits on GitHub under the name in the first column. Of the two not linked elsewhere in this article, AgentSmithers/x64DbgMCPServer is a C# plugin with an SSE endpoint, and DNLINYJ/better-x64dbg-mcp rebuilds the bromoket design as a single plugin that serves streamable HTTP.

Which x64dbg MCP tools can change the target?
Almost every x64dbg MCP server can change the process it debugs. Of the 35 servers whose tools we parsed, 34 (97%) expose at least one tool that writes or allocates memory, assembles or patches code, sets a register, or runs a raw x64dbg command or script.
| Capability | Servers (of 35) | Share |
|---|---|---|
| Read memory | 33 | 94% |
| Run, pause and step | 32 | 91% |
| Breakpoints | 30 | 86% |
| Write, allocate or protect memory | 29 | 83% |
| Raw command or script execution | 27 | 77% |
| Assemble or patch code | 22 | 63% |
| Set a register or flag | 18 | 51% |
Watch the raw command tool most closely. A tool such as ExecuteDebuggerCommand or execute_command hands any string to the x64dbg command line, and that command line can write memory, change registers, run scripts and start programs. A tool that runs x64dbg scripts, such as script_execute, reaches the same command set. A server with either is write-capable whatever its other tool names say.
The MCP specification expects this. Its tools page says there should always be a human in the loop who can deny a tool call, and it tells clients to treat tool annotations, the optional hints that mark a tool as read-only or destructive, as untrusted unless the server is trusted. In practice: read the tool list before you connect an agent, and keep confirmation prompts on for anything that writes.
Which x64dbg MCP server fits which job?
No x64dbg MCP server is best for every job. The choice follows your client, your network boundary and your license needs. From the eight checked by hand:
- One plugin, no extra process. duty1g/x64dbg-mcp-server is a single Zig plugin with 80 tools over streamable HTTP and SSE. Its README requires a bearer token on every request and lists 0.0.0.0 as the default bind address, so the token is what keeps other machines out.
- Loopback by default. SetsunaYukiOvO/x64dbg-mcp listens on 127.0.0.1 unless you change it, supports an optional bearer token, and its README says not to publish it to the internet.
- A client that only speaks stdio. bromoket/x64dbg_mcp ships a TypeScript stdio server on npm and keeps its plugin on 127.0.0.1. Wasdubya/x64dbgMCP is a stdio server too, written in Python with FastMCP and licensed under GPL-3.0, and it talks to its plugin at 127.0.0.1 by default.
- x32dbg targets. john-mayhem/x32dbgMCP and renqabs/x32dbg-mcp are built for 32-bit sessions. Five of the other six document both a .dp64 and a .dp32 build.
Before you pick one, check the last commit date and the license in the table, and look for raw command and memory-write tools in the tool list. Install steps change often, so follow each repository's README rather than a copy of it.
How is a debugger MCP server different from IDA MCP or Ghidra MCP?
A debugger MCP server such as an x64dbg MCP server gives an agent a running process: live registers, memory, breakpoints and single steps. A disassembler MCP server gives the agent a static database: functions, cross-references, types and decompiled code. They answer different questions, and agent setups often connect both, using the debugger to confirm what the database suggests.
Our guide to the IDA MCP and Ghidra MCP servers compares the disassembler side and shows where those servers stall on obfuscated binaries. The debugger adds what static servers cannot see: values that exist only at runtime, such as a decrypted string in memory or the real target of an indirect call. Where x64dbg sits in the rest of the toolchain is covered in our overview of reverse engineering tools.
WinDbg, GDB and LLDB MCP servers
x64dbg is not the only debugger with MCP servers. On 13 November 2026 GitHub search returned 52 repositories for “windbg mcp”, 110 for “gdb mcp” and 41 for “lldb mcp”, before any filtering.
WinDbg is the one with an official option. Microsoft documents WinDbg MCP, built into WinDbg: a local proxy talks to the AI client over stdio and to the debugger over a per-process named pipe, the supported clients are VS Code with GitHub Copilot and the GitHub Copilot CLI, and a secure mode that blocks high-risk commands turns on by default when the MCP server starts. The most-starred community server, svnscha/mcp-windbg with 1,672 stars, wraps cdb.exe and kd.exe and can run arbitrary debugger commands.
On the GDB side, signal-slot/mcp-gdb (161 stars) is a stdio server on npm with a gdb_command tool that runs any GDB command. For LLDB, ant4g0nist/lisa.py (756 stars) and stass/lldb-mcp (114 stars) both include a tool that runs an arbitrary LLDB command.
So the popular servers on every debugger hand the agent the debugger's own command line. Microsoft's secure mode is the one documented case in this set where the debugger itself narrows what an MCP client can do.
Can an agent debug VM-protected code through x64dbg MCP?
An agent with x64dbg MCP access can observe a VM-protected function, but it cannot read that function as the original code. When VMProtect or Themida virtualizes a function, the protector replaces its instructions with bytecode for a private virtual machine embedded in the file. The x86 or x64 instructions the debugger steps through belong to the protector's interpreter: a dispatcher that fetches the next bytecode instruction, and a handler that carries it out.
What the agent can do
- Find the boundary. It can see where execution leaves ordinary code and enters the interpreter, and confirm what a packer identifier reported. Our guide to how to identify a packer explains that first label.
- Observe real runtime state. Registers, memory, call stacks and loaded modules at a breakpoint are accurate. A value the function computes, such as a decrypted buffer, can be seen once it lands in memory.
- Describe the interpreter. Over many steps it can report the dispatcher, how often handlers repeat and which native APIs the protected code eventually calls.
- Work on the unprotected code. VMProtect and Themida virtualize the functions the developer selects. Code outside that selection is ordinary code the agent can step through and explain.
What the agent cannot do
- Recover the original instructions by stepping. They are not in the process. Every step lands in the same small set of handlers, so the trace grows fast and still shows the interpreter.
- Turn a trace into logic. Knowing which handler ran in what order is not knowing what the function computes. That takes the virtual machine's handler semantics and a way to lift the bytecode back into code.
- See paths that did not run. A debugger shows the path one execution took with one set of inputs. Branches the run skipped stay unknown, which is why our recovery reports keep runtime-dependent functions apart from proven ones.

Protectors also detect debuggers and behave differently when they find one, and a few servers include tools aimed at that detection. Whether you may use them depends on your rights to the file. This article does not cover them.
Is it safe to run an x64dbg MCP server?
An x64dbg MCP server is remote control of a debugger, so treat it as code execution on the machine it runs on. Defaults vary widely. The most-starred server binds to 0.0.0.0 with a mandatory token, the second most-starred documents no authentication in its README, and others listen on 127.0.0.1 only.
There is a second risk that has nothing to do with the network. A debugger reads the target's memory, and strings in that memory flow back into the model's context. Text planted in a sample can try to steer the agent. Microsoft's WinDbg MCP screens some debugger output for cross-prompt injection for exactly this reason; the community x64dbg servers leave that to you.
Four habits cover most of the risk:
- Run x64dbg and the target in an isolated virtual machine, not on your workstation.
- Keep an HTTP plugin on 127.0.0.1 unless you add a token, and never expose it to the internet.
- Read the tool list first, and keep the client's confirmation prompts on for memory writes, patches and raw commands.
- Analyze only files you own or are authorized to analyze.
Where Devirt fits
Devirt recovers virtualized functions in files you own or are authorized to analyze, as an automated service with a written scope. When an agent has mapped a protected binary through x64dbg MCP and stalls at the interpreter, VMProtect devirtualization and Themida devirtualization take over the part that stepping cannot do. Every function in scope comes back in one of four proof states: proven, runtime-dependent, unresolved or permanently bounded.
Devirt's own MCP connector sits on the other side of the census line. It is read-only and exposes six tools: devirt_get_capabilities, devirt_list_assessments, devirt_get_assessment, devirt_list_jobs, devirt_get_job and devirt_get_result. None of them can upload a file, start a job, accept an offer or pay. The page on AI reverse engineering explains how an agent picks up the result.
Questions about x64dbg MCP
Is there an official x64dbg MCP server?
No. Every x64dbg MCP server in the census is a community project. The x64dbg project does not publish one, while Microsoft documents a built-in MCP server for WinDbg.
Does x64dbg MCP work with x32dbg?
Yes, for most servers. Of the eight we checked by hand, five document both a .dp64 plugin for x64dbg and a .dp32 plugin for x32dbg, john-mayhem/x32dbgMCP and renqabs/x32dbg-mcp are built for 32-bit sessions first, and one documents only the 64-bit build.
Which MCP clients work with x64dbg MCP?
Any client that supports the server's transport. Stdio servers work with clients that launch a local process, such as Claude Desktop, Claude Code and Cursor. HTTP servers work with clients that connect to a URL. AgentSmithers documents a proxy for clients that only speak stdio.
How current is this census?
The census ran on 13 November 2026. Stars, commits and tool counts change every week, and the date at the top of this article marks the latest run.
To see what recovery would cover for your own protected file, create an account and request a free assessment. Paid work starts only after you accept the offer.