Cheat Engine MCP Server logo

Cheat Engine MCP Server

Organization
CheatEngineNet

Automate Cheat Engine using MCP protocol for use with AI!

PublisherCheatEngineNet
RepositoryCheatEngine.Mcp
LanguageC#
Forks
17
Stars
76
Available tools
0
Transport typestreamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Cheat Engine MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    76 stars and 17 forks from the linked repository.

Cheat Engine MCP Server

ce-mcp is an x64 Cheat Engine plugin that exposes Cheat Engine workflows as a stateless Model Context Protocol server over Streamable HTTP. It builds as one ce-mcp.dll with managed dependencies embedded and includes a distributable AI skill beside the DLL.

FOSSA

[!WARNING] This project is under active development. Memory writes, process control, file operations, injection, compilation, debugger actions, DBVM, Auto Assembler, and arbitrary Lua can alter or crash a target or host. Use a disposable process while testing.

Capabilities

AreaExamples
ProcessesList/open/create processes, pause/resume, inspect threads and state
MemoryTyped reads/writes, regions, protection, allocation, copy/compare, hashes, dump/load
Pointers and scansPointer chains, direct-reference scans, AOB, string, first/next value scans
Symbols and structuresModules, symbols, RTTI, registered symbols, Structure Dissect CRUD and comparison
CodeAssembly, disassembly, bounded analysis, Auto Assembler, target C compilation
Cheat tablesAddress-list records and .CT load/save
DebuggerInterfaces, breakpoints, hit tracking, threads, registers, XMM, stepping, stack traces, LBR
Injection and executionScript generation, native/.NET injection, remote function calls
Optional DBVMAvailability, physical-memory access, and watches
Lua and conversionStructured Lua execution, MD5, ANSI/UTF-8 conversion

The maintained tool inventory, enum values, and recommended workflows are in skills/ce-mcp/references/tool-catalog.md. Prefer the live MCP schemas for exact parameter names and defaults.

Quick Start

1. Install prerequisites

For development, also install the .NET 10 SDK:

powershell
winget install Microsoft.DotNet.SDK.10
winget install Microsoft.DotNet.DesktopRuntime.10
winget install Microsoft.DotNet.AspNetCore.10

2. Get the plugin

Download the latest successful artifact from the build workflow:

  • ce-mcp-release: optimized build for normal use.
  • ce-mcp-debug: build with debugging information.

Each bundle contains:

text
ce-mcp.dll
skills/ce-mcp/

Copy ce-mcp.dll into Cheat Engine's plugins directory. Keep skills/ce-mcp/ with the distributed bundle for AI clients that consume repository skills.

3. Start the server

  1. Restart Cheat Engine.
  2. Enable the ce-mcp plugin in Cheat Engine's plugin settings.
  3. Choose MCP -> Start MCP Server.
  4. Connect an MCP client to http://127.0.0.1:6300/.
  5. Call get_plugin_version to confirm which DLL is loaded.

This is a Cheat Engine plugin, not a standalone executable.

MCP Client Configuration

For clients that accept a Streamable HTTP endpoint:

json
{
  "mcpServers": {
    "cheat-engine": {
      "url": "http://127.0.0.1:6300/"
    }
  }
}

The endpoint is stateless and mapped at /.

Configuration

Choose MCP -> Configure to edit the host, port, and server name. Settings are persisted to:

text
%APPDATA%\CeMCP\config.json

Example:

json
{
  "Host": "127.0.0.1",
  "Port": 6300,
  "ServerName": "Cheat Engine MCP Server"
}

Configuration precedence is:

text
defaults < config.json < MCP_HOST / MCP_PORT

Environment override example:

powershell
$env:MCP_HOST = "127.0.0.1"
$env:MCP_PORT = "6300"

[!IMPORTANT] The default loopback host is intentional. Binding to a non-loopback interface exposes powerful target and host operations to the network. Add authentication and network controls before doing so.

Runtime Compatibility

Some Cheat Engine 7.6.x installations still declare .NET 9 frameworks in ce.runtimeconfig.json. This plugin targets .NET 10 and requires these shared frameworks:

json
{
  "runtimeOptions": {
    "tfm": "net10.0",
    "frameworks": [
      {
        "name": "Microsoft.NETCore.App",
        "version": "10.0.0",
        "rollForward": "latestMinor"
      },
      {
        "name": "Microsoft.WindowsDesktop.App",
        "version": "10.0.0",
        "rollForward": "latestMinor"
      },
      {
        "name": "Microsoft.AspNetCore.App",
        "version": "10.0.0",
        "rollForward": "latestMinor"
      }
    ]
  }
}

If Cheat Engine reports CEPluginInitialize (Result=80070002), install the Desktop and ASP.NET Core 10 runtimes and verify this file.

Architecture

text
Cheat Engine
  -> CESDK plugin bootstrap and shared Lua state
  -> ce-mcp tool adapter
  -> typed CESDK facade
  -> LuaUtils / LuaNative
  -> Cheat Engine API and target process

src/McpServer.cs builds the ASP.NET Core host and explicitly registers every tool class with the required schema transform. HTTP requests may be concurrent, but Cheat Engine Lua state and engine objects are not thread-safe. CE-facing work is serialized onto Cheat Engine's GUI thread.

Stateful scanner order matters:

text
deinitialize old results -> scan -> WaitTillDone -> initialize results -> read -> deinitialize

CESDK/ is a git submodule and is compiled into the plugin assembly. See CESDK/README.md for wrapper and plugin-bootstrap guidance.

Build from Source

Clone with the CESDK submodule, then build from the repository root:

powershell
git submodule update --init --recursive
dotnet restore
dotnet build
dotnet test --filter "TestCategory!=Live"
dotnet build -c Release

Outputs:

text
bin/x64/Debug/net10.0-windows/ce-mcp.dll
bin/x64/Release/net10.0-windows/ce-mcp.dll

CI-equivalent sequence:

powershell
dotnet restore
dotnet build -c Debug --no-restore
dotnet test -c Debug --no-restore --no-build --filter "TestCategory!=Live"
dotnet build -c Release --no-restore

There is no repository formatter or lint command. SonarCloud is the configured static-analysis gate.

Testing

Normal tests

The normal suite is deterministic and does not require Cheat Engine:

powershell
dotnet test --filter "TestCategory!=Live"

Test layout:

  • tests/CeMCP.Tests/Unit/: validation, schemas, configuration, metadata, result shapes, logging, and skill packaging.
  • tests/CeMCP.Tests/Live/: opt-in MCP tests against a CE-loaded plugin.
  • tests/CeMCP.Tests/Support/: shared result assertions.
  • CESDK/tests/: separate CE-loaded wrapper harness and JSON report validator.

Safe live MCP tests

Build and install the fresh Debug DLL, restart CE, start the MCP server, then run:

powershell
$env:CE_MCP_LIVE = "1"
$env:CE_MCP_URL = "http://127.0.0.1:6300/"
dotnet test --filter TestCategory=Live

The default live suite uses inspection calls. Scan regressions execute only when CE already has a readable target; otherwise they are inconclusive.

Dedicated Notepad suite

The opt-in Notepad suite launches a disposable Notepad process through MCP, discovers the real Windows 11 Notepad PID, exercises every process-scoped tool with a safe scenario, restores CE table state, frees allocations, deletes owned temporary files, detaches the debugger, and terminates only that PID.

powershell
$env:CE_MCP_LIVE = "1"
$env:CE_MCP_NOTEPAD_LIVE = "1"
$env:CE_MCP_URL = "http://127.0.0.1:6300/"
dotnet test tests/CeMCP.Tests/CeMCP.Tests.csproj `
  -p:Platform=x64 `
  --filter TestCategory=NotepadLive

The suite fails if any live tool has neither a test scenario nor a documented exclusion. Exclusions are limited to operations that are not safely scoped to Notepad: foreground retargeting, symbol downloads/kernel symbols, native/.NET payload injection, and DBVM initialization/physical-memory/watch operations.

Logging and Troubleshooting

CESDK and the ASP.NET Core host use one isolated NLog factory and one log file:

text
%APPDATA%\CeMCP\ce-mcp.log

The file rolls at 10 MiB and retains five archives.

Common checks:

  1. Call get_plugin_version and verify the reported DLL path/version.
  2. Confirm CE was restarted after replacing the DLL.
  3. Verify the Desktop and ASP.NET Core 10 runtimes are installed.
  4. Verify ce.runtimeconfig.json declares the .NET 10 frameworks.
  5. Inspect %APPDATA%\CeMCP\ce-mcp.log.
  6. Keep the server on loopback while debugging connectivity.

If a build reports a locked Fody or DLL file, close Cheat Engine and any process loading the build output, then rebuild.

Contributors

Made with contrib.rocks.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "hedgehogform-ce-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ce-mcp"
      ]
    }
  }
}

Use Cheat Engine MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Cheat Engine MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when Cheat Engine MCP Server is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for Cheat Engine MCP Server.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Cheat Engine MCP Server connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Cheat Engine MCP Server tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Cheat Engine MCP Server tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Cheat Engine MCP Server to help me with this task?
Cheat Engine MCP Server
Sure. I read it.
Here is what I found using Cheat Engine MCP Server.

Frequently asked questions

What is the Cheat Engine MCP Server MCP server used for?

Cheat Engine MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Cheat Engine MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Cheat Engine MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Cheat Engine MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Cheat Engine MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Cheat Engine MCP Server MCP to TypingMind?

Cheat Engine MCP Server can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does Cheat Engine MCP Server MCP provide in TypingMind?

Cheat Engine MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Cheat Engine MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Cheat Engine MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇