Logo Cheat Engine MCP Server

Cheat Engine MCP Server

Tổ chức
CheatEngineNet

Automate Cheat Engine using MCP protocol for use with AI!

Nhà phát hànhCheatEngineNet
Kho mãCheatEngine.Mcp
Ngôn ngữC#
Bản fork
17
Sao
76
Công cụ có sẵn
0
Phương thức truyền tảistreamable-http
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Cheat Engine MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    76 sao và 17 bản fork từ kho mã được liên kết.

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.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

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

Dùng MCP Cheat Engine MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Cheat Engine MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này kết nối qua URL máy chủ MCP được lưu trữ từ xa trong TypingMind.

Thêm URL máy chủ MCP

Dùng cách này khi Cheat Engine MCP Server đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ của bạn vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ của bạn vào trường URL máy chủ.
  2. Nhập tên kết nối cho Cheat Engine MCP Server.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối Cheat Engine MCP Server hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của Cheat Engine MCP Server trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của Cheat Engine MCP Server trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Cheat Engine MCP Server giúp tôi làm việc này không?
Cheat Engine MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Cheat Engine MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Cheat Engine MCP Server dùng để làm gì?

Cheat Engine MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Cheat Engine MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Cheat Engine MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Cheat Engine MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Cheat Engine MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Cheat Engine MCP Server với TypingMind?

Bạn có thể kết nối Cheat Engine MCP Server trong TypingMind bằng cách thêm URL máy chủ MCP được lưu trữ từ xa của dịch vụ này. Cách này hữu ích khi bạn muốn dùng kết nối MCP từ xa ngay trong không gian làm việc TypingMind.

MCP Cheat Engine MCP Server cung cấp những công cụ nào trong TypingMind?

Cheat Engine MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Cheat Engine MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Cheat Engine MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇