Cheat Engine MCP Bridge

Let AI clients inspect, debug, and manipulate program memory through natural-language requests.

Stars
★ 1.9k
Last updated
3mo ago
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
Lua

At a glance

How it runs
MCP serverCLI
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
Python 3.10+Cheat Enginemcppywin32 for native Windows named-pipe transportWindows host for Cheat Engine and the Lua bridgeShell / CLINetwork accessLocal filesystemMCP Server
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

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.

  1. A mod or trainer developer needs to locate health, currency, or coordinate values and generate a distinctive AOB signature that can survive game updates.
  2. A reverse engineer is navigating a large process and wants to trace writes, disassemble the responsible function, and document an inferred object structure.
  3. An authorized security researcher needs to inspect process memory, follow call references, or observe protected pages with hardware breakpoints and DBVM.
  4. A CTF participant wants to scan a live target, resolve pointer chains, inspect byte patterns, and identify possible C++ types through RTTI.
  5. A game-research or automation developer needs to sample pixels, simulate keyboard input, or send WM_* messages to a target window.
  6. 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.txt
  • pip install mcp pywin32
Environment variables
CE_MCP_TRANSPORT CE_MCP_HOST CE_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.txt

Or install them manually:

pip install mcp pywin32

In 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 9876

Install the TCP-only requirements where the MCP server runs:

python3 -m pip install -r MCP_Server/requirements-tcp.txt

Then 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Not found in source — apply before daily use
  • 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?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
48/ 100 5-point scale 2.4 / 5
Trust 6/29
Reliability 8/14
Adaptability 10/18
Convention 11/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust6 / 29 · 1.0/5

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.

Reliability8 / 14 · 2.9/5

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.

Adaptability10 / 18 · 2.8/5

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.

Convention11 / 18 · 3.1/5

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.

Effectiveness9 / 13 · 3.5/5

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.

Verifiability4 / 8 · 2.5/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 6bd7ce904792
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/cheatengine-mcp-bridge.svg)](https://followagents.com/en/agents/cheatengine-mcp-bridge)
<a href="https://followagents.com/en/agents/cheatengine-mcp-bridge"><img src="https://followagents.com/badge/cheatengine-mcp-bridge.svg" alt="FARS review"></a>

FAQ

Must every component run on Windows?
No. Cheat Engine and ce_mcp_bridge.lua must remain on Windows. mcp_cheatengine.py can use the local named pipe there or connect through ce_tcp_relay.py from Linux, WSL, a container, VM, or remote host.
How do I verify the first connection?
Confirm that Cheat Engine reports CE_MCP_Bridge_v99 as listening, restart the MCP client, and invoke ping. success: true confirms the bridge; process_id: 0 is normal before Cheat Engine attaches to a target.
Does the bridge require credentials or a paid service?
The supplied material does not document an API key or paid service requirement for the bridge itself. It is MIT-licensed, but operation requires Cheat Engine, Python 3.10+, a compatible MCP client, and any access that client independently requires.
Should the TCP relay be exposed publicly?
No. The documentation states that anyone who can reach it can control the Cheat Engine bridge, so it should be bound only to trusted interfaces with host settings appropriate to the private network.
What should I check when the client cannot connect?
Check that the Lua bridge is listening, the client was restarted after configuration, the mcp_cheatengine.py path exists, and mcp plus pywin32 are installed for native mode. Then run ping. If Cheat Engine reports too many local variables, load the Lua file from disk with dofile(...) instead of pasting the full script.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts