Skip to main content
Glama
a45s67
by a45s67

CE MCP Backend

Structured Cheat Engine 7.7 dynamic analysis through MCP. The backend exposes bounded tools for explicitly authorized Windows processes; it does not expose arbitrary Lua, shell commands, injection, or memory writes.

Current tool behavior is documented in CE_MCP_TOOLS.md. Implementation boundaries are in ARCHITECTURE.md, and the evidence-first maintenance rules are in DEVELOPMENT_WORKFLOW.md.

Install

Prerequisites: Windows, Cheat Engine 7.7, Python 3.10 or newer, and uv on PATH.

Install the Lua bridge once, then restart Cheat Engine:

uv sync --locked
uv run --locked ce-mcp-install-bridge --ce-dir "C:\tools\Cheat Engine"

The installer writes only autorun\ce_mcp_bridge.lua and refuses to replace an existing file unless --replace is supplied. Normal stdio use needs no pipe environment variable, policy file, DBK, or DBVM.

Codex plugin

codex plugin marketplace add a45s67/codex-marketplace
codex plugin add ce-mcp-backend@a45s67

To refresh an installed development release:

codex plugin marketplace upgrade
codex plugin remove ce-mcp-backend@a45s67
codex plugin add ce-mcp-backend@a45s67

Codex runs uv run --locked ce-mcp-backend --transport stdio from the plugin root, so users do not configure a machine-specific virtual-environment path or MCP JSON. The first startup creates the plugin environment and can take longer.

Installing the plugin does not install or start the CE Lua bridge. Cheat Engine must be running after the bridge installation.

Other MCP clients

Use the executable from the project environment:

{
  "command": "C:\\path\\to\\CE-mcp-backend\\.venv\\Scripts\\ce-mcp-backend.exe",
  "args": ["--transport", "stdio"]
}

Related MCP server: Binary MCP Server

Use

The normal sequence is:

  1. Call ce.status.

  2. List processes and attach by explicit PID with ce.process.

  3. Preserve the returned session generation for target-bound calls.

  4. Close operation handles and remove breakpoints when finished.

  5. Detach with ce.process.

If multiple Cheat Engine instances are running, configure --ce-pid <pid>; automatic discovery intentionally refuses to guess. Never retry an OUTCOME_UNKNOWN mutation. Reconcile state with ce.status or the relevant read-only list/status call.

The default debug profile enables the supported non-DBVM tools. An optional read-only deployment can pass a local JSON file containing {"profile":"inspect"} through --policy-config. DBK/DBVM support is deferred, disabled by default, and never initialized by this project; see TODO.md.

For localhost Streamable HTTP, bind only to 127.0.0.1 and set a distinct backend-only CE_MCP_TOKEN of at least 32 characters. Do not expose the backend port directly to remote clients.

Recovery and uninstall

  • If the bridge is unavailable, restart CE and confirm exactly one CE instance is running, or select it with --ce-pid.

  • Closing the MCP session cleans debugger and operation resources owned by that connection.

  • Emergency bridge stop inside CE is StopCEMCPBridge() in the Lua Engine.

  • To uninstall, close the MCP client, remove only <Cheat Engine>\autorun\ce_mcp_bridge.lua, and restart CE.

Development

Create the locked environment and run the ordinary suite:

uv sync --locked
uv run --locked python -m unittest discover -s tests -v

Validate the official MCP stdio path against a controlled target:

uv run --locked ce-mcp-live-smoke --target-pid <controlled-pid>

Use --ce-pid <pid> only when multiple CE instances are open. Additional live gates are exposed as ce-mcp-*-smoke commands in pyproject.toml. Probe source and retained real-CE evidence live under bridge/probes.

Repository layout:

  • bridge/: the autorun Lua bridge and standalone lifecycle probes.

  • ce_mcp/: MCP server, policy, state, transport, artifacts, and schemas.

  • ce_mcp/contracts/v1/tools/: authoritative public tool contracts.

  • skills/: Codex guidance for safe tool use.

  • tests/: offline contracts, invariants, integration tests, and live fixtures.

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides safe, read-only access to memory analysis and debugging functionality through the Model Context Protocol, allowing users to examine computer memory for software development, security research, and educational purposes.
    62
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to perform low-level Windows process memory research, including process attachment, memory scanning, reading/writing, pointer chasing, remote code execution, and inline hooking via MCP tools and Lua scripting.
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI clients to inspect live memory of a running C++ process on Windows using cdb.exe, providing tools to evaluate expressions, retrieve map entries, and enumerate containers without modifying target code.

View all related MCP servers

Related MCP Connectors

  • Offline methodology engine for authorized penetration testing, CTF, and security research.

  • Reasoning, code, anti-deception, memory harness MCP tools. Stdio or HTTPS api.ejentum.com/mcp

  • Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/a45s67/CE-mcp-backend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server