← Back to Leaderboard
Cmiscusi-peek

miscusi-peek/cheatengine-mcp-bridge

A Python–Lua MCP bridge for inspecting Windows process memory with Cheat Engine

View on GitHub ↗
Engineering Health (Methodology)
B · 58/100
Maintenance Activity
● Updated 3mo ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption20/25
Release Cadence6/20
License Clarity20/20
MCPCLI
Total Stars
★ 1,886
24h Growth
+0
7d Growth
+24
Forks
272

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

miscusi-peek/cheatengine-mcp-bridge Star History (2025-12-23 - 2026-12-03) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +1.9k in 345d · avg +5/day 2k 996 0 2025-12-23: ★ 12026-01-17: ★ 2002026-02-07: ★ 2542026-02-28: ★ 3162026-03-21: ★ 3862026-04-11: ★ 4792026-05-02: ★ 5962026-05-23: ★ 7102026-06-13: ★ 8072026-07-04: ★ 9202026-07-25: ★ 1,0362026-08-15: ★ 1,2022026-09-05: ★ 1,3532026-09-26: ★ 1,4832026-10-17: ★ 1,6382026-11-07: ★ 1,7532026-12-03: ★ 1,886 ★ 1.9k 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

The bridge has two runtime components: MCP_Server/mcp_cheatengine.py, a Python FastMCP server, and MCP_Server/ce_mcp_bridge.lua, which runs inside Cheat Engine. The MCP client exchanges JSON-RPC with the Python subprocess over stdio. In direct mode, Python reaches the Lua bridge through the Windows named pipe CE_MCP_Bridge_v99 using pywin32. In relay mode, ce_tcp_relay.py accepts TCP connections on the Windows side and forwards them to the pipe; the client-facing MCP transport remains stdio.

The Lua bridge separates blocking transport I/O from Cheat Engine API execution. A worker thread waits for requests and synchronizes with the main thread for calls that interact with Cheat Engine. That separation keeps pipe waits off the main thread but does not imply that target operations run in parallel. Command handlers use globals to stay below Lua’s 200-local limit for a single chunk. The exposed command set is the integration surface; no separate plugin system is documented.

Key Capabilities & Differentiators

The inspection surface covers typed memory reads, pointer-chain resolution, value and byte-pattern scanning, disassembly, call and reference lookup, structure inspection, and C++ class identification via RTTI. Symbol management includes Windows symbol resolution, and the process interface covers enumeration, attachment, and pause/resume. Hardware breakpoints and optional DBVM tracing add runtime observations when a static snapshot is insufficient.

The interface is not read-only: it also exposes memory allocation and protection changes, process control, and code execution capabilities. Shell tools are separately opt-in through CE_MCP_ALLOW_SHELL; leaving that flag unset does not make the rest of the interface read-only. The test suite’s example output lists 36 passes and one skipped signature-generation test. That is a regression baseline, not evidence of scan speed, compatibility across targets, or analysis accuracy.

Trade-offs & Limitations

Compared with using the Cheat Engine GUI or writing Lua directly, the MCP bridge is useful when an assistant needs to connect several observations in one investigation, such as reading a structure and then inspecting a related function. Manual debugging keeps tool selection and state changes under direct operator control. A direct Lua script is generally easier to reproduce when the inspection sequence is already fixed. The extra Python and transport layers also add failure points: an MCP connection, a working bridge, and attachment to the intended process are separate conditions to verify.

The TCP relay removes the Windows requirement for the Python adapter, not for Cheat Engine, and widens the trust boundary when used across hosts. Avoid treating it as a shared service for untrusted callers or giving a model unattended access to live processes. DBVM also carries a documented host-stability caveat: protected-page scans can trigger CLOCK_WATCHDOG_TIMEOUT when Cheat Engine’s “Query memory region routines” option is enabled. The bridge’s MIT license is permissive, but it does not grant permission to inspect third-party software.

Hardware & Deployment Guide

Run Cheat Engine and the Lua bridge on Windows. Load MCP_Server/ce_mcp_bridge.lua from disk, configure the MCP client to launch MCP_Server/mcp_cheatengine.py, and verify connectivity with ping. For a Windows-side Python adapter, MCP_Server/requirements.txt supplies mcp and pywin32. To run the adapter in WSL, a Linux VM, or a container, keep Cheat Engine and ce_tcp_relay.py on Windows and install the adapter dependencies from MCP_Server/requirements-tcp.txt. Set CE_MCP_TRANSPORT=tcp and point CE_MCP_HOST and CE_MCP_PORT at the relay.

The bridge itself requires neither an external model API nor a GPU; inference is a separate client-side choice. Keep the relay reachable only by trusted callers: access to it grants control of the bridge. Leave shell execution disabled unless it is explicitly required, and enable DBVM only for tools that need it. The bridge’s ping example reports version 12.0.0, but there is no published GitHub release in the available metadata; a runtime version is not a packaged release milestone.

Protocol boundary: FastMCP exposes tools to the client over stdio JSON-RPC; a separate named pipe connects the adapter to Cheat Engine.
Threading: A Lua worker handles blocking I/O, while synchronized calls to Cheat Engine APIs run on its main thread.
Memory inspection: Typed reads, pointer-chain resolution, value scans, and byte-pattern scans cover distinct inspection tasks.
Program analysis: Disassembly, cross-references, structure inspection, and RTTI help interpret raw memory and code.
Transport options: Direct pipe mode requires Windows and pywin32; a Windows TCP relay allows the Python adapter to run elsewhere.
Regression baseline: The supplied test example reports 36 passes and one skipped signature-generation test, not a performance benchmark.
Best For

Engineers who already use Cheat Engine to debug their own Windows binaries and want an MCP client to correlate memory, structure, and code observations under operator supervision.

Skip If

You need a Windows-free backend, enforceable read-only access for untrusted callers, or unattended debugging of production processes. For a fixed inspection sequence, use a direct Lua script.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLI
pip install -r MCP_Server/requirements.txt

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
cheatengine-mcp-bridge ★1.9k+24LuaMITA Python–Lua MCP bridge for inspecting Windows process memory with Cheat Engine
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
mcp-for-blender37.1k+1.1kPythonGPL-3.0A local MCP bridge for inspecting and editing live Blender scenes with AI

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/miscusi-peek/cheatengine-mcp-bridge.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

miscusi-peek/cheatengine-mcp-bridge Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about cheatengine-mcp-bridge

How does an MCP client connect, and what does ping verify?

The MCP client starts MCP_Server/mcp_cheatengine.py as a subprocess and exchanges JSON-RPC over stdio. The Python adapter forwards calls to the Lua bridge inside Cheat Engine over a Windows named pipe, either directly or through ce_tcp_relay.py. Use ping to verify the bridge connection separately from target attachment; a process ID of 0 is normal before attachment.

Does the bridge need a GPU, and how should I size the host?

The bridge has no documented local model, GPU, or VRAM requirement. Cheat Engine and the Lua bridge need a Windows host; model inference is handled by the MCP client or its provider. Size the Windows host for the target process and the scans or debugging operations you expect to run. DBVM is optional for ordinary tools, and no measured CPU, memory, or scan-throughput figures are available.

Can we self-host it or incorporate it into a commercial workflow?

The bridge repository uses the MIT license, which permits commercial use and redistribution subject to retaining the applicable copyright and license notices. That license does not cover Cheat Engine, Python dependencies, the MCP client, or permission to inspect target software. The bridge can be self-hosted, but attaching a cloud-backed client may still send tool results off the host.

When is the bridge preferable to the Cheat Engine GUI or direct Lua scripting?

Use the bridge when you want an MCP client to coordinate multiple inspection steps and interpret returned observations. For one-off debugging, the Cheat Engine GUI keeps control and observation in one place. For a fixed, repeatable procedure, direct Lua scripting avoids the Python adapter and model-driven tool selection.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining miscusi-peek/cheatengine-mcp-bridge? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature miscusi-peek/cheatengine-mcp-bridge on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare