HC

hollyzoe/cheatengine-mcp-tcp-bridge

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

78 stars 13 forks 质量 85 趋势 9MIT

hollyzoe/cheatengine-mcp-tcp-bridge 是从 https://github.com/hollyzoe/cheatengine-mcp-tcp-bridge. 导入的 MCP 服务器候选服务器。

概览

hollyzoe/cheatengine-mcp-tcp-bridge 是从 https://github.com/hollyzoe/cheatengine-mcp-tcp-bridge. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

英文 |中文

作弊引擎 MCP 桥接 — TCP 增强版

miscusi-peek/cheatengine-mcp-bridge 的一个分支,用原生 C TCP 桥替换了 Windows 命名管道,实现了远程 CE 控制、zero pywin32 依赖以及多实例支持。

演示视频


这次分叉与原始——关键区别

建筑

优缺点比较

原始版本(v12.0.0) 本分支(v15.0.0)
传输命名管道 原生TCP(C DLL)
远程CE 需要ce_tcp_relay.py继电脚本 通过CE_HOST env var内置
Python deps mcp + pywin32 mcp 仅限
多实例 不支持 端口自动递增(17171–17181)
暂停30秒 90秒,3次重试+自动重新连接
调试控制台无 专用 DLL 诊断窗口
Lua 代码~6700 行(FFI/Winsock/Pipe) ~5700 行(已移除 1000 行)
CRT依赖无 静态/MT — 无需VC运行时间
原始优势 分叉优势
简洁 零DLL,仅点缀安装 不适用
本地安全 命名管道设计上仅限本地 无

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

English | 中文

Cheat Engine MCP Bridge — TCP Enhanced Edition

A fork of miscusi-peek/cheatengine-mcp-bridge that replaces Windows Named Pipe with a native C TCP bridge, enabling remote CE control, zero pywin32 dependency, and multi-instance support.

Demo Video


This Fork vs Original — Key Differences

Architecture

ORIGINAL (v12.0.0)                         THIS FORK (v15.0.0)
AI Client                                  AI Client
  │ stdio JSON-RPC                           │ stdio JSON-RPC
  ▼                                          ▼
mcp_cheatengine.py                         mcp_cheatengine.py
  │ Named Pipe (pywin32)                     │ TCP socket (stdlib only)
  ▼                                          ▼
\\.\pipe\CE_MCP_Bridge_v99                 ce_mcp_tcp.dll (native C)
  │ Worker thread (Lua pipe I/O)             │ Winsock2 + select()
  ▼                                          ▼
ce_mcp_bridge.lua → Target Process         ce_mcp_bridge.lua → Target Process

Pros & Cons Comparison

Original (v12.0.0) This Fork (v15.0.0)
Transport Named Pipe Native TCP (C DLL)
Remote CE Requires ce_tcp_relay.py relay script Built-in via CE_HOST env var
Python deps mcp + pywin32 mcp only
Multi-instance Not supported Port auto-increment (17171–17181)
Timeout 30s 90s, 3x retry + auto-reconnect
Debug console None Dedicated DLL diagnostic window
Lua code ~6700 lines (FFI/Winsock/Pipe) ~5700 lines (1000 lines removed)
CRT dependency None Static /MT — no VC runtime needed
Original Advantages Fork Advantages
Simplicity Zero DLL, pip install only N/A
Local security Named Pipe is local-only by design N/A
Remote debugging N/A Native TCP, no relay scripts
Cross-platform server N/A TCP stdlib works anywhere
Stability N/A No FFI crashes, no PEB-walk failures
Multi-CE N/A Auto port discovery

Security: TCP has no auth/encryption. Only expose on trusted networks. Never open port 17171 to the internet.

Project Structure Comparison

ORIGINAL                                   THIS FORK
────────                                   ─────────
MCP_Server/                                MCP_Server/
├── mcp_cheatengine.py  (pywin32 pipe)     ├── mcp_cheatengine.py  (TCP stdlib)
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "cheatengine": { "command": "python", "args": ["C:/path/to/MCP_Server/mcp_cheatengine.py"], "env": { "CE_HOST": "127.0.0.1", "CE_PORT": "17171" } } } }