Wasdubya/x64dbgMCP
Model Context Protocol for x64dbg & x32dbg
e7474e57d34aPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
- Supply Chain: no dependency file the scanner reads was found, so it has no number
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 56 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
AssemblerAssemble, AssemblerAssembleMem, CommentGet, CommentSet, DebugDeleteBreakpoint, DebugPause and 50 moreNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
57 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses56 tools · AssemblerAssemble, AssemblerAssembleMem, CommentGet +53
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (56: 56 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
AssemblerAssembletool Assemble instruction at address using Script APINetworkoutside text
Assemble instruction at address using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
instruction: Assembly instruction (e.g. "mov eax, 1")
Returns:
Dictionary with assembly resultAssemblerAssembleMemtool Assemble instruction directly into memory using Script APINetworkoutside text
Assemble instruction directly into memory using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
instruction: Assembly instruction (e.g. "mov eax, 1")
Returns:
Status messageCommentGettool Get the comment at the specified address.Networkoutside text
Get the comment at the specified address.
Parameters:
addr: Address to query (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- found: Whether a comment exists
- comment: The comment textCommentSettool Set a comment at the specified address in x64dbg.Networkoutside text
Set a comment at the specified address in x64dbg.
Comments appear in the disassembly view next to the instruction.
Parameters:
addr: Address to set the comment at (hex format, e.g. "0x1400010a0")
text: Comment text
Returns:
Dictionary with success status and addressDebugDeleteBreakpointtool Delete breakpoint at address using Script APINetworkoutside text
Delete breakpoint at address using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
Status messageDebugPausetool Pause execution of the debugged process using Script APINetworkoutside text
Pause execution of the debugged process using Script API
Returns:
Status messageDebugRuntool Resume execution of the debugged process using Script APINetworkoutside text
Resume execution of the debugged process using Script API
Returns:
Status messageDebugSetBreakpointtool Set breakpoint at address using Script APINetworkoutside text
Set breakpoint at address using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
Status messageDebugStepIntool Step into the next instruction using Script APINetworkoutside text
Step into the next instruction using Script API
Returns:
Status messageDebugStepOuttool Step out of the current function using Script APINetworkoutside text
Step out of the current function using Script API
Returns:
Status messageDebugStepOvertool Step over the next instruction using Script APINetworkoutside text
Step over the next instruction using Script API
Returns:
Status messageDebugStoptool Stop debugging using Script APINetworkoutside text
Stop debugging using Script API
Returns:
Status messageDeleteHardwareBreakpointtool Delete a hardware breakpoint at the specified address.Networkoutside text
Delete a hardware breakpoint at the specified address.
Parameters:
addr: Address of the hardware breakpoint to delete (hex format)
Returns:
Dictionary with success status and addressDisasmGetInstructionRangetool Get disassembly of multiple instructions starting at the specified addressNetworkoutside text
Get disassembly of multiple instructions starting at the specified address
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
count: Number of instructions to disassemble (default: 1, max: 100)
Returns:
List of dictionaries containing instruction detailsEnumHandlestool Enumerate all open handles in the debugged process.Networkoutside text
Enumerate all open handles in the debugged process.
Returns handle values, types, access rights, names, and type names.
Useful for analyzing file handles, registry keys, mutexes, events, etc.
Returns:
Dictionary with:
- count: Number of handles
- handles: List of handle objects with handle (hex), typeNumber,
grantedAccess (hex), name, and typeNameEnumTcpConnectionstool Enumerate all TCP connections of the debugged process.Networkoutside text
Enumerate all TCP connections of the debugged process.
Useful for analyzing network activity, identifying C2 connections, etc.
Returns:
Dictionary with:
- count: Number of connections
- connections: List of connection objects with remoteAddress, remotePort,
localAddress, localPort, and stateExecCommandtool Execute a command in x64dbg and return its outputNetworkoutside text
Execute a command in x64dbg and return its output
Ensure that if if the command has arguments, you comma separate the values, but not the command itself I.E. findallmem findallmem 0x140001000,CC,20480
Parameters for commands that use the Reference View:
cmd: Command to execute
offset: Pagination offset for reference view results (default: 0)
limit: Maximum number of reference view rows to return (default: 100, max: 5000)
Returns:
Dictionary with:
- success: Whether the command executed successfully
- refView: References tab data populated by the command (if any), with:
- rowCount: Total number of rows in the references view
- rows: List of rows (paginated), where each row is a list of cell strings
(typically [address, disassembly] or [address, disassembly, string_address, string])FlagGettool Get CPU flag value using TitanEngineNetworkoutside text
Get CPU flag value using TitanEngine
Parameters:
flag: Flag name (ZF, OF, CF, PF, SF, TF, AF, DF, IF)
Returns:
Flag value (True/False)FlagSettool Set CPU flag value using Script APINetworkoutside text
Set CPU flag value using Script API
Parameters:
flag: Flag name (ZF, OF, CF, PF, SF, TF, AF, DF, IF)
value: Flag value (True/False)
Returns:
Status messageGetBranchDestinationtool Get the destination address of a branch instruction (jmp, call, jcc, etc.).Networkoutside text
Get the destination address of a branch instruction (jmp, call, jcc, etc.).
Resolves where the branch at the given address would jump/call to.
Parameters:
addr: Address of the branch instruction (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried instruction address
- destination: The resolved target address
- resolved: Whether the destination was successfully resolvedGetBreakpointListtool Get list of all breakpoints currently set in the debugger.Networkoutside text
Get list of all breakpoints currently set in the debugger.
Parameters:
type: Breakpoint type filter - "all" (default), "normal", "hardware", "memory", "dll", "exception"
Returns:
Dictionary with:
- count: Number of breakpoints
- breakpoints: List of breakpoint objects with type, addr, enabled, singleshoot,
active, name, module, hitCount, fastResume, silent, breakCondition, logText, commandTextGetCallStacktool Get the current call stack of the debugged thread.Networkoutside text
Get the current call stack of the debugged thread.
Returns the full stack trace with addresses, return addresses, and comments.
Returns:
Dictionary with:
- total: Number of stack frames
- entries: List of call stack entries, each with:
- addr: Current address in the frame
- from: Return address (caller)
- to: Called address (callee)
- comment: Auto-generated comment (function name, etc.)GetMemoryMaptool Get the full virtual memory map of the debugged process.Networkoutside text
Get the full virtual memory map of the debugged process.
Returns all memory pages with their base address, size, protection, type, and info.
Returns:
Dictionary with:
- count: Number of memory pages
- pages: List of page objects with base, size, protect (ERW/ER-/-RW/-R-/E--/---),
type (IMG/MAP/PRV), and info (module name or description)GetModuleListtool Get list of loaded modules.Networkoutside text
Get list of loaded modules.
Returns:
Dictionary with count, modules (list of objects), and summary (human-readable lines).GetPatchAttool Check if a specific address has been patched and get patch details.Networkoutside text
Check if a specific address has been patched and get patch details.
Parameters:
addr: Address to check (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- patched: Whether the address is patched
- module: Module name (if patched)
- oldByte: Original byte value (if patched)
- newByte: Patched byte value (if patched)GetPatchListtool Enumerate all memory patches applied in the current debugging session.Networkoutside text
Enumerate all memory patches applied in the current debugging session.
Shows original and patched byte values for each patched address.
Returns:
Dictionary with:
- count: Number of patches
- patches: List of patch objects with module, address, oldByte, newByteGetRegisterDumptool Get a complete dump of all CPU registers in one call.Networkoutside text
Get a complete dump of all CPU registers in one call.
Returns general purpose registers, segment registers, debug registers,
flags, and last error/status information.
Much more efficient than reading registers individually.
Returns:
Dictionary with all register values (cax/ccx/cdx/cbx/csp/cbp/csi/cdi,
r8-r15 on x64, cip, eflags, segment regs, debug regs, flags object,
lastError, lastStatus)GetTebAddresstool Get the Thread Environment Block (TEB) address for a specific thread.Networkoutside text
Get the Thread Environment Block (TEB) address for a specific thread.
Use GetThreadList first to discover thread IDs.
Args:
tid: Thread ID (decimal integer string, e.g. "1234")
Returns:
Dictionary with tid and tebAddress fieldsGetThreadListtool Get list of all threads in the debugged process with detailed information.Networkoutside text
Get list of all threads in the debugged process with detailed information.
Returns:
Dictionary with:
- count: Number of threads
- currentThread: Index of the currently focused thread
- threads: List of thread objects with threadNumber, threadId, threadName,
startAddress, localBase, cip, suspendCount, priority, waitReason,
lastError, cyclesIsDebugActivetool Check if debugger is active (running)Networkoutside text
Check if debugger is active (running)
Returns:
True if running, False otherwiseIsDebuggingtool Check if x64dbg is debugging a processNetworkoutside text
Check if x64dbg is debugging a process
Returns:
True if debugging, False otherwiseLabelGettool Get the label at the specified address.Networkoutside text
Get the label at the specified address.
Parameters:
addr: Address to query (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- found: Whether a label exists at that address
- label: The label text (empty if not found)LabelListtool Get all labels defined in the current debugging session.Networkoutside text
Get all labels defined in the current debugging session.
Returns:
Dictionary with:
- count: Number of labels
- labels: List of label objects with module, rva, text, and manual fieldsLabelSettool Set a label at the specified address in x64dbg.Networkoutside text
Set a label at the specified address in x64dbg.
Labels appear in the disassembly view and are useful for marking important addresses.
Parameters:
addr: Address to set the label at (hex format, e.g. "0x1400010a0")
text: Label text (e.g. "main_decrypt_loop")
Returns:
Dictionary with success status, address, and label textMemoryBasetool Find the base address and size of a module containing the given addressNetworkoutside text
Find the base address and size of a module containing the given address
Parameters:
addr: Memory address (in hex format, e.g. "0x7FF12345")
Returns:
Dictionary containing base_address and size of the moduleMemoryGetProtecttool Get memory protection flagsNetworkoutside text
Get memory protection flags
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
Protection flags in hex formatMemoryIsValidPtrtool Check if memory address is validNetworkoutside text
Check if memory address is valid
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
True if valid, False otherwiseMemoryReadtool Read memory using enhanced Script APINetworkoutside text
Read memory using enhanced Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
size: Number of bytes to read
Returns:
Hexadecimal string representing the memory contentsMemoryRemoteAlloctool Allocate memory in the debuggee's address space.Networkoutside text
Allocate memory in the debuggee's address space.
Useful for code injection, shellcode testing, or creating data buffers.
Parameters:
size: Size in bytes to allocate (hex format, e.g. "0x1000")
addr: Preferred base address (hex format, default "0" for any address)
Returns:
Dictionary with:
- address: The allocated memory address
- size: The requested sizeMemoryRemoteFreetool Free memory previously allocated in the debuggee's address space via MemoryRemoteAlloc.Networkoutside text
Free memory previously allocated in the debuggee's address space via MemoryRemoteAlloc.
Parameters:
addr: Address of the memory to free (hex format, e.g. "0x1000")
Returns:
Dictionary with success statusMemoryWritetool Write memory using enhanced Script APINetworkoutside text
Write memory using enhanced Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
data: Hexadecimal string representing the data to write
Returns:
Status messageMiscParseExpressiontool Parse expression using Script API (numeric / duint result only NO STRINGS).Networkoutside text
Parse expression using Script API (numeric / duint result only NO STRINGS).
Parameters:
expression: Expression to parse (e.g. "[rsp+8]" or "cip")
Returns:
Parsed value in hex formatMiscRemoteGetProcAddresstool Get remote procedure address using Script APINetworkoutside text
Get remote procedure address using Script API
Parameters:
module: Module name (e.g. "kernel32.dll")
api: API name (e.g. "GetProcAddress")
Returns:
Function address in hex formatPatternFindMemtool Find pattern in memory using Script APINetworkoutside text
Find pattern in memory using Script API
Parameters:
start: Start address (in hex format, e.g. "0x1000")
size: Size to search IN DECIMAL
pattern: Pattern to find (e.g. "48 8B 05 ?? ?? ?? ??")
Returns:
Found address in hex format or error messageQuerySymbolstool Enumerate symbols for a specific module. Use GetModuleList first to discover module names.Networkoutside text
Enumerate symbols for a specific module. Use GetModuleList first to discover module names.
Returns imports, exports, and user-defined function symbols for the given module.
Args:
module: Module name to query symbols for (e.g. "kernel32.dll", "ntdll.dll"). Required.
offset: Pagination offset - number of symbols to skip (default: 0)
limit: Maximum number of symbols to return per page (default: 5000, max: 50000)
Returns:
Dictionary with:
- total: Total number of symbols in the module
- module: The module name queried
- offset: Current offset
- limit: Current limit
- symbols: List of symbol objects with rva, name, manual, type fieldsRegisterGettool Get register value using Script APINetworkoutside text
Get register value using Script API
Parameters:
register: Register name (e.g. "eax", "rax", "rip")
Returns:
Register value in hex formatRegisterSettool Set register value using Script APINetworkoutside text
Set register value using Script API
Parameters:
register: Register name (e.g. "eax", "rax", "rip")
value: Value to set (in hex format, e.g. "0x1000")
Returns:
Status messageSetHardwareBreakpointtool Set a hardware breakpoint at the specified address.Networkoutside text
Set a hardware breakpoint at the specified address.
Hardware breakpoints use CPU debug registers (limited to 4 simultaneous).
Parameters:
addr: Address to set the breakpoint at (hex format, e.g. "0x1400010a0")
type: Breakpoint type - "execute" (default), "access" (read/write), or "write" (write only)
Returns:
Dictionary with success status and addressSetPageRightstool Set memory page protection rights at a given addressNetworkoutside text
Set memory page protection rights at a given address
Args:
addr: Virtual address (hex string, e.g. "0x401000")
rights: Rights string (e.g. "rwx", "rx", "rw")
Returns:
True if successful, False otherwiseStackPeektool Peek at stack value using Script APINetworkoutside text
Peek at stack value using Script API
Parameters:
offset: Stack offset (default: "0")
Returns:
Stack value in hex formatStackPoptool Pop value from stack using Script APINetworkoutside text
Pop value from stack using Script API
Returns:
Popped value in hex formatStackPushtool Push value to stack using Script APINetworkoutside text
Push value to stack using Script API
Parameters:
value: Value to push (in hex format, e.g. "0x1000")
Returns:
Previous top value in hex formatStepInWithDisasmtool Step into the next instruction and return both step result and current instruction disassemblyNetworkoutside text
Step into the next instruction and return both step result and current instruction disassembly
Returns:
Dictionary containing step result and current instruction infoStringGetAttool Retrieve the string at a given address in the debugged process.Networkoutside text
Retrieve the string at a given address in the debugged process.
Uses x64dbg's internal string detection (same as the disassembly view).
Parameters:
addr: Memory address (in hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- found: Whether a string was detected at that address
- string: The string content (empty if not found)XrefCounttool Get the count of cross-references to the specified address.Networkoutside text
Get the count of cross-references to the specified address.
This is a lightweight check that doesn't fetch the full reference list.
Parameters:
addr: Target address to count references for (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- count: Number of cross-referencesXrefGettool Get all cross-references (xrefs) TO the specified address.Networkoutside text
Get all cross-references (xrefs) TO the specified address.
Returns the list of addresses that reference the target address,
along with the type of each reference (data, jmp, call).
Note: Results depend on x64dbg's analysis database. Run analysis
first for comprehensive results.
Parameters:
addr: Target address to find references to (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried target address
- refcount: Number of cross-references found
- references: List of reference objects, each with:
- addr: Address of the referrer (the instruction that references the target)
- type: Reference type ("data", "jmp", "call", or "none")
- string: Optional string context at the referrer addressText the model reads (56)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
ExecCommand tool
Execute a command in x64dbg and return its output
Ensure that if if the command has arguments, you comma separate the values, but not the command itself I.E. findallmem findallmem 0x140001000,CC,20480
Parameters for commands that use the Reference View:
cmd: Command to execute
offset: Pagination offset for reference view results (default: 0)
limit: Maximum number of reference view rows to return (default: 100, max: 5000)
Returns:
Dictionary with:
- success: Whether the command executed successfully
- refView: References tab data populated by the command (if any), with:
- rowCount: Total number of rows in the references view
- rows: List of rows (paginated), where each row is a list of cell strings
(typically [address, disassembly] or [address, disassembly, string_address, string])IsDebugActive tool
Check if debugger is active (running)
Returns:
True if running, False otherwiseIsDebugging tool
Check if x64dbg is debugging a process
Returns:
True if debugging, False otherwiseRegisterGet tool
Get register value using Script API
Parameters:
register: Register name (e.g. "eax", "rax", "rip")
Returns:
Register value in hex formatRegisterSet tool
Set register value using Script API
Parameters:
register: Register name (e.g. "eax", "rax", "rip")
value: Value to set (in hex format, e.g. "0x1000")
Returns:
Status messageMemoryRead tool
Read memory using enhanced Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
size: Number of bytes to read
Returns:
Hexadecimal string representing the memory contentsMemoryWrite tool
Write memory using enhanced Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
data: Hexadecimal string representing the data to write
Returns:
Status messageMemoryIsValidPtr tool
Check if memory address is valid
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
True if valid, False otherwiseMemoryGetProtect tool
Get memory protection flags
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
Protection flags in hex formatDebugRun tool
Resume execution of the debugged process using Script API
Returns:
Status messageDebugPause tool
Pause execution of the debugged process using Script API
Returns:
Status messageDebugStop tool
Stop debugging using Script API
Returns:
Status messageDebugStepIn tool
Step into the next instruction using Script API
Returns:
Status messageDebugStepOver tool
Step over the next instruction using Script API
Returns:
Status messageDebugStepOut tool
Step out of the current function using Script API
Returns:
Status messageDebugSetBreakpoint tool
Set breakpoint at address using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
Status messageDebugDeleteBreakpoint tool
Delete breakpoint at address using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
Returns:
Status messageAssemblerAssemble tool
Assemble instruction at address using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
instruction: Assembly instruction (e.g. "mov eax, 1")
Returns:
Dictionary with assembly resultAssemblerAssembleMem tool
Assemble instruction directly into memory using Script API
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
instruction: Assembly instruction (e.g. "mov eax, 1")
Returns:
Status messageStackPop tool
Pop value from stack using Script API
Returns:
Popped value in hex formatStackPush tool
Push value to stack using Script API
Parameters:
value: Value to push (in hex format, e.g. "0x1000")
Returns:
Previous top value in hex formatStackPeek tool
Peek at stack value using Script API
Parameters:
offset: Stack offset (default: "0")
Returns:
Stack value in hex formatFlagGet tool
Get CPU flag value using TitanEngine
Parameters:
flag: Flag name (ZF, OF, CF, PF, SF, TF, AF, DF, IF)
Returns:
Flag value (True/False)FlagSet tool
Set CPU flag value using Script API
Parameters:
flag: Flag name (ZF, OF, CF, PF, SF, TF, AF, DF, IF)
value: Flag value (True/False)
Returns:
Status messagePatternFindMem tool
Find pattern in memory using Script API
Parameters:
start: Start address (in hex format, e.g. "0x1000")
size: Size to search IN DECIMAL
pattern: Pattern to find (e.g. "48 8B 05 ?? ?? ?? ??")
Returns:
Found address in hex format or error messageMiscParseExpression tool
Parse expression using Script API (numeric / duint result only NO STRINGS).
Parameters:
expression: Expression to parse (e.g. "[rsp+8]" or "cip")
Returns:
Parsed value in hex formatMiscRemoteGetProcAddress tool
Get remote procedure address using Script API
Parameters:
module: Module name (e.g. "kernel32.dll")
api: API name (e.g. "GetProcAddress")
Returns:
Function address in hex formatDisasmGetInstructionRange tool
Get disassembly of multiple instructions starting at the specified address
Parameters:
addr: Memory address (in hex format, e.g. "0x1000")
count: Number of instructions to disassemble (default: 1, max: 100)
Returns:
List of dictionaries containing instruction detailsStepInWithDisasm tool
Step into the next instruction and return both step result and current instruction disassembly
Returns:
Dictionary containing step result and current instruction infoGetModuleList tool
Get list of loaded modules.
Returns:
Dictionary with count, modules (list of objects), and summary (human-readable lines).QuerySymbols tool
Enumerate symbols for a specific module. Use GetModuleList first to discover module names.
Returns imports, exports, and user-defined function symbols for the given module.
Args:
module: Module name to query symbols for (e.g. "kernel32.dll", "ntdll.dll"). Required.
offset: Pagination offset - number of symbols to skip (default: 0)
limit: Maximum number of symbols to return per page (default: 5000, max: 50000)
Returns:
Dictionary with:
- total: Total number of symbols in the module
- module: The module name queried
- offset: Current offset
- limit: Current limit
- symbols: List of symbol objects with rva, name, manual, type fieldsGetThreadList tool
Get list of all threads in the debugged process with detailed information.
Returns:
Dictionary with:
- count: Number of threads
- currentThread: Index of the currently focused thread
- threads: List of thread objects with threadNumber, threadId, threadName,
startAddress, localBase, cip, suspendCount, priority, waitReason,
lastError, cyclesGetTebAddress tool
Get the Thread Environment Block (TEB) address for a specific thread.
Use GetThreadList first to discover thread IDs.
Args:
tid: Thread ID (decimal integer string, e.g. "1234")
Returns:
Dictionary with tid and tebAddress fieldsMemoryBase tool
Find the base address and size of a module containing the given address
Parameters:
addr: Memory address (in hex format, e.g. "0x7FF12345")
Returns:
Dictionary containing base_address and size of the moduleSetPageRights tool
Set memory page protection rights at a given address
Args:
addr: Virtual address (hex string, e.g. "0x401000")
rights: Rights string (e.g. "rwx", "rx", "rw")
Returns:
True if successful, False otherwiseStringGetAt tool
Retrieve the string at a given address in the debugged process.
Uses x64dbg's internal string detection (same as the disassembly view).
Parameters:
addr: Memory address (in hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- found: Whether a string was detected at that address
- string: The string content (empty if not found)XrefGet tool
Get all cross-references (xrefs) TO the specified address.
Returns the list of addresses that reference the target address,
along with the type of each reference (data, jmp, call).
Note: Results depend on x64dbg's analysis database. Run analysis
first for comprehensive results.
Parameters:
addr: Target address to find references to (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried target address
- refcount: Number of cross-references found
- references: List of reference objects, each with:
- addr: Address of the referrer (the instruction that references the target)
- type: Reference type ("data", "jmp", "call", or "none")
- string: Optional string context at the referrer addressXrefCount tool
Get the count of cross-references to the specified address.
This is a lightweight check that doesn't fetch the full reference list.
Parameters:
addr: Target address to count references for (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- count: Number of cross-referencesGetMemoryMap tool
Get the full virtual memory map of the debugged process.
Returns all memory pages with their base address, size, protection, type, and info.
Returns:
Dictionary with:
- count: Number of memory pages
- pages: List of page objects with base, size, protect (ERW/ER-/-RW/-R-/E--/---),
type (IMG/MAP/PRV), and info (module name or description)MemoryRemoteAlloc tool
Allocate memory in the debuggee's address space.
Useful for code injection, shellcode testing, or creating data buffers.
Parameters:
size: Size in bytes to allocate (hex format, e.g. "0x1000")
addr: Preferred base address (hex format, default "0" for any address)
Returns:
Dictionary with:
- address: The allocated memory address
- size: The requested sizeMemoryRemoteFree tool
Free memory previously allocated in the debuggee's address space via MemoryRemoteAlloc.
Parameters:
addr: Address of the memory to free (hex format, e.g. "0x1000")
Returns:
Dictionary with success statusGetBranchDestination tool
Get the destination address of a branch instruction (jmp, call, jcc, etc.).
Resolves where the branch at the given address would jump/call to.
Parameters:
addr: Address of the branch instruction (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried instruction address
- destination: The resolved target address
- resolved: Whether the destination was successfully resolvedGetCallStack tool
Get the current call stack of the debugged thread.
Returns the full stack trace with addresses, return addresses, and comments.
Returns:
Dictionary with:
- total: Number of stack frames
- entries: List of call stack entries, each with:
- addr: Current address in the frame
- from: Return address (caller)
- to: Called address (callee)
- comment: Auto-generated comment (function name, etc.)GetBreakpointList tool
Get list of all breakpoints currently set in the debugger.
Parameters:
type: Breakpoint type filter - "all" (default), "normal", "hardware", "memory", "dll", "exception"
Returns:
Dictionary with:
- count: Number of breakpoints
- breakpoints: List of breakpoint objects with type, addr, enabled, singleshoot,
active, name, module, hitCount, fastResume, silent, breakCondition, logText, commandTextLabelSet tool
Set a label at the specified address in x64dbg.
Labels appear in the disassembly view and are useful for marking important addresses.
Parameters:
addr: Address to set the label at (hex format, e.g. "0x1400010a0")
text: Label text (e.g. "main_decrypt_loop")
Returns:
Dictionary with success status, address, and label textLabelGet tool
Get the label at the specified address.
Parameters:
addr: Address to query (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- found: Whether a label exists at that address
- label: The label text (empty if not found)LabelList tool
Get all labels defined in the current debugging session.
Returns:
Dictionary with:
- count: Number of labels
- labels: List of label objects with module, rva, text, and manual fieldsCommentSet tool
Set a comment at the specified address in x64dbg.
Comments appear in the disassembly view next to the instruction.
Parameters:
addr: Address to set the comment at (hex format, e.g. "0x1400010a0")
text: Comment text
Returns:
Dictionary with success status and addressCommentGet tool
Get the comment at the specified address.
Parameters:
addr: Address to query (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- found: Whether a comment exists
- comment: The comment textGetRegisterDump tool
Get a complete dump of all CPU registers in one call.
Returns general purpose registers, segment registers, debug registers,
flags, and last error/status information.
Much more efficient than reading registers individually.
Returns:
Dictionary with all register values (cax/ccx/cdx/cbx/csp/cbp/csi/cdi,
r8-r15 on x64, cip, eflags, segment regs, debug regs, flags object,
lastError, lastStatus)SetHardwareBreakpoint tool
Set a hardware breakpoint at the specified address.
Hardware breakpoints use CPU debug registers (limited to 4 simultaneous).
Parameters:
addr: Address to set the breakpoint at (hex format, e.g. "0x1400010a0")
type: Breakpoint type - "execute" (default), "access" (read/write), or "write" (write only)
Returns:
Dictionary with success status and addressDeleteHardwareBreakpoint tool
Delete a hardware breakpoint at the specified address.
Parameters:
addr: Address of the hardware breakpoint to delete (hex format)
Returns:
Dictionary with success status and addressEnumTcpConnections tool
Enumerate all TCP connections of the debugged process.
Useful for analyzing network activity, identifying C2 connections, etc.
Returns:
Dictionary with:
- count: Number of connections
- connections: List of connection objects with remoteAddress, remotePort,
localAddress, localPort, and stateGetPatchList tool
Enumerate all memory patches applied in the current debugging session.
Shows original and patched byte values for each patched address.
Returns:
Dictionary with:
- count: Number of patches
- patches: List of patch objects with module, address, oldByte, newByteGetPatchAt tool
Check if a specific address has been patched and get patch details.
Parameters:
addr: Address to check (hex format, e.g. "0x1400010a0")
Returns:
Dictionary with:
- address: The queried address
- patched: Whether the address is patched
- module: Module name (if patched)
- oldByte: Original byte value (if patched)
- newByte: Patched byte value (if patched)EnumHandles tool
Enumerate all open handles in the debugged process.
Returns handle values, types, access rights, names, and type names.
Useful for analyzing file handles, registry keys, mutexes, events, etc.
Returns:
Dictionary with:
- count: Number of handles
- handles: List of handle objects with handle (hex), typeNumber,
grantedAccess (hex), name, and typeNameWhat we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 56 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 56 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 56 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 56 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 56 tool handlers traced
- Tools that start processesNot seen in the traced code of 56 capabilities; 56 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 56 capabilities; 56 more call code the scanner could not follow, where it may happen
- Tools that call the network56 of 56 capabilities call the network
Where the code is: 56 handlers in 1 file at commit e7474e57d34a
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifestsNo manifest found
- Lockfiles checked against OSVNothing could be resolved to exact versions
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 56 capabilities; 56 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| Servers in the code | 1 (x64dbg-mcp) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-06-05 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 2 catalogs (github_search, mcpservers_org) |
|---|---|
| License | GPL-3.0 |
| Created | 2025-04-06 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.