Universal Game Modder

io.github.doritoman90000由 GitHub 账号 doritoman90000 发布v0.1.4更新于 Oct 24, 2026

Local MCP server: detects a game's engine and gives agents native binary analysis/patching tools.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

本地 MCP 服务器,可识别游戏引擎,并让 AI 助手用原生工具分析、搜索、修补和比对游戏二进制文件。

可以做什么
识别游戏引擎(Unity、Unreal、Godot、Java、原生)并设为当前目标,附带会话、Steam 库查找及模组脚手架与调试工作流工具。分析二进制:PE 头、文件格式、DLL 结构、RVA 与偏移互转、Godot PCK。读取、写入、搜索和替换十六进制字节,并执行模式扫描。提取字符串与 DLL 类,计算校验和并比对二进制。原生反汇编函数与地址范围。
适用场景
适合让助手对您合法拥有或获授权分析的软件进行逆向与模组制作:识别游戏引擎、检查二进制、定位数值,并在本地应用和验证字节级补丁。
运行要求
以本地 stdio 进程运行,通过 npm 包 universal-game-modder 安装,需要 Node.js 18+ 和支持 MCP 的客户端(如 Claude Code)。支持 Windows、macOS 和 Linux。无需账号或 API 密钥;可选 UGM_CONFIG 环境变量指定配置文件。
安装前请注意
hex_write、hex_replace 等工具会直接修改二进制文件,请先备份目标。仅限用于您合法拥有或获授权分析的软件;README 指向可接受使用与 EULA 文档。列出的 64 个工具属于 Pro 级反编译后端,未配置可执行文件时会报错。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Universal Game Modder,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Universal Game Modder

One MCP server to inspect and mod any game — driven by an AI agent.

Universal Game Modder (UGM) is a local Model Context Protocol server that gives an AI agent (like Claude in Claude Code) hands for game reverse-engineering and modding: it auto-detects a game's engine, then exposes a toolset for analyzing and patching the binaries — all running locally on your own machine, no cloud, no telemetry.

This is the free open-core edition (v0.1.3).


⚠️ Responsible-use notice

UGM is a general-purpose binary-analysis and interoperability tool. It is meant for modding, interoperability, security research, and education on software you legally own or are authorized to analyze. You are responsible for how you use it. Before installing, read ACCEPTABLE_USE.md and LICENSE-EULA.md.


What's in the free edition

  • One stdio MCP server that an agent connects to and drives.
  • Game-engine auto-detection — point it at a game directory; it identifies Unity (Mono / IL2CPP), Unreal, Godot, Java, and native binaries from file signatures.
  • Native binary analysis + patching toolset — PE header analysis, hex read/write/search/replace, IDA-style pattern scanning, string extraction, checksums, and binary diffing, running natively in-process (no external tools required).

The guided game-modder workflow skill and the delegated decompilation backends land in a later release; this edition is the MCP server + engine detection + the native toolset.

Not in the free edition (Pro tier)

The web dashboard, the delegated Unity/Unreal/JAR decompilation backends, and native disassembly are part of the Pro tier and are not included here. The free edition is fully functional on its own for engine detection and native binary work.


Requirements

  • Node.js 18+ (uses ES modules and better-sqlite3)
  • Claude Code or any MCP-capable client
  • Windows / macOS / Linux (native tools are cross-platform; the smallest cut ships no OS-specific binaries)

Install

powershell
# from the repo root./setup.ps1

Or manually (dist/ ships prebuilt; there is nothing to compile in this edition):

bash
npm install

Then register the server with your MCP client. For Claude Code, add to your MCP config:

json
{  "mcpServers": {    "universal-game-modder": {      "command": "node",      "args": ["dist/index.js"]    }  }}

On first run, ugm.config.json ships with empty placeholders — the free edition needs no external paths. (The Pro delegate backends are where those get filled in.)

Config resolution

The server reads the first of these that exists and merges it over built-in defaults:

  1. the file named by the UGM_CONFIG environment variable
  2. ugm.config.local.json next to package.json — your machine-specific paths; keep it out of version control (the repo's .gitignore already does)
  3. ugm.config.json — the tracked file, placeholders only

So you can fill in backend paths without ever editing a file that could end up in a release or a pull request.


Quickstart

Once connected, ask your agent to work through these. Every example below is executed against a real binary before each release — see Verified examples.

Parameter naming: file-level tools take file_path (and file_path_a / file_path_b for comparisons). Game-directory tools take game_path. Disassembly tools take binary_path.

1. Detect what a game is built with:

detect_engine  { "game_path": "C:\\Path\\To\\Game" }

2. Set it as the active target:

load_game  { "game_path": "C:\\Path\\To\\Game" }

3. Analyze a binary:

analyze_file_format  { "file_path": "...\\SomeBinary.dll" }   # magic bytes, managed vs nativeanalyze_pe_full      { "file_path": "...\\SomeBinary.exe" }   # PE headers, sections, data directories

4. Search and inspect:

extract_strings          { "file_path": "...", "min_length": 8 }extract_dll_classes      { "file_path": "...", "search_terms": ["Health","Damage"] }pattern_scan             { "file_path": "...", "pattern": "48 8B ?? ?? ?? ?? ??" }search_binary_pattern    { "file_path": "...", "patterns": ["maxHealth"] }

5. Patch and verify:

hex_read       { "file_path": "...", "offset": 4096, "length": 64 }hex_replace    { "file_path": "...", "search_hex": "90 90", "replace_hex": "EB 00" }calculate_checksums       { "file_path": "..." }              # before/after integritycompare_binaries_detailed { "file_path_a": "...", "file_path_b": "..." }

6. Disassemble (native, included):

disassemble_function  { "binary_path": "...\\SomeBinary.exe", "rva": 4096 }disassemble_range     { "binary_path": "...\\SomeBinary.exe", "rva": 4096 }

Full free-edition tool list

These 29 tools run entirely in-process and need no external backend.

Native binary tools (19) — all take file_path unless noted: Detection / PE: analyze_pe_full, analyze_file_format, analyze_dll_structure, rva_to_offset (+rva), offset_to_rva (+offset) Hex: hex_read (+offset), hex_write (+offset,hex_data), hex_search (+hex_pattern), hex_replace (+replace_hex) Scanning: pattern_scan (+pattern), pattern_scan_all (+pattern), search_binary_pattern (+patterns) Strings / classes: extract_strings, extract_strings_advanced, extract_dll_classes Integrity / diff: calculate_checksums, compare_binaries_detailed (file_path_a,file_path_b) Godot: analyze_godot_pck Disassembly: disassemble_function (binary_path,rva)

Workflow / session tools (10): detect_engine, load_game, game_status, find_steam_games, mod_this_game, find_gameplay_values, build_and_deploy, debug_mod, scaffold_mod, list_available_tools

What the server also lists (Pro backends)

For transparency: the server advertises 100 tools total. The other 64 are the Unity (27), Unreal (11), and Java/JAR (26) decompilation suites, which route to external Pro-tier backend executables. They appear in the tool list, but calling one without a configured backend returns a clear error:

ERROR: Backend unity-decompiler not configured (missing executable path)

That is expected behavior in the free edition, not a defect. Configure their paths in ugm.config.json (Pro) to enable them.

Verified examples

The Quickstart calls above are not aspirational. Each release is gated on a verification pass that executes them against a real PE binary and requires every one to return real data. The v0.1.3 pass (2026-09-02, on the restored release cut) ran the gate's 20 documented calls plus 3 clean-failure checks; results are recorded in VERIFICATION.md.


License

The UGM code is released under the MIT License. Use of the tool is additionally governed by LICENSE-EULA.md and ACCEPTABLE_USE.md. Third-party components used by the Pro-tier backends are attributed in licenses/.

Changelog

See CHANGELOG.md. Current version: v0.1.3 — the config can no longer ship machine paths, and the release was restored and re-verified after a disk incident. v0.1.2 fixed engine detection; v0.1.1 fixed the docs and added the gate.

来源:README.md,提交 c172133

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.4最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分