Skip to content
← All MCP servers

Is the x64dbg MCP server safe? What it can reach

What the x64dbg MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Community serverChecked

x64dbg has no official MCP server, so this covers duty1g/x64dbg-mcp-server, the most used community plugin. It runs inside the debugger and serves HTTP on your machine, guarded by a bearer token. It can load programs, write process memory and run any debugger command. Only run it in a throwaway VM.

Who maintains it

ImplementationKindStatus
duty1g/x64dbg-mcp-server (community)Communityactive
AgentSmithers/x64DbgMCPServer (community)Communityactive

It runs as a local process on your machine.

How it signs in

A bearer token that the plugin generates on first run and requires on every request. The plugin acts with the rights of the account running x64dbg.

What its tools can do

KindTools
ReadGetDebugState, ListCommandsByCategory, SearchForStrings, GetEventLog, EvalExpression, Echo, WaitForEvent, GetCurrentAddress, Disassemble, DisassembleFunction, ReadMemory, WaitForPause, ListBreakpoints, GetAllRegisters, GetCallStack, GetThreads, ListModules, GetMemoryMap, GetDumpableRegions, ListBookmarks, GetImports, GetExports, SearchSymbols, ListSymbols, GetPatches, FindPattern, GetStrings, GetReferences, GetFunctions, AnalyzeModule, DetectOEP, FollowPointer, WatchExpressions, GetSEHChain, GetPEB, GetArguments, AnalyzeCode
WriteClearEventLog, AttachProcess, run, StepInto, StepOver, StepOut, PauseDebug, SetBreakpoint, SetHardwareBreakpoint, SetConditionalBreakpoint, EnableBreakpoint, DisableBreakpoint, ToggleBreakpoint, DeleteBreakpoint, DeleteAllBreakpoints, ResetHitCount, SwitchThread, SuspendThread, ResumeThread, CommentOrLabelAtAddress, SetBookmark, DeleteBookmark, RunToAddress, TraceInto, TraceOver, SetMemoryBreakpoint, SetExceptionBreakpoint, DeleteExceptionBreakpoint, SetBreakpointCommand, SetBreakpointFastResume, SaveDatabase, DumpMemory, DumpModule
Can’t be undoneLoadBinary, ExecuteDebuggerCommand, StopDebug, RestartDebug, SetRegister, AllocateMemory, FreeMemory, WriteMemToAddress, RestorePatches, Assemble

The README lists 80 tools. Some need an active debug session. ExecuteDebuggerCommand runs any x64dbg command, so it can do anything the tools above can do.

Built-in limits

OptionWhat it does
Bearer tokenMandatory, auto-generated on first run. Rotate it with Generate in the config dialog.
Bind address and portSet in Plugins, then x64dbg-MCP Server, then Configure. 127.0.0.1 is local-only. The README lists 0.0.0.0 as the default bind, with ports 9094 for x64 and 9095 for x32.

The risks

  • ExecuteDebuggerCommand and LoadBinary can run an executable and any debugger command, so an injected instruction could start malware you are analyzing on that machine.
  • WriteMemToAddress, SetRegister and Assemble change a live process, which can corrupt the target or change what you conclude from it.
  • The README lists the default bind as 0.0.0.0, so other hosts on the network could reach the port until you set 127.0.0.1. The token is the only gate.
  • Strings, memory and imports from the sample go into the model’s context, and malware can contain text written to steer an AI assistant.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --transport http x64dbg http://localhost:9094/

Claude Code names MCP tools mcp__x64dbg__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__x64dbg__ExecuteDebuggerCommand",
      "mcp__x64dbg__LoadBinary",
      "mcp__x64dbg__WriteMemToAddress",
      "mcp__x64dbg__SetRegister",
      "mcp__x64dbg__Assemble"
    ],
    "ask": [
      "mcp__x64dbg__AttachProcess",
      "mcp__x64dbg__run",
      "mcp__x64dbg__StopDebug",
      "mcp__x64dbg__RestartDebug",
      "mcp__x64dbg__AllocateMemory",
      "mcp__x64dbg__FreeMemory",
      "mcp__x64dbg__RestorePatches",
      "mcp__x64dbg__DumpMemory",
      "mcp__x64dbg__DumpModule",
      "mcp__x64dbg__SetBreakpointCommand"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.x64dbg]
url = "http://localhost:9094/"
disabled_tools = ["ExecuteDebuggerCommand", "LoadBinary", "WriteMemToAddress", "SetRegister", "Assemble"]

Checklist

  • Run x64dbg and the plugin only inside an isolated VM with no shared folders.
  • Set the bind address to 127.0.0.1 in the config dialog.
  • Keep the bearer token out of shared config files.
  • Deny ExecuteDebuggerCommand and memory-writing tools unless you need them.
  • Revert the VM snapshot after analyzing a sample.

Checked against the vendor documentation on November 25, 2026. duty1g/x64dbg-mcp-server README · README (raw) · AgentSmithers/x64DbgMCPServer

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing