duty1g/x64dbg-mcp-server/x64dbg-mcp-server
Claude Code and agent skill by duty1g/x64dbg-mcp-server
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install duty1g/x64dbg-mcp-server/x64dbg-mcp-serverSKILL.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
WaitForEventto 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. UseLoadBinaryorAttachProcessfirst.PAUSED— target is stopped. You can read memory, disassemble, inspect registers.RUNNING— target is executing. You CANNOT read memory, disassemble, or inspect anything. CallWaitForPauseorPauseDebugfirst.
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:
Good:
Rule 3: Core Workflows
Load and analyze a binary
Set breakpoint and run to it
Step through code
Find and hook an API call
Trace execution
Unpack a binary
Patch memory
Monitor while user interacts with GUI (HTTP only)
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)
| Tool | Parameters | Description | |
|---|---|---|---|
GetDebugState | — | Current state (NO_TARGET/RUNNING/PAUSED), PID, address, module | |
LoadBinary | filePath | Load an executable into the debugger | |
AttachProcess | pid | Attach to a running process by PID | |
run | timeoutMs? (default 300000) | Resume execution (F9). Blocks until target pauses or timeout | |
PauseDebug | — | Pause the target (F12) | |
WaitForPause | timeout? (ms, default 10000) | Block until target pauses (breakpoint/exception) | |
StopDebug | — | Terminate debug session | |
RestartDebug | — | Restart debug session | |
ExecuteDebuggerCommand | command | Run any x64dbg command string. Blocks if target becomes RUNNING | |
EvalExpression | expression | Evaluate expression (address, register, symbol, arithmetic) | |
Echo | message | Echo input back (connectivity test) | |
ListCommandsByCategory | category? | List available MCP tools | |
SearchForStrings | searchText | Search process memory for text | |
GetEventLog | count? (default 20) | Last N debugger events | |
ClearEventLog | — | Clear the event log | |
WaitForEvent | timeoutMs? (default 30000) | Long-poll for debugger events. For HTTP clients to watch state changes |
Stepping (requires PAUSED)
| Tool | Parameters | Description | |
|---|---|---|---|
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 | |
RunToAddress | address | Run until hitting a specific address | |
TraceInto | count | Step N instructions recording address + disassembly for each | |
TraceOver | count | Trace N instructions stepping OVER calls |
Breakpoints (requires debug session)
| Tool | Parameters | Description | |
|---|---|---|---|
SetBreakpoint | target (address or symbol) | Set INT3 breakpoint | |
SetHardwareBreakpoint | address, type (r/w/x), size? | Set hardware BP (DR0-DR3) | |
SetConditionalBreakpoint | address, condition, log? | Set BP with condition expression | |
SetMemoryBreakpoint | address, type (r/w/x), singleshoot? | Set memory breakpoint | |
SetExceptionBreakpoint | exceptionCode, chance (1/2/3), action | Configure exception BP (break/ignore) | |
DeleteExceptionBreakpoint | exceptionCode | Delete an exception breakpoint | |
EnableBreakpoint | address | Enable a breakpoint | |
DisableBreakpoint | address | Disable without deleting | |
ToggleBreakpoint | address | Toggle enabled/disabled | |
DeleteBreakpoint | target | Remove a breakpoint | |
DeleteAllBreakpoints | — | Remove all BPs (normal, hardware, memory) | |
ResetHitCount | address | Reset a BP's hit counter to zero | |
ListBreakpoints | — | List all active breakpoints | |
SetBreakpointCommand | address, command | Run x64dbg command on BP hit | |
SetBreakpointFastResume | address, enable | Auto-resume on BP hit |
Disassembly & Code (requires PAUSED)
| Tool | Parameters | Description | |
|---|---|---|---|
Disassemble | address?, count? (default 16) | Disassemble N instructions | |
DisassembleFunction | address? | Disassemble entire function (needs analysis first) | |
GetCurrentAddress | — | Current EIP/RIP with label and comment | |
GetFunctions | module? | List analyzed functions with addresses | |
GetReferences | address | Find CALL/JMP xrefs to target address | |
Assemble | address, instruction | Assemble an instruction at address |
Registers & Stack (requires PAUSED)
| Tool | Parameters | Description | |
|---|---|---|---|
GetAllRegisters | — | Dump all general-purpose registers | |
SetRegister | register, value | Set a CPU register value | |
GetCallStack | — | Current thread call stack | |
GetArguments | count? | Read function arguments from stack/registers | |
WatchExpressions | expressions (array) | Evaluate multiple expressions in one call | |
FollowPointer | address, depth? | Dereference pointer chain N levels deep |
Memory (requires debug session)
| Tool | Parameters | Description | |
|---|---|---|---|
ReadMemory | address, size? (default 64) | Hex dump of process memory | |
WriteMemToAddress | address, bytes (hex) | Patch memory with hex bytes | |
AllocateMemory | size | Allocate memory in target process | |
FreeMemory | address | Free allocated memory | |
GetMemoryMap | — | Memory regions with addresses, sizes, protection | |
GetDumpableRegions | — | List committed, readable memory regions | |
FindPattern | pattern, module? | Scan for byte pattern with ?? wildcards | |
GetPatches | — | List all memory patches | |
RestorePatches | — | Restore all patches to original bytes | |
DumpMemory | address, size, filePath | Save memory region to file |
Modules & Symbols (requires debug session)
| Tool | Parameters | Description | |
|---|---|---|---|
ListModules | — | List loaded modules with base addresses and sizes | |
GetImports | module? | Show module import table | |
GetExports | module? | Show module export table | |
SearchSymbols | pattern | Search for symbols matching pattern across all modules | |
ListSymbols | module | List exported symbols of a specific module | |
GetStrings | module? | Extract ASCII strings from module memory |
Analysis (requires debug session)
| Tool | Parameters | Description | |
|---|---|---|---|
AnalyzeModule | module? | PE structure: sections, EP, image size, characteristics | |
AnalyzeCode | address?, type (function/module/controlflow) | Run code analysis | |
DetectOEP | module? | Detect Original Entry Point for packed executables | |
DumpModule | module, filePath | Dump 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)
| Tool | Parameters | Description | |
|---|---|---|---|
CommentOrLabelAtAddress | address, text, type (comment/label) | Add comment/label in disassembly | |
SetBookmark | address | Set a bookmark | |
DeleteBookmark | address | Delete a bookmark | |
ListBookmarks | — | List all bookmarks |
Threads (requires debug session)
| Tool | Parameters | Description | |
|---|---|---|---|
GetThreads | — | List all threads with IDs and instruction pointers | |
SwitchThread | threadId | Switch active thread context | |
SuspendThread | threadId | Suspend a thread | |
ResumeThread | threadId | Resume 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
[](https://verified-skill.com/skills/duty1g/x64dbg-mcp-server/x64dbg-mcp-server)