Logo di Cheat Engine MCP Server

Cheat Engine MCP Server

Organizzazione
CheatEngineNet

Automate Cheat Engine using MCP protocol for use with AI!

AutoreCheatEngineNet
RepositoryCheatEngine.Mcp
LinguaC#
Fork
17
Stelle
76
Strumenti disponibili
0
Tipo di trasportostreamable-http
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Cheat Engine MCP Server mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    76 stelle e 17 fork nel repository collegato.

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.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

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

Usa MCP Cheat Engine MCP Server con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Cheat Engine MCP Server, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP si connette in TypingMind tramite l'URL di un server MCP ospitato in remoto.

Aggiungi l'URL di un server MCP

Usa questo metodo se Cheat Engine MCP Server è già ospitato in remoto o se il tuo team vuole un unico connettore condiviso accessibile a più utenti.

1

Apri Connettori MCP

In TypingMind, vai su Plugin, apri Connettori MCP e scegli Aggiungi URL.

  1. Apri TypingMind nel tuo browser.
  2. Vai a Plugin.
  3. Apri Connettori MCP.
  4. Fai clic su Aggiungi URL.
Modulo di TypingMind per aggiungere l'URL di un server MCP personalizzato
2

Incolla l'URL del server

Inserisci URL del tuo server nel campo URL del server. Aggiungi un nome per la connessione, una descrizione, un'icona, header HTTP personalizzati o le impostazioni del client OAuth se richiesti dal server.

  1. Incolla URL del tuo server nel campo URL del server.
  2. Inserisci un nome per la connessione a Cheat Engine MCP Server.
  3. Aggiungi una descrizione e un'icona per riconoscere più facilmente la connessione.
  4. Aggiungi header HTTP personalizzati o i dati del client OAuth se il server richiede l'autenticazione.
3

Crea la connessione

Fai clic su Crea connessione, poi torna all'elenco dei plugin e verifica che la nuova connessione MCP sia attiva.

  1. Fai clic su Crea connessione.
  2. Torna all'elenco dei connettori MCP.
  3. Verifica che la connessione Cheat Engine MCP Server risulti attiva.
  4. Aggiorna l'elenco dei plugin se la connessione non appare subito.
4

Cambia modello senza riconnetterti

Avvia una chat con il tuo modello preferito, abilita gli strumenti di Cheat Engine MCP Server dalla sezione Plugin e passa a un altro modello quando serve. La connessione MCP rimane disponibile nell'area di lavoro di TypingMind.

  1. Avvia una nuova chat in TypingMind.
  2. Seleziona il modello IA che vuoi usare.
  3. Abilita gli strumenti di Cheat Engine MCP Server dalla sezione Plugin.
  4. Chiedi al modello di usare lo strumento quando serve.
  5. Passa a un altro modello IA e riutilizza la stessa connessione MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Cheat Engine MCP Server per aiutarmi con questa attività?
Cheat Engine MCP Server
Certo. Ho letto.
Ecco cosa ho trovato con Cheat Engine MCP Server.

Domande frequenti

A cosa serve il server MCP Cheat Engine MCP Server?

Cheat Engine MCP Server è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Cheat Engine MCP Server MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Cheat Engine MCP Server con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Cheat Engine MCP Server con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Cheat Engine MCP Server, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Cheat Engine MCP Server MCP a TypingMind?

Puoi collegare Cheat Engine MCP Server a TypingMind aggiungendo l'URL del suo server MCP ospitato in remoto. È utile se vuoi una connessione MCP remota disponibile dalla tua area di lavoro TypingMind.

Quali strumenti offre Cheat Engine MCP Server MCP in TypingMind?

Cheat Engine MCP Server mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Cheat Engine MCP Server MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Cheat Engine MCP Server richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇