miscusi-peek/cheatengine-mcp-bridge
Connect your favorite AI agents directly to Cheat Engine via MCP. Automate reverse engineering, pointer scanning, and memory analysis using natural language.
6bd7ce904792Paths 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
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- In 120 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
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. Not every path through the code could be followed. 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.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- 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 175 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.
run_command, shell_executeNo tool was seen to: start other programs on the machine; read or write files; connect to the internet or other hosts; read passwords, tokens or keys; 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.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
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 (175: 175 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
add_element_to_structuretool Add a new element to an existing CE structure.
Add a new element to an existing CE structure.
Args:
structure_id: The structure ID returned by create_structure or get_structure_by_name.
name: The element name.
offset: The byte offset of the element within the structure.
type: The variable type. Accepted values: byte, word, dword, qword,
float, single, double, string, aob, bytearray, pointer.
Returns JSON with: success, element_index.allocate_kernel_memorytool Allocate non-paged kernel memory via the DBK driver.
Allocate non-paged kernel memory via the DBK driver.
Requires the Cheat Engine kernel driver (DBK) to be loaded.
Args:
size: Number of bytes to allocate.
Returns JSON with: success, address.
Error codes: DBK_NOT_LOADED if the kernel driver is not active.allocate_memorytool Allocate memory in the target process.
Allocate memory in the target process.
Args:
size: Number of bytes to allocate.
base_address: Preferred base address as hex string (e.g. "0x140000000"). Optional.
protection: Access flags — "r" (read-only), "rw" (read-write),
"rx" (read-execute), "rwx" (read-write-execute, default).
Returns JSON with: success, address.allocate_shared_memorytool Create and map a shared memory region in the target process.
Create and map a shared memory region in the target process.
The region is allocated with non-executable protection by default.
Args:
name: Unique name for the shared memory object.
size: Size in bytes. Defaults to 4096 if the region does not yet exist.
Returns JSON with: success, address.analyze_functiontool Analyze a function to find all CALL instructions output (calls made by this function).
Analyze a function to find all CALL instructions output (calls made by this function).
analyze_pointer_accesstool Parse a captured memory access (instruction + register snapshot from a breakpoint/DBVM hit) into base register, displacement, and the concrete struct-base addre
Parse a captured memory access (instruction + register snapshot from a breakpoint/DBVM hit) into base register, displacement, and the concrete struct-base address for pointer-chain walk-back. Pure analysis; no process access. next_scan_value is the address to scan for (as a pointer) to find the next level up.
aob_scantool Scan for an Array of Bytes (AOB) pattern. Example: '48 89 5C 24'.
Scan for an Array of Bytes (AOB) pattern. Example: '48 89 5C 24'.
aob_scan_moduletool Scan for an AOB pattern restricted to a specific module's memory range.
Scan for an AOB pattern restricted to a specific module's memory range.
Returns {success, count, addresses: [str]}.aob_scan_module_uniquetool Scan for an AOB pattern in a specific module that must match exactly once.
Scan for an AOB pattern in a specific module that must match exactly once.
Returns {success, address} or error with count.aob_scan_uniquetool Scan for an AOB pattern that must match exactly once. Returns {success, address} or error with count.
Scan for an AOB pattern that must match exactly once. Returns {success, address} or error with count.
Use this when you expect a signature to be unique in the process.assemble_instructiontool Assemble a single x86/x64 instruction into bytes.
Assemble a single x86/x64 instruction into bytes.
Requires an attached process when an address is given (the address is used to
resolve relative operands such as JMP targets).
Returns {success, bytes: [int], size: int}.
preference: 0=none, 1=short, 2=long, 3=far.auto_assembletool Run an AutoAssembler script (injection, code caves, etc).
Run an AutoAssembler script (injection, code caves, etc).
auto_assemble_checktool Validate an Auto Assembler script for syntax errors without executing it.
Validate an Auto Assembler script for syntax errors without executing it.
Returns {success, valid: bool, errors: [str]}.
enable: True checks the [Enable] section; False checks [Disable].
target_self: if True, validates against CE's own process instead of the target.beeptool Play a simple system beep sound.
Play a simple system beep sound.
check_synchronizetool Process queued main-thread calls (checkSynchronize).
Process queued main-thread calls (checkSynchronize).
Call this from an infinite loop in the main thread when using threading
and synchronize calls. Returns {success}.checksum_memorytool Calculate MD5 checksum of a memory region to detect changes.
Calculate MD5 checksum of a memory region to detect changes.
clear_all_breakpointstool Remove ALL breakpoints.
Remove ALL breakpoints.
compare_memorytool Compare two memory regions. Methods: 0=target/target, 1=addr1=target addr2=CE, 2=both CE. Returns equal flag and first_diff byte index (-1 if equal).
Compare two memory regions. Methods: 0=target/target, 1=addr1=target addr2=CE, 2=both CE. Returns equal flag and first_diff byte index (-1 if equal).
compile_c_codetool Compile C source code using CE's built-in TCC compiler.
Compile C source code using CE's built-in TCC compiler.
Does not require an attached process unless an address is provided.
Returns {success, symbols: {name: address}, errors: [str]}.
If TCC is unavailable: {success=false, error="TCC compiler not available",
error_code="CE_API_UNAVAILABLE"}.compile_cs_codetool Compile C# source code using CE's .NET compiler (requires .NET 4+).
Compile C# source code using CE's .NET compiler (requires .NET 4+).
Returns {success, assembly_handle: str} where assembly_handle is the path to
the generated assembly. On .NET runtime absent:
{success=false, error_code="CE_API_UNAVAILABLE"}.copy_memorytool Copy memory between addresses. Methods: 0=target→target, 1=target→CE, 2=CE→target, 3=CE→CE. Returns dest_address allocated by CE if dest is None.
Copy memory between addresses. Methods: 0=target→target, 1=target→CE, 2=CE→target, 3=CE→CE. Returns dest_address allocated by CE if dest is None.
create_memory_recordtool Create a new memory record in the cheat table address list.
Create a new memory record in the cheat table address list.
Args:
description: Human-readable label for the new entry.
address: Address string (hex, symbol, or pointer expression) to watch.
var_type: Variable type — byte, word, dword, qword, float, double, string, bytearray (default: dword).
Returns JSON with: success, id, record ({id, description, address, type, value, offsets, enabled}).create_persistent_scantool Create a named, stateful memory scan session. Use the name with persistent_scan_* tools.
Create a named, stateful memory scan session. Use the name with persistent_scan_* tools.
Returns {success, scan_name}.create_processtool Create and optionally debug a new process.
Create and optionally debug a new process.
Args:
path: Full path to the executable.
args: Command-line arguments string (default empty).
debug: Attach Windows debugger if True.
break_on_entry: Break on entry point if True (requires debug=True).
Returns:
JSON with {success, process_id}.create_sectiontool Create a Windows section (shared memory) of the given size. Returns a handle as a hex string.
Create a Windows section (shared memory) of the given size. Returns a handle as a hex string.
create_structuretool Create a new empty CE structure definition and add it to the global list.
Create a new empty CE structure definition and add it to the global list.
Args:
name: The name for the new structure.
Returns JSON with: success, structure_id.create_threadtool Execute Lua code in a new CE thread.
Execute Lua code in a new CE thread.
SECURITY WARNING: This tool executes arbitrary Lua code inside CE's process,
carrying the same risk as evaluate_lua. Only use with trusted code.
Returns {success, thread_id}.dbk_get_cr0tool Read Control Register 0 (CR0) via the DBK kernel driver.
Read Control Register 0 (CR0) via the DBK kernel driver.
Requires the DBK kernel driver to be loaded (CE Settings -> Debugger -> Kernelmode).
Returns cr0 as a hex string.dbk_get_cr3tool Read Control Register 3 (CR3 — page-table base) via DBK or DBVM.
Read Control Register 3 (CR3 — page-table base) via DBK or DBVM.
Works when either the DBK kernel driver or the DBVM hypervisor is loaded.
Returns cr3 as a hex string.dbk_get_cr4tool Read Control Register 4 (CR4) via the DBK kernel driver.
Read Control Register 4 (CR4) via the DBK kernel driver.
Requires the DBK kernel driver to be loaded (CE Settings -> Debugger -> Kernelmode).
Returns cr4 as a hex string.dbk_writes_ignore_write_protectiontool Toggle whether DBK memory writes bypass copy-on-write (CoW) protection.
Toggle whether DBK memory writes bypass copy-on-write (CoW) protection.
When enabled, writes go directly to the underlying physical page instead of
triggering a page fault and creating a process-private copy. Useful when
patching shared read-only pages across all processes simultaneously.
Requires: DBK kernel driver loaded.
Args:
enable: True to bypass CoW; False to restore normal CoW behaviour.debug_break_threadtool Break a specific thread by its thread ID.
Break a specific thread by its thread ID.
The thread may not stop instantly — it must be scheduled to run first.
Requires the debugger to be attached. Returns {success}.debug_continuetool Continue execution from a breakpoint.
Continue execution from a breakpoint.
method: one of 'run' (co_run), 'step_into' (co_stepinto), 'step_over' (co_stepover).
Requires the debugger to be attached. Returns {success}.debug_detachtool Detach the debugger from the target process if possible.
Detach the debugger from the target process if possible.
Returns {success, detached: bool}. Safe to call when no debugger is active.debug_get_contexttool Get the current thread's CPU register context. Set extra_regs=True to include XMM0-15 and FP0-7.
Get the current thread's CPU register context. Set extra_regs=True to include XMM0-15 and FP0-7.
debug_get_current_debugger_interfacetool Return the active debugger interface used by CE.
Return the active debugger interface used by CE.
Returns {success, interface: int | null, interface_name: str}.
interface_name values: 'windows_native', 'veh', 'kernel', 'mac_native', 'gdb', 'none'.debug_get_last_branch_recordtool Get the from/to addresses of a Last Branch Record entry at the given index.
Get the from/to addresses of a Last Branch Record entry at the given index.
debug_get_xmm_pointertool Return the CE-local memory address of an XMM register (0-15) for the currently broken thread.
Return the CE-local memory address of an XMM register (0-15) for the currently broken thread.
debug_is_debuggingtool Check whether the CE debugger has been started.
Check whether the CE debugger has been started.
Always safe to call; no process guard. Returns {success, is_debugging: bool}.debug_processtool Start the CE debugger for the currently opened process.
Start the CE debugger for the currently opened process.
interface: CE debugger interface enum.
0 = default, 1 = Windows native, 2 = VEH debugger,
3 = kernel debugger (DBK), 4 = DBVM.
Requires a process to be attached. Returns {success, interface_used, interface_name}.debug_remove_breakpoint_for_threadtool Remove a per-thread breakpoint at the given address for the given thread.
Remove a per-thread breakpoint at the given address for the given thread.
debug_set_breakpoint_for_threadtool Set a breakpoint that fires only on a specific thread. trigger: execute|write|read|access.
Set a breakpoint that fires only on a specific thread. trigger: execute|write|read|access.
debug_set_contexttool Set CPU register values in the paused thread. Pass a dict like {\"RAX\": \"0x1234\", \"RIP\": \"0x140001000\"}.
Set CPU register values in the paused thread. Pass a dict like {\"RAX\": \"0x1234\", \"RIP\": \"0x140001000\"}.debug_set_last_branch_recordingtool Enable or disable Intel LBR (Last Branch Recording). Requires kernel-mode debugger.
Enable or disable Intel LBR (Last Branch Recording). Requires kernel-mode debugger.
delete_all_registered_symbolstool Delete every user-registered symbol (both AA and Lua).
Delete every user-registered symbol (both AA and Lua).
Returns JSON with: success, deleted_count.delete_filetool Delete a file at the given path. Returns {success}.
Delete a file at the given path. Returns {success}.
WARNING: This is a destructive operation. The file will be permanently deleted
from disk. Path traversal sequences ('..') are blocked by the bridge. Use with
extreme caution — there is no undo.delete_memory_recordtool Delete a memory record from the cheat table address list by ID.
Delete a memory record from the cheat table address list by ID.
Args:
id: Unique numeric ID of the memory record to delete.
Returns JSON with: success.delete_structuretool Delete a CE structure from the global list and free it.
Delete a CE structure from the global list and free it.
Args:
structure_id: The structure ID to delete.
Returns JSON with: success.disassembletool Disassemble instructions starting at an address.
Disassemble instructions starting at an address.
Args:
address: Target address (hex string or symbol).
count: Number of instructions to generate (default 20).
offset: Start index within the generated list for pagination (default 0).
limit: Maximum instructions to return (default 100, max 10000).
Returns JSON with: success, start_address, total, offset, limit, returned, instructions.dissect_structuretool Use CE's auto-guess feature to interpret memory at address as a structure.
Use CE's auto-guess feature to interpret memory at address as a structure.
do_key_presstool Simulate a full key press (down + up) for the given key.
Simulate a full key press (down + up) for the given key.
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space).enable_kernel_symbolstool Enable kernel-mode symbol resolution (requires DBK driver).
Enable kernel-mode symbol resolution (requires DBK driver).
Returns JSON with: success.
On failure returns error_code DBK_NOT_LOADED if the kernel driver is absent.enable_windows_symbolstool Trigger download and load of Windows PDB symbol files.
Trigger download and load of Windows PDB symbol files.
Note: The actual PDB download and indexing is asynchronous; this call returns
immediately once the process has been initiated by Cheat Engine.
Returns JSON with: success.enum_memory_regions_fulltool Enumerate ALL memory regions in the process (Native EnumMemoryRegions).
Enumerate ALL memory regions in the process (Native EnumMemoryRegions).
Args:
offset: Start index for pagination (default 0).
limit: Maximum regions to return (default 100, max 10000). Preferred over 'max'.
max: Deprecated alias for 'limit'. Use 'limit' instead.
Returns JSON with: success, total, offset, limit, returned, regions.enum_modulestool List all loaded modules (DLLs) with their base addresses and sizes.
List all loaded modules (DLLs) with their base addresses and sizes.
Args:
offset: Start index for pagination (default 0).
limit: Maximum modules to return (default 100, max 10000).
Returns JSON with: success, total, offset, limit, returned, modules.enum_registered_symbolstool List all user-registered symbols.
List all user-registered symbols.
Returns JSON with: success, count, symbols (list of {name, address, module}).evaluate_luatool Execute arbitrary Lua code in Cheat Engine.
Execute arbitrary Lua code in Cheat Engine.
execute_codetool Call a stdcall function with one argument at the given address in the target process.
Call a stdcall function with one argument at the given address in the target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
Args:
address: Address (hex string or symbol) of the function to call.
param: Integer argument passed as the single parameter.
timeout: Milliseconds to wait (-1 = indefinitely).
Returns:
JSON with {success, return_value}.execute_code_extool Call a function with an explicit calling convention and multiple arguments.
Call a function with an explicit calling convention and multiple arguments.
Security warning: Executes arbitrary code in the target process. Use with caution.
call_method values:
0 = stdcall
1 = cdecl
2 = thiscall
3 = fastcall
Args:
call_method: Integer calling convention identifier.
timeout: Milliseconds to wait (-1 = indefinitely, 0 = fire-and-forget).
address: Address (hex string or symbol) of the function to call.
args: List of arguments. Each element can be a raw value (CE guesses type)
or a dict with keys 'type' and 'value'.
Returns:
JSON with {success, return_value}.execute_code_localtool Call a stdcall function inside Cheat Engine's own process (NOT the target).
Call a stdcall function inside Cheat Engine's own process (NOT the target).
Security warning: Executes arbitrary code in the CE process. Use with caution.
Useful for calling CE internal helpers or code loaded into CE itself.
Args:
address: Address within CE's memory space to call.
param: Integer argument passed as the single parameter.
Returns:
JSON with {success, return_value}.execute_code_local_extool Call a function inside Cheat Engine's own process with explicit calling convention.
Call a function inside Cheat Engine's own process with explicit calling convention.
Security warning: Executes arbitrary code in the CE process. Use with caution.
call_method values:
0 = stdcall
1 = cdecl
2 = thiscall
3 = fastcall
Args:
address: Address within CE's memory space to call.
args: List of arguments passed to the function.
call_method: Integer calling convention identifier.
Returns:
JSON with {success, return_value}.execute_methodtool Call a C++ instance method with an implicit 'this' pointer in the target process.
Call a C++ instance method with an implicit 'this' pointer in the target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
The instance pointer is placed into the register selected by call_method (ECX by default
for thiscall). If instance is None the call behaves like execute_code_ex.
Args:
address: Address (hex string or symbol) of the method to call.
instance: Address of the object instance ('this' pointer).
args: List of additional arguments passed after 'this'.
call_method: Calling convention (0=stdcall, 1=cdecl, 2=thiscall, 3=fastcall).
timeout: Milliseconds to wait (-1 = indefinitely).
Returns:
JSON with {success, return_value}.export_structure_to_xmltool Export a CE structure definition as XML.
Export a CE structure definition as XML.
Args:
structure_id: The structure ID.
Returns JSON with: success, xml (XML string representation of the structure).file_existstool Check whether a file exists at the given path. Returns {success, exists: bool}.
Check whether a file exists at the given path. Returns {success, exists: bool}.find_call_referencestool Find all locations that CALL this function.
Find all locations that CALL this function.
Args:
function_address: Address of the function to find callers of.
offset: Start index for pagination (default 0).
limit: Maximum callers to return (default 100, max 10000).
Returns JSON with: success, function_address, total, offset, limit, returned, callers.find_function_boundariestool Attempt to find the start and end of a function containing the address.
Attempt to find the start and end of a function containing the address.
find_referencestool Find instructions that access (reference) this address.
Find instructions that access (reference) this address.
Args:
address: Target address to find references to.
offset: Start index for pagination (default 0).
limit: Maximum references to return (default 50, max 10000).
Returns JSON with: success, target, total, offset, limit, returned, references, arch.find_windowtool Find a top-level window by title and/or class name (system-wide, no process required).
Find a top-level window by title and/or class name (system-wide, no process required).
At least one of title or class_name must be provided.
Returns {success, handle} on success or {success=false, error_code="NOT_FOUND"} when
no matching window exists.free_memorytool Free memory previously allocated in the target process.
Free memory previously allocated in the target process.
Args:
address: Address of the region to free as hex string.
size: Size of the region in bytes. Use 0 to let the OS determine it (default).
Returns JSON with: success.full_accesstool Grant full read-write-execute access to a memory region (convenience wrapper).
Grant full read-write-execute access to a memory region (convenience wrapper).
Args:
address: Start address as hex string.
size: Size in bytes of the region.
Returns JSON with: success.generate_api_hook_scripttool Generate an Auto Assembler script that hooks a function and redirects it.
Generate an Auto Assembler script that hooks a function and redirects it.
Requires an attached process. address is the function to hook;
target_address is where execution should jump after the hook.
code_to_execute is optional extra AA code inserted into the generated script.
Returns {success, script: str}.generate_code_injection_scripttool Generate a boilerplate code-injection Auto Assembler script for an address.
Generate a boilerplate code-injection Auto Assembler script for an address.
Requires an attached process.
Returns {success, script: str} — the script can be used as a starting point
for patching code at that location.generate_signaturetool Generate a unique AOB signature that can find this specific address again.
Generate a unique AOB signature that can find this specific address again.
get_address_infotool Get symbolic name and module info for an address (Reverse of get_symbol_address).
Get symbolic name and module info for an address (Reverse of get_symbol_address).
get_address_listtool List memory records in the current cheat table's address list.
List memory records in the current cheat table's address list.
Args:
offset: Zero-based index of the first record to return.
limit: Maximum number of records to return (default 100).
Returns JSON with: success, total, offset, limit, returned, records (list of
{id, description, address, type, value, offsets, enabled}).get_breakpoint_hitstool Get hits for a specific breakpoint ID (or all if None). Set clear=True to flush buffer.
Get hits for a specific breakpoint ID (or all if None). Set clear=True to flush buffer.
Args:
id: Breakpoint ID to query, or None for all breakpoints.
clear: If True, flush the hit buffer after reading (default False).
offset: Start index for pagination (default 0).
limit: Maximum hits to return (default 100, max 10000).
Returns JSON with: success, total, offset, limit, returned, hits.get_directory_listtool List subdirectories in the given directory path. Returns {success, count, directories: [str]}.
List subdirectories in the given directory path. Returns {success, count, directories: [str]}.get_file_listtool List files in the given directory path. Returns {success, count, files: [str]}.
List files in the given directory path. Returns {success, count, files: [str]}.get_file_versiontool Get the version info of a file (major, minor, release, build). Returns {success, major, minor, release, build, version_string}.
Get the version info of a file (major, minor, release, build). Returns {success, major, minor, release, build, version_string}.get_foreground_processtool Get the PID and window handle of the process currently in the foreground.
Get the PID and window handle of the process currently in the foreground.
Returns:
JSON with {success, process_id, window_handle}.get_global_variabletool Read a global variable from CE's main Lua state.
Read a global variable from CE's main Lua state.
Useful for reading values set by scripts running in other threads.
Returns {success, value} where value is stringified via tostring().get_instruction_infotool Get detailed info about a single instruction (size, bytes, opcode).
Get detailed info about a single instruction (size, bytes, opcode).
get_memory_protectiontool Query the protection flags of a memory page in the target process.
Query the protection flags of a memory page in the target process.
Args:
address: Address to query as hex string.
Returns JSON with: success, read (bool), write (bool), execute (bool), raw (PAGE_* name).get_memory_recordtool Retrieve a single memory record by ID or description.
Retrieve a single memory record by ID or description.
Args:
id: Unique numeric ID of the memory record.
description: Description string of the memory record (used when id is not provided).
Returns JSON with: success, record ({id, description, address, type, value, offsets, enabled}).get_memory_record_valuetool Read the current value of a memory record as a string.
Read the current value of a memory record as a string.
Args:
id: Unique numeric ID of the memory record.
Returns JSON with: success, value (string representation of the current value).get_memory_regionstool Get list of valid memory regions nearby common bases.
Get list of valid memory regions nearby common bases.
get_module_sizetool Get the in-memory size of a loaded module.
Get the in-memory size of a loaded module.
Requires an attached process.
Args:
module_name: Module filename (e.g. 'kernel32.dll').
Returns JSON with: success, size.get_mouse_postool Get the current mouse cursor position. Returns x and y screen coordinates.
Get the current mouse cursor position. Returns x and y screen coordinates.
get_opened_process_handletool Get the OS handle of the process currently attached to Cheat Engine as a hex string.
Get the OS handle of the process currently attached to Cheat Engine as a hex string.
Returns:
JSON with {success, handle} where handle is a hex string.get_opened_process_idtool Get the PID of the process currently attached to Cheat Engine.
Get the PID of the process currently attached to Cheat Engine.
Returns:
JSON with {success, process_id} or {success=false, error_code="NO_PROCESS"}.get_physical_addresstool Translate Virtual Address to Physical Address (requires DBVM).
Translate Virtual Address to Physical Address (requires DBVM).
get_physical_address_cr3tool Translate a virtual address to its physical address using an explicit CR3.
Translate a virtual address to its physical address using an explicit CR3.
Unlike get_physical_address (which uses the currently attached process's CR3),
this function lets you walk any process's page table — useful for cross-process
physical memory analysis.
Requires: DBK kernel driver or DBVM hypervisor loaded; a process must be attached.
Args:
cr3: CR3 value (hex string or integer) of the target process's page table.
virtual_address: Virtual address to translate (hex string or symbol name).get_pixeltool Get the colour of a screen pixel at (x, y). Returns r, g, b channels and the raw COLORREF integer.
Get the colour of a screen pixel at (x, y). Returns r, g, b channels and the raw COLORREF integer.
get_process_infotool Get current process ID, name, modules count and architecture.
Get current process ID, name, modules count and architecture.
get_process_listtool Get the list of running processes on the system.
Get the list of running processes on the system.
Returns:
JSON with {success, count, processes: [{pid: int, name: str}, ...]}.get_processid_from_nametool Look up the PID of a process by its executable name.
Look up the PID of a process by its executable name.
Args:
name: Process name to search for (e.g. "notepad.exe").
Returns:
JSON with {success, process_id} or {success=false, error, error_code="NOT_FOUND"}.get_rtti_classnametool Try to identify the class name of an object at address using Run-Time Type Information.
Try to identify the class name of an object at address using Run-Time Type Information.
get_scan_resultstool Get results from the last 'scan_all' operation.
Get results from the last 'scan_all' operation.
Args:
offset: Start index for pagination (default 0).
limit: Maximum results to return (default 100, max 10000). Preferred over 'max'.
max: Deprecated alias for 'limit'. Use 'limit' instead.
Returns JSON with: success, total, offset, limit, returned, results.get_screen_infotool Get the primary screen dimensions and DPI. Returns width, height (pixels) and dpi.
Get the primary screen dimensions and DPI. Returns width, height (pixels) and dpi.
get_structure_by_nametool Find a CE structure by name in the global structure list.
Find a CE structure by name in the global structure list.
Args:
name: The structure name to search for.
Returns JSON with: success, structure_id, name, element_count, size.get_structure_elementstool Get all elements of a CE structure.
Get all elements of a CE structure.
Args:
structure_id: The structure ID.
Returns JSON with: success, structure_id, elements (list of {name, offset, type, size}).get_symbol_addresstool Resolve a symbol name (e.g., 'Engine.GameEngine') to an address.
Resolve a symbol name (e.g., 'Engine.GameEngine') to an address.
get_symbol_infotool Retrieve detailed information about a known symbol.
Retrieve detailed information about a known symbol.
Requires an attached process.
Args:
name: Symbol or export name to look up.
Returns JSON with: success, name, address, module, size.
Returns error_code NOT_FOUND if the symbol is unknown.get_temp_foldertool Return the path to the system temp folder. Returns {success, path: str}.
Return the path to the system temp folder. Returns {success, path: str}.get_thread_listtool Get list of threads in the attached process.
Get list of threads in the attached process.
Args:
offset: Start index for pagination (default 0).
limit: Maximum threads to return (default 100, max 10000).
Returns JSON with: success, total, offset, limit, returned, threads.get_window_captiontool Return the caption (title bar text) of a window given its handle (hex string).
Return the caption (title bar text) of a window given its handle (hex string).
get_window_class_nametool Return the window class name of a window given its handle (hex string).
Return the window class name of a window given its handle (hex string).
get_window_process_idtool Return the process ID that owns a window given its handle (hex string).
Return the process ID that owns a window given its handle (hex string).
in_main_threadtool Check whether the current code is running in CE's main thread.
Check whether the current code is running in CE's main thread.
Returns {success, is_main_thread}.inject_dlltool Inject a DLL into the currently attached target process.
Inject a DLL into the currently attached target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
Args:
filepath: Absolute path to the DLL or dylib to inject.
skip_symbol_reload: If True, skips waiting for symbol reload after injection.
Returns:
JSON with {success}.inject_dotnet_dlltool Inject a .NET DLL and invoke a static method in the target process.
Inject a .NET DLL and invoke a static method in the target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
The method must be declared as: public static int MethodName(string parameters).
Args:
filepath: Absolute path to the managed (.NET) DLL.
class_name: Fully-qualified class name (e.g. 'MyNamespace.MyClass').
method_name: Name of the static method to call.
param: String parameter passed to the method.
timeout: Milliseconds to wait for return (-1 = wait indefinitely).
Returns:
JSON with {success, result} where result is the integer return value.input_querytool Show a modal text-input dialog in Cheat Engine and return what the user typed.
Show a modal text-input dialog in Cheat Engine and return what the user typed.
WARNING — NOT SAFE FOR AUTOMATED WORKFLOWS:
This call BLOCKS the CE main thread until the user submits or cancels the dialog.
Do not invoke from automation that expects a timely response.
Returns {success, value, cancelled}. If cancelled is true, value is an empty string.is_key_pressedtool Check whether a key is currently held down.
Check whether a key is currently held down.
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space, 0x01 for left mouse button).
Returns pressed: bool.key_downtool Simulate pressing a key down (does NOT release it automatically).
Simulate pressing a key down (does NOT release it automatically).
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space).key_uptool Release a key that was pressed with key_down.
Release a key that was pressed with key_down.
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space).list_breakpointstool List all active breakpoints.
List all active breakpoints.
load_new_symbolstool Scan for newly loaded modules and import their symbols.
Scan for newly loaded modules and import their symbols.
Returns JSON with: success.load_tabletool Load a Cheat Engine table (.ct) file into the current session.
Load a Cheat Engine table (.ct) file into the current session.
Args:
filename: Path to the .ct or .cetrainer file to load.
merge: If True, merge with the current table instead of replacing it.
Returns JSON with: success.map_memorytool Map a kernel/physical address range into the CE usermode context via DBK.
Map a kernel/physical address range into the CE usermode context via DBK.
Returns a mapped_address that can be used for ordinary memory reads/writes.
Call unmap_memory() with the same mapped_address when finished.
Requires: DBK kernel driver loaded; a process must be attached.
Args:
address: Source address to map (hex string or symbol name).
size: Number of bytes to map.map_view_of_sectiontool Map a section into the target process. 'handle' is from create_section. 'address' is optional preferred base. Returns mapped_address.
Map a section into the target process. 'handle' is from create_section. 'address' is optional preferred base. Returns mapped_address.
md5_filetool Calculate the MD5 hash of a file on the CE host. Filename must not contain '..' components.
Calculate the MD5 hash of a file on the CE host. Filename must not contain '..' components.
md5_memorytool Calculate the MD5 hash of a memory region. Returns the hash as a hex string.
Calculate the MD5 hash of a memory region. Returns the hash as a hex string.
next_scantool Next scan to filter results from the last 'scan_all'.
Next scan to filter results from the last 'scan_all'.
Args:
value: Value to compare against. Not needed for increased/decreased/changed/unchanged.
scan_type: exact, between, bigger, smaller, increased, decreased, increased_by, decreased_by, changed, unchanged.
value2: Upper bound for 'between'. Alternatively pass both bounds in value as "min,max" (e.g. "0,1").open_processtool Open a process by PID or name and attach Cheat Engine to it.
Open a process by PID or name and attach Cheat Engine to it.
Args:
process_id_or_name: Numeric PID as string (e.g. "12345") or process name (e.g. "notepad.exe").
Returns:
JSON with {success, process_id, process_name}.output_debug_stringtool Post a message to the Windows debugger via OutputDebugString (readable with tools like DebugView).
Post a message to the Windows debugger via OutputDebugString (readable with tools like DebugView).
pause_processtool Pause (freeze) the currently opened process using CE's global pause() function.
Pause (freeze) the currently opened process using CE's global pause() function.
Requires a process to be attached. Returns {success}.persistent_scan_destroytool Destroy a named persistent scan session and free its memory.
Destroy a named persistent scan session and free its memory.
Returns {success, scan_name, destroyed}.persistent_scan_first_scantool Run the first scan on a named persistent scan session.
Run the first scan on a named persistent scan session.
Types: byte, word, dword, qword, float, double, string.
Scan options: exact, unknown, between, bigger, smaller.
'between' needs two bounds: pass value2, or put both in value as "min,max" (e.g. value="0,1").
'unknown' takes no value.
Returns {success, scan_name, count}.persistent_scan_get_resultstool Get paginated results from a named persistent scan session.
Get paginated results from a named persistent scan session.
Returns {success, total, offset, limit, results: [{address, value}]}.persistent_scan_next_scantool Narrow down results with a next scan on a named persistent scan session.
Narrow down results with a next scan on a named persistent scan session.
Scan options: exact, between, bigger, smaller, increased, decreased, increased_by, decreased_by, changed, unchanged.
'between' needs two bounds: pass value2, or put both in value as "min,max".
Returns {success, scan_name, count}.pingtool Check connectivity and get version info.
Check connectivity and get version info.
play_soundtool Play a WAV sound file by filename. Path must not contain '..' directory traversal.
Play a WAV sound file by filename. Path must not contain '..' directory traversal.
pointer_rescantool Re-scan an existing pointer scan for a new value. Requires a prior pointer scan in CE.
Re-scan an existing pointer scan for a new value. Requires a prior pointer scan in CE.
Returns {success, result_count}. Run a Pointer Scanner scan in CE first.poll_dbvm_watchtool Poll DBVM watch logs WITHOUT stopping. Returns register state at each execution hit.
Poll DBVM watch logs WITHOUT stopping. Returns register state at each execution hit.
queue_to_main_threadtool Queue Lua code to run on CE's main thread without waiting for its result.
Queue Lua code to run on CE's main thread without waiting for its result.
SECURITY WARNING: This tool executes arbitrary Lua code inside CE's process
on the main thread, carrying the same risk as evaluate_lua. Only use with
trusted code.
Returns {success}.read_clipboardtool Read text from the system clipboard. Returns {success, text: str}.
Read text from the system clipboard. Returns {success, text: str}.read_integertool Read a number from memory. Types: byte, word, dword, qword, float, double.
Read a number from memory. Types: byte, word, dword, qword, float, double.
read_memorytool Read raw bytes from memory.
Read raw bytes from memory.
read_pointertool Read a pointer chain. Returns the final address and value.
Read a pointer chain. Returns the final address and value.
read_pointer_chaintool Follow a multi-level pointer chain and return analysis of every step.
Follow a multi-level pointer chain and return analysis of every step.
read_process_memory_cr3tool Read virtual memory using an explicit CR3 page-table base via DBK/DBVM.
Read virtual memory using an explicit CR3 page-table base via DBK/DBVM.
Bypasses the standard OS memory-translation path, making it effective for
processes that hide memory from normal reads (e.g. anti-cheat analysis).
Requires: DBK kernel driver or DBVM hypervisor loaded; a process must be attached.
Args:
cr3: CR3 value (hex string or integer) identifying the target page table.
address: Virtual address to read from (hex string or symbol name).
size: Number of bytes to read.read_region_from_filetool Read a file into memory at the given destination address. Filename must be an absolute path and must not contain '..' components.
Read a file into memory at the given destination address. Filename must be an absolute path and must not contain '..' components.
read_stringtool Read a string from memory.
Read a string from memory.
Args:
address: Memory address to read from.
max_length: Maximum number of bytes to read.
wide: Legacy flag — when True, overrides encoding to 'utf16le' for backward compat.
encoding: One of 'ascii', 'utf8' (default), 'utf16le', or 'raw'.
'ascii': strip non-printable bytes.
'utf8': preserve valid UTF-8 multi-byte sequences.
'utf16le': read as wide (UTF-16 LE) string.
'raw': return bytes as a hex string (e.g. '48 65 6C 6C 6F').
Returns JSON with: success, address, value, encoding, wide, length, raw_length.register_symboltool Register a user-defined symbol with a given name and address.
Register a user-defined symbol with a given name and address.
Args:
name: Symbol name to register.
address: Address to bind to the symbol (hex string or decimal).
do_not_save: If True, this symbol is not persisted when the CE table is saved.
Returns JSON with: success, name, address.reinitialize_symbol_handlertool Perform a full reset and reload of the Cheat Engine symbol handler.
Perform a full reset and reload of the Cheat Engine symbol handler.
Returns JSON with: success.remove_breakpointtool Remove a breakpoint by its ID.
Remove a breakpoint by its ID.
run_commandtool Execute a shell command in the host OS. SECURITY: Arbitrary code execution.Env vars
Execute a shell command in the host OS. SECURITY: Arbitrary code execution.
REQUIRES environment variable CE_MCP_ALLOW_SHELL=1 at server startup.
By default, this tool returns a PERMISSION_DENIED error.
Args:
command: Command path or name (e.g. "notepad.exe", "cmd.exe").
args: Arguments string.
Returns JSON with: success, output, exit_code.save_tabletool Save the current cheat table to a file.
Save the current cheat table to a file.
Args:
filename: Destination path for the .ct or .cetrainer file.
protect: If True and the filename has a .cetrainer extension, protect it from normal reading.
Returns JSON with: success.scan_alltool Unified Memory Scanner (first scan).
Unified Memory Scanner (first scan).
Args:
value: Value to search for. Omit when scan_option is 'unknown'.
type: Value type: byte, word, dword, qword, float, double, string.
protection: +W-C (Writable, Not Copy-on-Write).
scan_option: exact, unknown, between, bigger, smaller.
value2: Upper bound for 'between'.
Alternatively pass both bounds in value as "min,max" (e.g. "0,1").search_stringtool Quickly search for a text string in memory.
Quickly search for a text string in memory.
send_window_messagetool Send a Windows message (WM_*) to a window.
Send a Windows message (WM_*) to a window.
handle -- hex window handle string
msg -- message ID (e.g. 0x000F for WM_PAINT)
wparam -- WPARAM value (default 0)
lparam -- LPARAM value (default 0)
Returns {success, result} where result is the integer return value of SendMessage.set_breakpointtool Set a hardware execution breakpoint. Non-breaking/Logging only.
Set a hardware execution breakpoint. Non-breaking/Logging only.
set_data_breakpointtool Set a hardware data breakpoint (watchpoint). Types: 'r' (read), 'w' (write), 'rw' (access).
Set a hardware data breakpoint (watchpoint). Types: 'r' (read), 'w' (write), 'rw' (access).
set_global_variabletool Write a global variable in CE's main Lua state.
Write a global variable in CE's main Lua state.
Useful for passing values to scripts running in other threads.
Returns {success}.set_memory_protectiontool Change the protection flags of a memory region in the target process.
Change the protection flags of a memory region in the target process.
Args:
address: Start address as hex string.
size: Size in bytes of the region to protect.
read: Allow read access (default True).
write: Allow write access (default True).
execute: Allow execute access (default True).
Returns JSON with: success.set_memory_record_valuetool Write a value to a memory record (and therefore to the target process memory).
Write a value to a memory record (and therefore to the target process memory).
Args:
id: Unique numeric ID of the memory record to update.
value: New value as a string (e.g. "100", "3.14", "FF AA BB").
Returns JSON with: success.set_mouse_postool Move the mouse cursor to screen position (x, y).
Move the mouse cursor to screen position (x, y).
set_progress_statetool Set the Cheat Engine taskbar progress state. Valid states: none, normal, paused, error, indeterminate.
Set the Cheat Engine taskbar progress state. Valid states: none, normal, paused, error, indeterminate.
set_progress_valuetool Set the Cheat Engine taskbar progress bar position. Provide current value and maximum value.
Set the Cheat Engine taskbar progress bar position. Provide current value and maximum value.
shell_executetool Invoke Windows ShellExecute. SECURITY: Arbitrary code execution.Env vars
Invoke Windows ShellExecute. SECURITY: Arbitrary code execution.
REQUIRES environment variable CE_MCP_ALLOW_SHELL=1 at server startup.
Args:
command: Command or file to execute.
args: Arguments string.
verb: ShellExecute verb. CE currently supports "open" only.
working_dir: Working directory (empty for current).
showcommand: Optional Win32 show command integer.
Returns JSON with: success.show_messagetool Show a modal message dialog in Cheat Engine.
Show a modal message dialog in Cheat Engine.
WARNING — NOT SAFE FOR AUTOMATED WORKFLOWS:
This call BLOCKS the CE main thread until the user dismisses the dialog by
clicking OK. Do not invoke from automation that expects a timely response.
Returns {success} after the user closes the dialog.show_selection_listtool Show a modal list-selection dialog in Cheat Engine.
Show a modal list-selection dialog in Cheat Engine.
WARNING — NOT SAFE FOR AUTOMATED WORKFLOWS:
This call BLOCKS the CE main thread until the user picks an item or cancels.
Do not invoke from automation that expects a timely response.
options -- list of strings to display
Returns {success, selected_index, selected_value, cancelled}.
selected_index is -1 and cancelled is true when the user dismisses without selecting.speak_texttool Speak text via Windows SAPI text-to-speech. Set english_only=True to force the English voice.
Speak text via Windows SAPI text-to-speech. Set english_only=True to force the English voice.
start_dbvm_watchtool Start invisible DBVM hypervisor watch. Modes: 'w' (writes), 'r' (reads), 'x' (execute).
Start invisible DBVM hypervisor watch. Modes: 'w' (writes), 'r' (reads), 'x' (execute).
stop_dbvm_watchtool Stop DBVM watch and return results.
Stop DBVM watch and return results.
unmap_memorytool Release a memory mapping created by map_memory().
Release a memory mapping created by map_memory().
The size parameter is accepted for API compatibility but unused internally;
the MDL handle captured during map_memory() is used to release the mapping.
Requires: DBK kernel driver loaded; a process must be attached.
Args:
mapped_address: The mapped address returned by a prior map_memory() call.
size: Unused; kept for API symmetry with map_memory().unpause_processtool Resume (unfreeze) the currently opened process using CE's global unpause() function.
Resume (unfreeze) the currently opened process using CE's global unpause() function.
Requires a process to be attached. Returns {success}.unregister_symboltool Remove a previously registered user-defined symbol.
Remove a previously registered user-defined symbol.
Args:
name: Symbol name to unregister.
Returns JSON with: success.validate_pointer_chainstool Resolve a list of candidate pointer chains and report which currently land on `target`. Each chain is {"base": <addr|symbol>, "offsets": [int,...]}. Returns onl
Resolve a list of candidate pointer chains and report which currently land on `target`. Each chain is {"base": <addr|symbol>, "offsets": [int,...]}. Returns only matches by default (token-frugal); set include_misses=true to also list non-matches. Re-run after a game restart with the new target to find chains that stay valid (the stable pointer). Max 5000 chains per call.write_clipboardtool Write text to the system clipboard. Returns {success}.
Write text to the system clipboard. Returns {success}.write_integertool Write a number to memory. Types: byte, word, dword, qword, float, double.
Write a number to memory. Types: byte, word, dword, qword, float, double.
write_memorytool Write raw bytes to memory.
Write raw bytes to memory.
write_process_memory_cr3tool Write to virtual memory using an explicit CR3 page-table base via DBK/DBVM.
Write to virtual memory using an explicit CR3 page-table base via DBK/DBVM.
Bypasses the standard OS memory-translation path.
Requires: DBK kernel driver or DBVM hypervisor loaded; a process must be attached.
Args:
cr3: CR3 value (hex string or integer) identifying the target page table.
address: Virtual address to write to (hex string or symbol name).
bytes: List of integer byte values to write.write_region_to_filetool Write a memory region to a file. Filename must be an absolute path and must not contain '..' components.
Write a memory region to a file. Filename must be an absolute path and must not contain '..' components.
write_stringtool Write a string to memory (ASCII or Wide/UTF-16).
Write a string to memory (ASCII or Wide/UTF-16).
Text the model reads (175)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_process_info tool
Get current process ID, name, modules count and architecture.
enum_modules tool
List all loaded modules (DLLs) with their base addresses and sizes.
Args:
offset: Start index for pagination (default 0).
limit: Maximum modules to return (default 100, max 10000).
Returns JSON with: success, total, offset, limit, returned, modules.get_thread_list tool
Get list of threads in the attached process.
Args:
offset: Start index for pagination (default 0).
limit: Maximum threads to return (default 100, max 10000).
Returns JSON with: success, total, offset, limit, returned, threads.get_symbol_address tool
Resolve a symbol name (e.g., 'Engine.GameEngine') to an address.
get_address_info tool
Get symbolic name and module info for an address (Reverse of get_symbol_address).
get_rtti_classname tool
Try to identify the class name of an object at address using Run-Time Type Information.
read_memory tool
Read raw bytes from memory.
read_integer tool
Read a number from memory. Types: byte, word, dword, qword, float, double.
read_string tool
Read a string from memory.
Args:
address: Memory address to read from.
max_length: Maximum number of bytes to read.
wide: Legacy flag — when True, overrides encoding to 'utf16le' for backward compat.
encoding: One of 'ascii', 'utf8' (default), 'utf16le', or 'raw'.
'ascii': strip non-printable bytes.
'utf8': preserve valid UTF-8 multi-byte sequences.
'utf16le': read as wide (UTF-16 LE) string.
'raw': return bytes as a hex string (e.g. '48 65 6C 6C 6F').
Returns JSON with: success, address, value, encoding, wide, length, raw_length.read_pointer tool
Read a pointer chain. Returns the final address and value.
read_pointer_chain tool
Follow a multi-level pointer chain and return analysis of every step.
analyze_pointer_access tool
Parse a captured memory access (instruction + register snapshot from a breakpoint/DBVM hit) into base register, displacement, and the concrete struct-base address for pointer-chain walk-back. Pure analysis; no process access. next_scan_value is the address to scan for (as a pointer) to find the next level up.
validate_pointer_chains tool
Resolve a list of candidate pointer chains and report which currently land on `target`. Each chain is {"base": <addr|symbol>, "offsets": [int,...]}. Returns only matches by default (token-frugal); set include_misses=true to also list non-matches. Re-run after a game restart with the new target to find chains that stay valid (the stable pointer). Max 5000 chains per call.checksum_memory tool
Calculate MD5 checksum of a memory region to detect changes.
scan_all tool
Unified Memory Scanner (first scan).
Args:
value: Value to search for. Omit when scan_option is 'unknown'.
type: Value type: byte, word, dword, qword, float, double, string.
protection: +W-C (Writable, Not Copy-on-Write).
scan_option: exact, unknown, between, bigger, smaller.
value2: Upper bound for 'between'.
Alternatively pass both bounds in value as "min,max" (e.g. "0,1").get_scan_results tool
Get results from the last 'scan_all' operation.
Args:
offset: Start index for pagination (default 0).
limit: Maximum results to return (default 100, max 10000). Preferred over 'max'.
max: Deprecated alias for 'limit'. Use 'limit' instead.
Returns JSON with: success, total, offset, limit, returned, results.next_scan tool
Next scan to filter results from the last 'scan_all'.
Args:
value: Value to compare against. Not needed for increased/decreased/changed/unchanged.
scan_type: exact, between, bigger, smaller, increased, decreased, increased_by, decreased_by, changed, unchanged.
value2: Upper bound for 'between'. Alternatively pass both bounds in value as "min,max" (e.g. "0,1").write_integer tool
Write a number to memory. Types: byte, word, dword, qword, float, double.
write_memory tool
Write raw bytes to memory.
write_string tool
Write a string to memory (ASCII or Wide/UTF-16).
aob_scan tool
Scan for an Array of Bytes (AOB) pattern. Example: '48 89 5C 24'.
search_string tool
Quickly search for a text string in memory.
generate_signature tool
Generate a unique AOB signature that can find this specific address again.
get_memory_regions tool
Get list of valid memory regions nearby common bases.
enum_memory_regions_full tool
Enumerate ALL memory regions in the process (Native EnumMemoryRegions).
Args:
offset: Start index for pagination (default 0).
limit: Maximum regions to return (default 100, max 10000). Preferred over 'max'.
max: Deprecated alias for 'limit'. Use 'limit' instead.
Returns JSON with: success, total, offset, limit, returned, regions.disassemble tool
Disassemble instructions starting at an address.
Args:
address: Target address (hex string or symbol).
count: Number of instructions to generate (default 20).
offset: Start index within the generated list for pagination (default 0).
limit: Maximum instructions to return (default 100, max 10000).
Returns JSON with: success, start_address, total, offset, limit, returned, instructions.get_instruction_info tool
Get detailed info about a single instruction (size, bytes, opcode).
find_function_boundaries tool
Attempt to find the start and end of a function containing the address.
analyze_function tool
Analyze a function to find all CALL instructions output (calls made by this function).
find_references tool
Find instructions that access (reference) this address.
Args:
address: Target address to find references to.
offset: Start index for pagination (default 0).
limit: Maximum references to return (default 50, max 10000).
Returns JSON with: success, target, total, offset, limit, returned, references, arch.find_call_references tool
Find all locations that CALL this function.
Args:
function_address: Address of the function to find callers of.
offset: Start index for pagination (default 0).
limit: Maximum callers to return (default 100, max 10000).
Returns JSON with: success, function_address, total, offset, limit, returned, callers.dissect_structure tool
Use CE's auto-guess feature to interpret memory at address as a structure.
set_breakpoint tool
Set a hardware execution breakpoint. Non-breaking/Logging only.
set_data_breakpoint tool
Set a hardware data breakpoint (watchpoint). Types: 'r' (read), 'w' (write), 'rw' (access).
remove_breakpoint tool
Remove a breakpoint by its ID.
list_breakpoints tool
List all active breakpoints.
clear_all_breakpoints tool
Remove ALL breakpoints.
get_breakpoint_hits tool
Get hits for a specific breakpoint ID (or all if None). Set clear=True to flush buffer.
Args:
id: Breakpoint ID to query, or None for all breakpoints.
clear: If True, flush the hit buffer after reading (default False).
offset: Start index for pagination (default 0).
limit: Maximum hits to return (default 100, max 10000).
Returns JSON with: success, total, offset, limit, returned, hits.get_physical_address tool
Translate Virtual Address to Physical Address (requires DBVM).
start_dbvm_watch tool
Start invisible DBVM hypervisor watch. Modes: 'w' (writes), 'r' (reads), 'x' (execute).
stop_dbvm_watch tool
Stop DBVM watch and return results.
poll_dbvm_watch tool
Poll DBVM watch logs WITHOUT stopping. Returns register state at each execution hit.
dbk_get_cr0 tool
Read Control Register 0 (CR0) via the DBK kernel driver.
Requires the DBK kernel driver to be loaded (CE Settings -> Debugger -> Kernelmode).
Returns cr0 as a hex string.dbk_get_cr3 tool
Read Control Register 3 (CR3 — page-table base) via DBK or DBVM.
Works when either the DBK kernel driver or the DBVM hypervisor is loaded.
Returns cr3 as a hex string.dbk_get_cr4 tool
Read Control Register 4 (CR4) via the DBK kernel driver.
Requires the DBK kernel driver to be loaded (CE Settings -> Debugger -> Kernelmode).
Returns cr4 as a hex string.read_process_memory_cr3 tool
Read virtual memory using an explicit CR3 page-table base via DBK/DBVM.
Bypasses the standard OS memory-translation path, making it effective for
processes that hide memory from normal reads (e.g. anti-cheat analysis).
Requires: DBK kernel driver or DBVM hypervisor loaded; a process must be attached.
Args:
cr3: CR3 value (hex string or integer) identifying the target page table.
address: Virtual address to read from (hex string or symbol name).
size: Number of bytes to read.write_process_memory_cr3 tool
Write to virtual memory using an explicit CR3 page-table base via DBK/DBVM.
Bypasses the standard OS memory-translation path.
Requires: DBK kernel driver or DBVM hypervisor loaded; a process must be attached.
Args:
cr3: CR3 value (hex string or integer) identifying the target page table.
address: Virtual address to write to (hex string or symbol name).
bytes: List of integer byte values to write.map_memory tool
Map a kernel/physical address range into the CE usermode context via DBK.
Returns a mapped_address that can be used for ordinary memory reads/writes.
Call unmap_memory() with the same mapped_address when finished.
Requires: DBK kernel driver loaded; a process must be attached.
Args:
address: Source address to map (hex string or symbol name).
size: Number of bytes to map.unmap_memory tool
Release a memory mapping created by map_memory().
The size parameter is accepted for API compatibility but unused internally;
the MDL handle captured during map_memory() is used to release the mapping.
Requires: DBK kernel driver loaded; a process must be attached.
Args:
mapped_address: The mapped address returned by a prior map_memory() call.
size: Unused; kept for API symmetry with map_memory().dbk_writes_ignore_write_protection tool
Toggle whether DBK memory writes bypass copy-on-write (CoW) protection.
When enabled, writes go directly to the underlying physical page instead of
triggering a page fault and creating a process-private copy. Useful when
patching shared read-only pages across all processes simultaneously.
Requires: DBK kernel driver loaded.
Args:
enable: True to bypass CoW; False to restore normal CoW behaviour.get_physical_address_cr3 tool
Translate a virtual address to its physical address using an explicit CR3.
Unlike get_physical_address (which uses the currently attached process's CR3),
this function lets you walk any process's page table — useful for cross-process
physical memory analysis.
Requires: DBK kernel driver or DBVM hypervisor loaded; a process must be attached.
Args:
cr3: CR3 value (hex string or integer) of the target process's page table.
virtual_address: Virtual address to translate (hex string or symbol name).evaluate_lua tool
Execute arbitrary Lua code in Cheat Engine.
auto_assemble tool
Run an AutoAssembler script (injection, code caves, etc).
assemble_instruction tool
Assemble a single x86/x64 instruction into bytes.
Requires an attached process when an address is given (the address is used to
resolve relative operands such as JMP targets).
Returns {success, bytes: [int], size: int}.
preference: 0=none, 1=short, 2=long, 3=far.auto_assemble_check tool
Validate an Auto Assembler script for syntax errors without executing it.
Returns {success, valid: bool, errors: [str]}.
enable: True checks the [Enable] section; False checks [Disable].
target_self: if True, validates against CE's own process instead of the target.compile_c_code tool
Compile C source code using CE's built-in TCC compiler.
Does not require an attached process unless an address is provided.
Returns {success, symbols: {name: address}, errors: [str]}.
If TCC is unavailable: {success=false, error="TCC compiler not available",
error_code="CE_API_UNAVAILABLE"}.compile_cs_code tool
Compile C# source code using CE's .NET compiler (requires .NET 4+).
Returns {success, assembly_handle: str} where assembly_handle is the path to
the generated assembly. On .NET runtime absent:
{success=false, error_code="CE_API_UNAVAILABLE"}.generate_api_hook_script tool
Generate an Auto Assembler script that hooks a function and redirects it.
Requires an attached process. address is the function to hook;
target_address is where execution should jump after the hook.
code_to_execute is optional extra AA code inserted into the generated script.
Returns {success, script: str}.generate_code_injection_script tool
Generate a boilerplate code-injection Auto Assembler script for an address.
Requires an attached process.
Returns {success, script: str} — the script can be used as a starting point
for patching code at that location.ping tool
Check connectivity and get version info.
output_debug_string tool
Post a message to the Windows debugger via OutputDebugString (readable with tools like DebugView).
speak_text tool
Speak text via Windows SAPI text-to-speech. Set english_only=True to force the English voice.
play_sound tool
Play a WAV sound file by filename. Path must not contain '..' directory traversal.
beep tool
Play a simple system beep sound.
set_progress_state tool
Set the Cheat Engine taskbar progress state. Valid states: none, normal, paused, error, indeterminate.
set_progress_value tool
Set the Cheat Engine taskbar progress bar position. Provide current value and maximum value.
create_thread tool
Execute Lua code in a new CE thread.
SECURITY WARNING: This tool executes arbitrary Lua code inside CE's process,
carrying the same risk as evaluate_lua. Only use with trusted code.
Returns {success, thread_id}.get_global_variable tool
Read a global variable from CE's main Lua state.
Useful for reading values set by scripts running in other threads.
Returns {success, value} where value is stringified via tostring().set_global_variable tool
Write a global variable in CE's main Lua state.
Useful for passing values to scripts running in other threads.
Returns {success}.queue_to_main_thread tool
Queue Lua code to run on CE's main thread without waiting for its result.
SECURITY WARNING: This tool executes arbitrary Lua code inside CE's process
on the main thread, carrying the same risk as evaluate_lua. Only use with
trusted code.
Returns {success}.check_synchronize tool
Process queued main-thread calls (checkSynchronize).
Call this from an infinite loop in the main thread when using threading
and synchronize calls. Returns {success}.in_main_thread tool
Check whether the current code is running in CE's main thread.
Returns {success, is_main_thread}.run_command tool
Execute a shell command in the host OS. SECURITY: Arbitrary code execution.
REQUIRES environment variable CE_MCP_ALLOW_SHELL=1 at server startup.
By default, this tool returns a PERMISSION_DENIED error.
Args:
command: Command path or name (e.g. "notepad.exe", "cmd.exe").
args: Arguments string.
Returns JSON with: success, output, exit_code.shell_execute tool
Invoke Windows ShellExecute. SECURITY: Arbitrary code execution.
REQUIRES environment variable CE_MCP_ALLOW_SHELL=1 at server startup.
Args:
command: Command or file to execute.
args: Arguments string.
verb: ShellExecute verb. CE currently supports "open" only.
working_dir: Working directory (empty for current).
showcommand: Optional Win32 show command integer.
Returns JSON with: success.file_exists tool
Check whether a file exists at the given path. Returns {success, exists: bool}.delete_file tool
Delete a file at the given path. Returns {success}.
WARNING: This is a destructive operation. The file will be permanently deleted
from disk. Path traversal sequences ('..') are blocked by the bridge. Use with
extreme caution — there is no undo.get_file_list tool
List files in the given directory path. Returns {success, count, files: [str]}.get_directory_list tool
List subdirectories in the given directory path. Returns {success, count, directories: [str]}.get_temp_folder tool
Return the path to the system temp folder. Returns {success, path: str}.get_file_version tool
Get the version info of a file (major, minor, release, build). Returns {success, major, minor, release, build, version_string}.read_clipboard tool
Read text from the system clipboard. Returns {success, text: str}.write_clipboard tool
Write text to the system clipboard. Returns {success}.create_structure tool
Create a new empty CE structure definition and add it to the global list.
Args:
name: The name for the new structure.
Returns JSON with: success, structure_id.get_structure_by_name tool
Find a CE structure by name in the global structure list.
Args:
name: The structure name to search for.
Returns JSON with: success, structure_id, name, element_count, size.add_element_to_structure tool
Add a new element to an existing CE structure.
Args:
structure_id: The structure ID returned by create_structure or get_structure_by_name.
name: The element name.
offset: The byte offset of the element within the structure.
type: The variable type. Accepted values: byte, word, dword, qword,
float, single, double, string, aob, bytearray, pointer.
Returns JSON with: success, element_index.get_structure_elements tool
Get all elements of a CE structure.
Args:
structure_id: The structure ID.
Returns JSON with: success, structure_id, elements (list of {name, offset, type, size}).export_structure_to_xml tool
Export a CE structure definition as XML.
Args:
structure_id: The structure ID.
Returns JSON with: success, xml (XML string representation of the structure).delete_structure tool
Delete a CE structure from the global list and free it.
Args:
structure_id: The structure ID to delete.
Returns JSON with: success.load_table tool
Load a Cheat Engine table (.ct) file into the current session.
Args:
filename: Path to the .ct or .cetrainer file to load.
merge: If True, merge with the current table instead of replacing it.
Returns JSON with: success.save_table tool
Save the current cheat table to a file.
Args:
filename: Destination path for the .ct or .cetrainer file.
protect: If True and the filename has a .cetrainer extension, protect it from normal reading.
Returns JSON with: success.get_address_list tool
List memory records in the current cheat table's address list.
Args:
offset: Zero-based index of the first record to return.
limit: Maximum number of records to return (default 100).
Returns JSON with: success, total, offset, limit, returned, records (list of
{id, description, address, type, value, offsets, enabled}).get_memory_record tool
Retrieve a single memory record by ID or description.
Args:
id: Unique numeric ID of the memory record.
description: Description string of the memory record (used when id is not provided).
Returns JSON with: success, record ({id, description, address, type, value, offsets, enabled}).create_memory_record tool
Create a new memory record in the cheat table address list.
Args:
description: Human-readable label for the new entry.
address: Address string (hex, symbol, or pointer expression) to watch.
var_type: Variable type — byte, word, dword, qword, float, double, string, bytearray (default: dword).
Returns JSON with: success, id, record ({id, description, address, type, value, offsets, enabled}).delete_memory_record tool
Delete a memory record from the cheat table address list by ID.
Args:
id: Unique numeric ID of the memory record to delete.
Returns JSON with: success.get_memory_record_value tool
Read the current value of a memory record as a string.
Args:
id: Unique numeric ID of the memory record.
Returns JSON with: success, value (string representation of the current value).set_memory_record_value tool
Write a value to a memory record (and therefore to the target process memory).
Args:
id: Unique numeric ID of the memory record to update.
value: New value as a string (e.g. "100", "3.14", "FF AA BB").
Returns JSON with: success.get_pixel tool
Get the colour of a screen pixel at (x, y). Returns r, g, b channels and the raw COLORREF integer.
get_mouse_pos tool
Get the current mouse cursor position. Returns x and y screen coordinates.
set_mouse_pos tool
Move the mouse cursor to screen position (x, y).
is_key_pressed tool
Check whether a key is currently held down.
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space, 0x01 for left mouse button).
Returns pressed: bool.key_down tool
Simulate pressing a key down (does NOT release it automatically).
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space).key_up tool
Release a key that was pressed with key_down.
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space).do_key_press tool
Simulate a full key press (down + up) for the given key.
vk is a Windows virtual-key code (e.g. 0x41 for 'A', 0x20 for Space).get_screen_info tool
Get the primary screen dimensions and DPI. Returns width, height (pixels) and dpi.
find_window tool
Find a top-level window by title and/or class name (system-wide, no process required).
At least one of title or class_name must be provided.
Returns {success, handle} on success or {success=false, error_code="NOT_FOUND"} when
no matching window exists.get_window_caption tool
Return the caption (title bar text) of a window given its handle (hex string).
get_window_class_name tool
Return the window class name of a window given its handle (hex string).
get_window_process_id tool
Return the process ID that owns a window given its handle (hex string).
send_window_message tool
Send a Windows message (WM_*) to a window.
handle -- hex window handle string
msg -- message ID (e.g. 0x000F for WM_PAINT)
wparam -- WPARAM value (default 0)
lparam -- LPARAM value (default 0)
Returns {success, result} where result is the integer return value of SendMessage.show_message tool
Show a modal message dialog in Cheat Engine.
WARNING — NOT SAFE FOR AUTOMATED WORKFLOWS:
This call BLOCKS the CE main thread until the user dismisses the dialog by
clicking OK. Do not invoke from automation that expects a timely response.
Returns {success} after the user closes the dialog.input_query tool
Show a modal text-input dialog in Cheat Engine and return what the user typed.
WARNING — NOT SAFE FOR AUTOMATED WORKFLOWS:
This call BLOCKS the CE main thread until the user submits or cancels the dialog.
Do not invoke from automation that expects a timely response.
Returns {success, value, cancelled}. If cancelled is true, value is an empty string.show_selection_list tool
Show a modal list-selection dialog in Cheat Engine.
WARNING — NOT SAFE FOR AUTOMATED WORKFLOWS:
This call BLOCKS the CE main thread until the user picks an item or cancels.
Do not invoke from automation that expects a timely response.
options -- list of strings to display
Returns {success, selected_index, selected_value, cancelled}.
selected_index is -1 and cancelled is true when the user dismisses without selecting.aob_scan_unique tool
Scan for an AOB pattern that must match exactly once. Returns {success, address} or error with count.
Use this when you expect a signature to be unique in the process.aob_scan_module tool
Scan for an AOB pattern restricted to a specific module's memory range.
Returns {success, count, addresses: [str]}.aob_scan_module_unique tool
Scan for an AOB pattern in a specific module that must match exactly once.
Returns {success, address} or error with count.pointer_rescan tool
Re-scan an existing pointer scan for a new value. Requires a prior pointer scan in CE.
Returns {success, result_count}. Run a Pointer Scanner scan in CE first.create_persistent_scan tool
Create a named, stateful memory scan session. Use the name with persistent_scan_* tools.
Returns {success, scan_name}.persistent_scan_first_scan tool
Run the first scan on a named persistent scan session.
Types: byte, word, dword, qword, float, double, string.
Scan options: exact, unknown, between, bigger, smaller.
'between' needs two bounds: pass value2, or put both in value as "min,max" (e.g. value="0,1").
'unknown' takes no value.
Returns {success, scan_name, count}.persistent_scan_next_scan tool
Narrow down results with a next scan on a named persistent scan session.
Scan options: exact, between, bigger, smaller, increased, decreased, increased_by, decreased_by, changed, unchanged.
'between' needs two bounds: pass value2, or put both in value as "min,max".
Returns {success, scan_name, count}.persistent_scan_get_results tool
Get paginated results from a named persistent scan session.
Returns {success, total, offset, limit, results: [{address, value}]}.persistent_scan_destroy tool
Destroy a named persistent scan session and free its memory.
Returns {success, scan_name, destroyed}.copy_memory tool
Copy memory between addresses. Methods: 0=target→target, 1=target→CE, 2=CE→target, 3=CE→CE. Returns dest_address allocated by CE if dest is None.
compare_memory tool
Compare two memory regions. Methods: 0=target/target, 1=addr1=target addr2=CE, 2=both CE. Returns equal flag and first_diff byte index (-1 if equal).
write_region_to_file tool
Write a memory region to a file. Filename must be an absolute path and must not contain '..' components.
read_region_from_file tool
Read a file into memory at the given destination address. Filename must be an absolute path and must not contain '..' components.
md5_memory tool
Calculate the MD5 hash of a memory region. Returns the hash as a hex string.
md5_file tool
Calculate the MD5 hash of a file on the CE host. Filename must not contain '..' components.
create_section tool
Create a Windows section (shared memory) of the given size. Returns a handle as a hex string.
map_view_of_section tool
Map a section into the target process. 'handle' is from create_section. 'address' is optional preferred base. Returns mapped_address.
register_symbol tool
Register a user-defined symbol with a given name and address.
Args:
name: Symbol name to register.
address: Address to bind to the symbol (hex string or decimal).
do_not_save: If True, this symbol is not persisted when the CE table is saved.
Returns JSON with: success, name, address.unregister_symbol tool
Remove a previously registered user-defined symbol.
Args:
name: Symbol name to unregister.
Returns JSON with: success.enum_registered_symbols tool
List all user-registered symbols.
Returns JSON with: success, count, symbols (list of {name, address, module}).delete_all_registered_symbols tool
Delete every user-registered symbol (both AA and Lua).
Returns JSON with: success, deleted_count.enable_windows_symbols tool
Trigger download and load of Windows PDB symbol files.
Note: The actual PDB download and indexing is asynchronous; this call returns
immediately once the process has been initiated by Cheat Engine.
Returns JSON with: success.enable_kernel_symbols tool
Enable kernel-mode symbol resolution (requires DBK driver).
Returns JSON with: success.
On failure returns error_code DBK_NOT_LOADED if the kernel driver is absent.get_symbol_info tool
Retrieve detailed information about a known symbol.
Requires an attached process.
Args:
name: Symbol or export name to look up.
Returns JSON with: success, name, address, module, size.
Returns error_code NOT_FOUND if the symbol is unknown.get_module_size tool
Get the in-memory size of a loaded module.
Requires an attached process.
Args:
module_name: Module filename (e.g. 'kernel32.dll').
Returns JSON with: success, size.load_new_symbols tool
Scan for newly loaded modules and import their symbols.
Returns JSON with: success.reinitialize_symbol_handler tool
Perform a full reset and reload of the Cheat Engine symbol handler.
Returns JSON with: success.debug_get_context tool
Get the current thread's CPU register context. Set extra_regs=True to include XMM0-15 and FP0-7.
debug_set_context tool
Set CPU register values in the paused thread. Pass a dict like {\\"RAX\\": \\"0x1234\\", \\"RIP\\": \\"0x140001000\\"}.debug_get_xmm_pointer tool
Return the CE-local memory address of an XMM register (0-15) for the currently broken thread.
debug_set_last_branch_recording tool
Enable or disable Intel LBR (Last Branch Recording). Requires kernel-mode debugger.
debug_get_last_branch_record tool
Get the from/to addresses of a Last Branch Record entry at the given index.
debug_set_breakpoint_for_thread tool
Set a breakpoint that fires only on a specific thread. trigger: execute|write|read|access.
debug_remove_breakpoint_for_thread tool
Remove a per-thread breakpoint at the given address for the given thread.
debug_process tool
Start the CE debugger for the currently opened process.
interface: CE debugger interface enum.
0 = default, 1 = Windows native, 2 = VEH debugger,
3 = kernel debugger (DBK), 4 = DBVM.
Requires a process to be attached. Returns {success, interface_used, interface_name}.debug_is_debugging tool
Check whether the CE debugger has been started.
Always safe to call; no process guard. Returns {success, is_debugging: bool}.debug_get_current_debugger_interface tool
Return the active debugger interface used by CE.
Returns {success, interface: int | null, interface_name: str}.
interface_name values: 'windows_native', 'veh', 'kernel', 'mac_native', 'gdb', 'none'.debug_break_thread tool
Break a specific thread by its thread ID.
The thread may not stop instantly — it must be scheduled to run first.
Requires the debugger to be attached. Returns {success}.debug_continue tool
Continue execution from a breakpoint.
method: one of 'run' (co_run), 'step_into' (co_stepinto), 'step_over' (co_stepover).
Requires the debugger to be attached. Returns {success}.debug_detach tool
Detach the debugger from the target process if possible.
Returns {success, detached: bool}. Safe to call when no debugger is active.pause_process tool
Pause (freeze) the currently opened process using CE's global pause() function.
Requires a process to be attached. Returns {success}.unpause_process tool
Resume (unfreeze) the currently opened process using CE's global unpause() function.
Requires a process to be attached. Returns {success}.inject_dll tool
Inject a DLL into the currently attached target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
Args:
filepath: Absolute path to the DLL or dylib to inject.
skip_symbol_reload: If True, skips waiting for symbol reload after injection.
Returns:
JSON with {success}.inject_dotnet_dll tool
Inject a .NET DLL and invoke a static method in the target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
The method must be declared as: public static int MethodName(string parameters).
Args:
filepath: Absolute path to the managed (.NET) DLL.
class_name: Fully-qualified class name (e.g. 'MyNamespace.MyClass').
method_name: Name of the static method to call.
param: String parameter passed to the method.
timeout: Milliseconds to wait for return (-1 = wait indefinitely).
Returns:
JSON with {success, result} where result is the integer return value.execute_code tool
Call a stdcall function with one argument at the given address in the target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
Args:
address: Address (hex string or symbol) of the function to call.
param: Integer argument passed as the single parameter.
timeout: Milliseconds to wait (-1 = indefinitely).
Returns:
JSON with {success, return_value}.execute_code_ex tool
Call a function with an explicit calling convention and multiple arguments.
Security warning: Executes arbitrary code in the target process. Use with caution.
call_method values:
0 = stdcall
1 = cdecl
2 = thiscall
3 = fastcall
Args:
call_method: Integer calling convention identifier.
timeout: Milliseconds to wait (-1 = indefinitely, 0 = fire-and-forget).
address: Address (hex string or symbol) of the function to call.
args: List of arguments. Each element can be a raw value (CE guesses type)
or a dict with keys 'type' and 'value'.
Returns:
JSON with {success, return_value}.execute_method tool
Call a C++ instance method with an implicit 'this' pointer in the target process.
Security warning: Executes arbitrary code in the target process. Use with caution.
The instance pointer is placed into the register selected by call_method (ECX by default
for thiscall). If instance is None the call behaves like execute_code_ex.
Args:
address: Address (hex string or symbol) of the method to call.
instance: Address of the object instance ('this' pointer).
args: List of additional arguments passed after 'this'.
call_method: Calling convention (0=stdcall, 1=cdecl, 2=thiscall, 3=fastcall).
timeout: Milliseconds to wait (-1 = indefinitely).
Returns:
JSON with {success, return_value}.execute_code_local tool
Call a stdcall function inside Cheat Engine's own process (NOT the target).
Security warning: Executes arbitrary code in the CE process. Use with caution.
Useful for calling CE internal helpers or code loaded into CE itself.
Args:
address: Address within CE's memory space to call.
param: Integer argument passed as the single parameter.
Returns:
JSON with {success, return_value}.execute_code_local_ex tool
Call a function inside Cheat Engine's own process with explicit calling convention.
Security warning: Executes arbitrary code in the CE process. Use with caution.
call_method values:
0 = stdcall
1 = cdecl
2 = thiscall
3 = fastcall
Args:
address: Address within CE's memory space to call.
args: List of arguments passed to the function.
call_method: Integer calling convention identifier.
Returns:
JSON with {success, return_value}.allocate_memory tool
Allocate memory in the target process.
Args:
size: Number of bytes to allocate.
base_address: Preferred base address as hex string (e.g. "0x140000000"). Optional.
protection: Access flags — "r" (read-only), "rw" (read-write),
"rx" (read-execute), "rwx" (read-write-execute, default).
Returns JSON with: success, address.free_memory tool
Free memory previously allocated in the target process.
Args:
address: Address of the region to free as hex string.
size: Size of the region in bytes. Use 0 to let the OS determine it (default).
Returns JSON with: success.allocate_shared_memory tool
Create and map a shared memory region in the target process.
The region is allocated with non-executable protection by default.
Args:
name: Unique name for the shared memory object.
size: Size in bytes. Defaults to 4096 if the region does not yet exist.
Returns JSON with: success, address.get_memory_protection tool
Query the protection flags of a memory page in the target process.
Args:
address: Address to query as hex string.
Returns JSON with: success, read (bool), write (bool), execute (bool), raw (PAGE_* name).set_memory_protection tool
Change the protection flags of a memory region in the target process.
Args:
address: Start address as hex string.
size: Size in bytes of the region to protect.
read: Allow read access (default True).
write: Allow write access (default True).
execute: Allow execute access (default True).
Returns JSON with: success.full_access tool
Grant full read-write-execute access to a memory region (convenience wrapper).
Args:
address: Start address as hex string.
size: Size in bytes of the region.
Returns JSON with: success.allocate_kernel_memory tool
Allocate non-paged kernel memory via the DBK driver.
Requires the Cheat Engine kernel driver (DBK) to be loaded.
Args:
size: Number of bytes to allocate.
Returns JSON with: success, address.
Error codes: DBK_NOT_LOADED if the kernel driver is not active.open_process tool
Open a process by PID or name and attach Cheat Engine to it.
Args:
process_id_or_name: Numeric PID as string (e.g. "12345") or process name (e.g. "notepad.exe").
Returns:
JSON with {success, process_id, process_name}.get_process_list tool
Get the list of running processes on the system.
Returns:
JSON with {success, count, processes: [{pid: int, name: str}, ...]}.get_processid_from_name tool
Look up the PID of a process by its executable name.
Args:
name: Process name to search for (e.g. "notepad.exe").
Returns:
JSON with {success, process_id} or {success=false, error, error_code="NOT_FOUND"}.get_foreground_process tool
Get the PID and window handle of the process currently in the foreground.
Returns:
JSON with {success, process_id, window_handle}.create_process tool
Create and optionally debug a new process.
Args:
path: Full path to the executable.
args: Command-line arguments string (default empty).
debug: Attach Windows debugger if True.
break_on_entry: Break on entry point if True (requires debug=True).
Returns:
JSON with {success, process_id}.get_opened_process_id tool
Get the PID of the process currently attached to Cheat Engine.
Returns:
JSON with {success, process_id} or {success=false, error_code="NO_PROCESS"}.get_opened_process_handle tool
Get the OS handle of the process currently attached to Cheat Engine as a hex string.
Returns:
JSON with {success, handle} where handle is a hex string.What 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 — 175 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 175 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 175 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 175 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 175 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 175 capabilities; 175 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 175 capabilities; 175 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 175 capabilities; 175 more call code the scanner could not follow, where it may happen
Where the code is: 175 handlers in 1 file at commit 6bd7ce904792
- 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 manifests1 manifest: MCP_Server/requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: MCP_Server/requirements.txt: 2 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=1.28,<2
- 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 175 capabilities; 175 more call code the scanner could not follow, where it may happen
- Environment variables2 capabilities read environment variables (often API keys)
- 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)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
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 | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.28,<2 |
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-08-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2025-12-24 |
| Topics | ai-agents ai-tools automation cheat-engine ctf-tools debugger debugging game-research game-security lua |
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.