Cheat Engine MCP Bridge
Let AI clients inspect, debug, and manipulate program memory through natural-language requests.
- Source repo
- miscusi-peek/cheatengine-mcp-bridge
- Stars
- ★ 1.9k
- Last updated
- 3mo ago
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- Lua
- FA score
- 48/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude.ai
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A mod or trainer developer needs to locate health, currency, or coordinate values and generate a distinctive AOB signature that can survive game updates.
- Not a fit if
- Users wanting zero-config setup: you must load the Lua script, edit MCP client config, and disable memory region queries
- Multiplayer cheating or Terms-of-Service violations: the project explicitly disclaims these uses
- Maintenance
- Commits in the last 6 monthslast commit 2026-08-14+4.0 ★/day over 7 days
- Source review
- 48/100 · Major gaps 4 safety controls not found
What does this agent do, and when should you use it?
Cheat Engine MCP Bridge connects MCP clients such as Cursor, Copilot, Claude AI, and Codex to Cheat Engine for reverse engineering, memory analysis, and debugging automation. Its main components are the Python FastMCP server mcp_cheatengine.py, the Cheat Engine Lua bridge ce_mcp_bridge.lua, and the optional ce_tcp_relay.py transport. Clients send MCP JSON-RPC calls over stdio; the Python server forwards them to Cheat Engine through a Windows named pipe or TCP relay. Roughly 180 tools cover memory access and scanning, pointer resolution, disassembly, structure analysis, breakpoints, process control, allocation, injection, symbols, and window or input automation. Cheat Engine and the Lua bridge remain on Windows, while TCP transport allows the MCP server to run in a VM, container, Linux host, WSL, or remote environment. The project is positioned for authorized research, modding, trainer development, and security audits—not malicious hacking, multiplayer cheating, or Terms-of-Service violations.
An AI client invokes tools exposed by mcp_cheatengine.py, which sends requests to ce_mcp_bridge.lua over \\.\pipe\CE_MCP_Bridge_v99 or a configured TCP socket; the Lua bridge then calls Cheat Engine APIs against the target process. read_memory, read_integer, read_string, and read_pointer_chain retrieve typed values and resolve nested pointers, while scan_all and aob_scan search for values or byte patterns. disassemble, analyze_function, dissect_structure, get_rtti_classname, find_references, and find_call_references inspect code, objects, and cross-references. Debugging operations include hardware or data breakpoints and DBVM tracing through start_dbvm_watch; lifecycle tools enumerate, create, attach to, pause, and resume processes. Additional commands allocate and protect memory, inject DLLs, execute code or methods, manage symbols, assemble x86/x64 instructions, compile C into injected shellcode, generate API-hook templates, automate windows and keyboard input, and load or save .CT tables. Results return as MCP tool responses, with ping providing a basic connection and version check.
- A mod or trainer developer needs to locate health, currency, or coordinate values and generate a distinctive AOB signature that can survive game updates.
- A reverse engineer is navigating a large process and wants to trace writes, disassemble the responsible function, and document an inferred object structure.
- An authorized security researcher needs to inspect process memory, follow call references, or observe protected pages with hardware breakpoints and DBVM.
- A CTF participant wants to scan a live target, resolve pointer chains, inspect byte patterns, and identify possible C++ types through RTTI.
- A game-research or automation developer needs to sample pixels, simulate keyboard input, or send WM_* messages to a target window.
- A team running its MCP client in WSL, Linux, a container, or a remote environment needs a TCP relay to reach Cheat Engine on a Windows host.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -r MCP_Server/requirements.txtpip install mcp pywin32
- Environment variables
CE_MCP_TRANSPORTCE_MCP_HOSTCE_MCP_PORT- Config files
~/.codex/config.toml- Runtime
- Python 3.10+
- Install notes cover
- Windows
How do you install or deploy this agent?
Use Python 3.10+ and run Cheat Engine on Windows. For native named-pipe mode, install the dependencies with:
pip install -r MCP_Server/requirements.txtOr install them manually:
pip install mcp pywin32In Cheat Engine, choose File -> Execute Script and execute MCP_Server/ce_mcp_bridge.lua. If that menu is unavailable, open Table -> Show Cheat Table Lua Script and run:
dofile([[C:\path\to\cheatengine-mcp-bridge\MCP_Server\ce_mcp_bridge.lua]])The bridge is ready when Cheat Engine prints “[MCP v12.0.0] MCP Server Listening on: CE_MCP_Bridge_v99”. For Codex, add this to ~/.codex/config.toml:
[mcp_servers.cheatengine]
command = "python"
args = ['C:\path\to\cheatengine-mcp-bridge\MCP_Server\mcp_cheatengine.py']For another MCP client, configure command as python and args as ["C:/path/to/MCP_Server/mcp_cheatengine.py"]. Restart the client after changing its configuration.
How do you use this agent?
Attach Cheat Engine to the intended process, load ce_mcp_bridge.lua, and start or restart the configured MCP client. Invoke ping first; a working connection returns an object such as {"success": true, "version": "12.0.0", "message": "CE MCP Bridge Active"}. You can then ask questions such as “What process is attached?”, “Read 16 bytes at the base address”, or “Disassemble the entry point”; the client maps these requests to the available MCP tools. For a server outside Windows, start the relay on the Windows host:
python C:\path\to\cheatengine-mcp-bridge\MCP_Server\ce_tcp_relay.py --host 127.0.0.1 --port 9876Install the TCP-only requirements where the MCP server runs:
python3 -m pip install -r MCP_Server/requirements-tcp.txtThen launch mcp_cheatengine.py with CE_MCP_TRANSPORT=tcp, CE_MCP_HOST=127.0.0.1, and CE_MCP_PORT=9876. Bind the relay only to trusted interfaces. Enable DBVM in Cheat Engine before using DBVM tools, and disable Settings -> Extra -> Query memory region routines as required by the documented BSOD warning.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- least-privilege scoping — Grant only what the task needs: a dedicated account or read-only token, scoped to specific directories and repos.
- confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- sensitive-data handling — Use dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
- disclosed external effects — Establish which external systems it writes to, sends to or changes, and verify with test accounts or repos before production.
What are this agent's strengths and limitations?
- It exposes roughly 180 Cheat Engine operations, spanning scans and pointer chains through disassembly, breakpoints, process control, and code injection.
- Two transports are documented: direct Windows named pipes and a TCP relay that lets the Python MCP server run in WSL, Linux, containers, VMs, or remote environments.
- The repository supplies both a Codex TOML example and a generic MCP JSON configuration, plus a ping tool for end-to-end verification.
- RTTI identification, structure dissection, cross-reference lookup, and AOB scanning can be combined into one conversational reverse-engineering workflow.
- Cheat Engine and its Lua bridge still require a Windows host, and native pipe mode additionally depends on pywin32.
- DBVM access, kernel-oriented memory operations, injection, and memory-protection changes are privileged capabilities with meaningful stability and security risks.
- The documented setup requires disabling Query memory region routines to avoid CLOCK_WATCHDOG_TIMEOUT crashes when DBVM or anti-cheat interactions involve protected pages.
- No relay authentication is documented in the supplied material; the README warns that anyone able to reach the TCP relay can control the bridge.
- run_command and shell_execute require CE_MCP_ALLOW_SHELL=1 and introduce an explicit arbitrary-code-execution risk.
How does this agent compare with similar options?
Compared with manually browsing hex dumps, tracing writers one step at a time, and relocating addresses after each update, the bridge lets an MCP client compose scans, breakpoints, disassembly, structure inspection, and AOB-signature generation. It reduces repetitive interaction and tool switching, but still depends on Cheat Engine, live target state, the client's tool selection, and human validation of the findings.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Cheat Engine MCP Bridge This agent | 48 · Major gaps | MCP serverFree + model costs | ★ 1.9k | 3mo ago | Lua | Codex · Claude.ai |
| Universal Modder | 60 · Some gaps | Agent plugin / skill | ★ 10k | 14d ago | Python | Codex · Claude Code |
| ControlKeel | 58 · Major gaps | CLIFreemium | ★ 11 | 8d ago | Elixir | Codex |
| Serena | 74 · Some gaps | CLIFreemium | ★ 32k | 5d ago | Python | Codex · Claude Code · Claude.ai |
How does FollowAgents rate this agent?
Why each dimension lost points
The README describes the data path among MCP stdio, the Python server, named pipe or TCP relay, Cheat Engine Lua, and target process memory, and warns that the relay should bind only to trusted interfaces. However, roughly 180 tools include process control, memory access, code injection, kernel-mode operations, and window/input automation, with no task-scoped permissions or per-action confirmation described. Shell tools being disabled by default is a limited safeguard. The materials do not explain handling of sensitive memory data or recovery from external effects. The MIT license and repository name provide limited attribution, but publisher identity is unverified and no maintenance owner or update path is stated.
The README, AGENTS.md, and CLAUDE.md are broadly consistent on version, pipe name, setup, and architecture, and describe timeouts, reconnection, response-size limits, error shapes, and cleanup on reload. The docs say the test is an end-to-end script requiring a live environment, while the supplied materials do not show dependency pinning or an availability strategy, so dependency availability earns only limited credit. The documented test results are claims and are not execution evidence for this review.
The README targets users seeking natural-language memory analysis, debugging, and reverse engineering, with concrete workflows, tool categories, and Windows named-pipe and TCP-relay setups. It discloses Cheat Engine, DBVM, and Windows requirements and the risk of enabling shell tools, but broadens its intended scope to “any program” without clear allowed or disallowed scenario boundaries; this limits trigger precision and boundary scores.
The README organizes installation, quick start, tool categories, troubleshooting, environment variables, and examples. AGENTS.md and CLAUDE.md provide architecture and contribution guidance, but are coding-agent instructions rather than substitutes for a user manual. Setup covers dependencies, client configuration, TCP relay, and connection checks; the referenced command reference is not included in this packet. The README documents Windows/DBVM hazards and environment limits, and the MIT license text is complete. The version badge and runtime message say 12.0.0, but no changelog is supplied. Contributor names offer partial maintenance clues, but ownership is not defined.
The listed MCP capabilities cover memory scanning, structure analysis, breakpoints, disassembly, symbols, injection, and automation, showing substantial potential to bring Cheat Engine operations into natural-language workflows. Success output and workflow examples help explain use, but the README provides little evidence about result quality, misoperation controls, or deployment and operating costs for such a large toolset, limiting cost-benefit credit.
Architecture, environment variables, setup, and safety cautions are traceable to the README; AGENTS.md and CLAUDE.md corroborate several implementation and version claims. Claims about roughly 180 tools, test pass rates, BSOD causes, and implementation behavior are mostly project documentation statements; this packet lacks the corresponding code, test implementation, and full command reference for independent cross-checking. Demonstrations and capability claims are not consistently distinguished from verified facts.
- Not found in source: least-privilege scopingGrant only what the task needs: a dedicated account or read-only token, scoped to specific directories and repos.
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
- Not found in source: disclosed external effectsEstablish which external systems it writes to, sends to or changes, and verify with test accounts or repos before production.
- The bridge exposes high-privilege target-process access, code injection, and kernel/DBVM capabilities. Use it only on processes you are authorized to analyze, and review individual tool behavior before enabling it.
- The README warns that Cheat Engine's “Query memory region routines” setting may cause a CLOCK_WATCHDOG_TIMEOUT BSOD and instructs users to disable it; understand this risk before use.
- The TCP relay lets reachable clients control the Cheat Engine bridge, and the docs say to bind it to trusted interfaces. Do not expose it to untrusted networks.
- Shell tools require explicitly setting CE_MCP_ALLOW_SHELL=1 and are documented as an arbitrary-code-execution risk. Leave the variable unset unless needed and understood.
FAQ
Must every component run on Windows?
How do I verify the first connection?
Does the bridge require credentials or a paid service?
Should the TCP relay be exposed publicly?
What should I check when the client cannot connect?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.