duty1g/x64dbg-mcp-server/x64dbg-mcp-server

Claude Code and agent skill by duty1g/x64dbg-mcp-server

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install duty1g/x64dbg-mcp-server/x64dbg-mcp-server

SKILL.md

The same SKILL.md was published earlier as duty1g/x64dbg-mcp-server/x64dbg-mcp-server.

x64dbg Reverse Engineering — MCP Workflow Guide

You are controlling x64dbg through MCP tools.

Transport matters:

  • SSE clients receive push notifications for debugger events (breakpoints, exceptions, state changes) in real time.
  • HTTP clients must poll — call WaitForEvent to long-poll for events, or read the [state] and [event:*] lines included in every tool response.

Treat every assumption about debugger state as stale until verified by a tool response.


Rule 1: Always Know Your State

Before every action, call GetDebugState. No exceptions.

  • NO_TARGET — nothing loaded. Use LoadBinary or AttachProcess first.
  • PAUSED — target is stopped. You can read memory, disassemble, inspect registers.
  • RUNNING — target is executing. You CANNOT read memory, disassemble, or inspect anything. Call WaitForPause or PauseDebug first.

Every tool response includes a [state] line at the end showing the current debugger status — PAUSED with address/module/instruction, RUNNING, or NO_TARGET. Always read it. This is your primary state awareness mechanism.

Every tool response may also include [event:*] lines — queued debugger events (breakpoints hit, exceptions, DLL loads) that occurred since your last call. Always read these too.

If the user says "paused", "hit breakpoint", "stopped", or "debugger is paused" — immediately call GetDebugState to see where you are. Do not guess.


Rule 2: Never Assume State Between Calls

MCP is request/response. Between your tool calls, anything can happen — breakpoints can hit, exceptions can fire, the user can interact with the debugger. Every time you are about to act, verify first.

Bad:

SetBreakpoint → run → Disassemble (wrong: run blocks but verify anyway)

Good:

GetDebugState → SetBreakpoint → run → GetDebugState → Disassemble

Rule 3: Core Workflows

Load and analyze a binary
GetDebugState
LoadBinary (path)
WaitForPause — target pauses at system breakpoint
GetDebugState — confirm PAUSED, note the address
GetAllRegisters — see initial state
ListModules — see what's loaded
Disassemble — look at current code
Set breakpoint and run to it
GetDebugState — must be PAUSED
SetBreakpoint (target) — set the BP
run — blocks until target pauses (5-min timeout)
GetDebugState — confirm PAUSED, check address
Disassemble — see where we landed
GetAllRegisters — inspect state
Step through code
GetDebugState — must be PAUSED
StepOver — response includes new address + disassembly
— read the response carefully before next step
StepOver — keep stepping, reading each response
GetAllRegisters — check registers when needed
GetCallStack — check call context when needed
Find and hook an API call
SearchSymbols (pattern) — find the API across all modules
SetBreakpoint (address) — break on it
run — blocks until BP hits
GetDebugState
GetArguments — read function arguments
GetCallStack — see who called it
Trace execution
GetDebugState — must be PAUSED
TraceInto (count) — step N instructions, get address + disasm log
GetDebugState — see where we ended up
Unpack a binary
LoadBinary → WaitForPause → GetDebugState
AnalyzeModule — check sections, EP, image size
DetectOEP — look for packing indicators (RWX sections, zero raw sizes)
SetHardwareBreakpoint — on suspected OEP or after unpacking stub
run → GetDebugState — run blocks until pause
DumpModule — dump the unpacked module
Patch memory
GetDebugState — must be PAUSED
Disassemble (address) — see current bytes
WriteMemToAddress — patch with new bytes
Disassemble (address) — verify the patch
GetPatches — see all active patches
Monitor while user interacts with GUI (HTTP only)
WaitForEvent (timeoutMs: 120000) — long-poll up to 2 minutes
— returns any events that fired
GetDebugState — check where we are now
WaitForEvent (timeoutMs: 120000) — keep watching

Rule 4: All 84 Tools Reference

Every tool response includes a [state] line showing current debugger status and any [event:*] lines with queued events. You always know where you are.

State & Control (always available)
ToolParametersDescription
GetDebugState—Current state (NO_TARGET/RUNNING/PAUSED), PID, address, module
LoadBinaryfilePathLoad an executable into the debugger
AttachProcesspidAttach to a running process by PID
runtimeoutMs? (default 300000)Resume execution (F9). Blocks until target pauses or timeout
PauseDebug—Pause the target (F12)
WaitForPausetimeout? (ms, default 10000)Block until target pauses (breakpoint/exception)
StopDebug—Terminate debug session
RestartDebug—Restart debug session
ExecuteDebuggerCommandcommandRun any x64dbg command string. Blocks if target becomes RUNNING
EvalExpressionexpressionEvaluate expression (address, register, symbol, arithmetic)
EchomessageEcho input back (connectivity test)
ListCommandsByCategorycategory?List available MCP tools
SearchForStringssearchTextSearch process memory for text
GetEventLogcount? (default 20)Last N debugger events
ClearEventLog—Clear the event log
WaitForEventtimeoutMs? (default 30000)Long-poll for debugger events. For HTTP clients to watch state changes
Stepping (requires PAUSED)
ToolParametersDescription
StepInto—Single-step into calls (F7). Returns new address + disassembly
StepOver—Step over calls (F8). Returns new address + disassembly
StepOut—Run until return (Ctrl+F9). Returns new address + disassembly
RunToAddressaddressRun until hitting a specific address
TraceIntocountStep N instructions recording address + disassembly for each
TraceOvercountTrace N instructions stepping OVER calls
Breakpoints (requires debug session)
ToolParametersDescription
SetBreakpointtarget (address or symbol)Set INT3 breakpoint
SetHardwareBreakpointaddress, type (r/w/x), size?Set hardware BP (DR0-DR3)
SetConditionalBreakpointaddress, condition, log?Set BP with condition expression
SetMemoryBreakpointaddress, type (r/w/x), singleshoot?Set memory breakpoint
SetExceptionBreakpointexceptionCode, chance (1/2/3), actionConfigure exception BP (break/ignore)
DeleteExceptionBreakpointexceptionCodeDelete an exception breakpoint
EnableBreakpointaddressEnable a breakpoint
DisableBreakpointaddressDisable without deleting
ToggleBreakpointaddressToggle enabled/disabled
DeleteBreakpointtargetRemove a breakpoint
DeleteAllBreakpoints—Remove all BPs (normal, hardware, memory)
ResetHitCountaddressReset a BP's hit counter to zero
ListBreakpoints—List all active breakpoints
SetBreakpointCommandaddress, commandRun x64dbg command on BP hit
SetBreakpointFastResumeaddress, enableAuto-resume on BP hit
Disassembly & Code (requires PAUSED)
ToolParametersDescription
Disassembleaddress?, count? (default 16)Disassemble N instructions
DisassembleFunctionaddress?Disassemble entire function (needs analysis first)
GetCurrentAddress—Current EIP/RIP with label and comment
GetFunctionsmodule?List analyzed functions with addresses
GetReferencesaddressFind CALL/JMP xrefs to target address
Assembleaddress, instructionAssemble an instruction at address
Registers & Stack (requires PAUSED)
ToolParametersDescription
GetAllRegisters—Dump all general-purpose registers
SetRegisterregister, valueSet a CPU register value
GetCallStack—Current thread call stack
GetArgumentscount?Read function arguments from stack/registers
WatchExpressionsexpressions (array)Evaluate multiple expressions in one call
FollowPointeraddress, depth?Dereference pointer chain N levels deep
Memory (requires debug session)
ToolParametersDescription
ReadMemoryaddress, size? (default 64)Hex dump of process memory
WriteMemToAddressaddress, bytes (hex)Patch memory with hex bytes
AllocateMemorysizeAllocate memory in target process
FreeMemoryaddressFree allocated memory
GetMemoryMap—Memory regions with addresses, sizes, protection
GetDumpableRegions—List committed, readable memory regions
FindPatternpattern, module?Scan for byte pattern with ?? wildcards
GetPatches—List all memory patches
RestorePatches—Restore all patches to original bytes
DumpMemoryaddress, size, filePathSave memory region to file
Modules & Symbols (requires debug session)
ToolParametersDescription
ListModules—List loaded modules with base addresses and sizes
GetImportsmodule?Show module import table
GetExportsmodule?Show module export table
SearchSymbolspatternSearch for symbols matching pattern across all modules
ListSymbolsmoduleList exported symbols of a specific module
GetStringsmodule?Extract ASCII strings from module memory
Analysis (requires debug session)
ToolParametersDescription
AnalyzeModulemodule?PE structure: sections, EP, image size, characteristics
AnalyzeCodeaddress?, type (function/module/controlflow)Run code analysis
DetectOEPmodule?Detect Original Entry Point for packed executables
DumpModulemodule, filePathDump entire module to file
GetPEB—Read Process Environment Block fields
GetSEHChain—Walk Structured Exception Handler chain (x32)
SaveDatabase—Save the x64dbg database (.dd64/.dd32)
Bookmarks & Comments (requires debug session)
ToolParametersDescription
CommentOrLabelAtAddressaddress, text, type (comment/label)Add comment/label in disassembly
SetBookmarkaddressSet a bookmark
DeleteBookmarkaddressDelete a bookmark
ListBookmarks—List all bookmarks
Threads (requires debug session)
ToolParametersDescription
GetThreads—List all threads with IDs and instruction pointers
SwitchThreadthreadIdSwitch active thread context
SuspendThreadthreadIdSuspend a thread
ResumeThreadthreadIdResume a suspended thread

Rule 5: Common Mistakes

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

  • SKILL.md in the repositoryCheckingSKILL.md

Popularity

Repository stars
1,925
Repository forks
193
7-day trend score
38

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/duty1g/x64dbg-mcp-server/x64dbg-mcp-server/badge)](https://verified-skill.com/skills/duty1g/x64dbg-mcp-server/x64dbg-mcp-server)

Something wrong with this skill or its page? Tell us.