Monolith 标志

Monolith

社区
tumourlove

MCP plugin for Unreal Engine 5.7 & 5.8 — gives AI assistants full read/write access to Blueprints, Materials, Niagara, Animation, Mesh, AI, GAS, Logic Driver, ComboGraph, UI, Audio, plus Reflection Intelligence (decision / risk / C++ reflection / replication queries). 1,400+ actions across 25+ namespaces. Native C++, zero Python dependency.

发布者tumourlove
代码仓库monolith
语言C++
复刻数
84
星标数
312
可用工具
0
传输类型streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Monolith 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 312 个星标和 84 个复刻。

Monolith

One plugin. Every Unreal domain. Zero dependencies.

UE 5.7 / 5.8 License: MIT MCP


Why I built this

Most MCP integrations for Unreal register every action as a separate tool. That floods the AI's context window with hundreds of tool names before you've asked a single question — and the actually useful stuff gets buried. I built Monolith because I wanted my AI to spend its context on my problem, not on memorising a tool catalogue.

One plugin. One MCP endpoint. A handful of namespace-dispatch tools instead of ~1,400+. The AI calls monolith_discover() and monolith_guide() when it needs to know what's available, and otherwise just hits blueprint_query("create_blueprint", ...), material_query("compile", ...), and so on. monolith_discover() is terse by default — each action returns just a name and a one-line description, so listing a namespace costs almost nothing; the full param schema is one describe_query("action_schema", ...) call (or detail=true) away when the AI actually needs it.

I use it every day. It does what I need.


What it does

Monolith exposes ~1,400+ actions across 26 in-tree namespaces through a namespace-dispatch pattern: each domain registers a single {namespace}_query(action, params) tool, and a central monolith_discover() lists everything available. (Exact counts are intentionally approximate — query monolith_discover() for the live figure.)

Covered domains: Blueprints, Materials, Animation, Niagara, Mesh, UI (incl. CommonUI), AI (Behavior Trees, State Trees, EQS, Smart Objects, Perception, Navigation), Gameplay Ability System, Logic Driver state machines, ComboGraph combo trees, Audio (Sound Cues + MetaSounds), Editor control (UBT builds, log capture, scene capture, asset preview & inspection), Engine source search (1M+ symbols, fully offline), Project asset search (SQLite FTS5), INI config, Level Sequences, a bulk_fill / describe reflection framework for deep property writes, a monolith_guide self-onboarding tool for your AI, plus the new v0.17.0 Reflection Intelligence layer: decision (architectural decision-record harvest), risk (repo-level hotspot + co-change + conditional-gate signals), cppreflect (UE 5.7 UHT reflection-edge queries cross-joined with the asset registry), network (replication inspection — replicated classes, RPCs, OnRep handlers, unbalanced-handler audits), pipeline (read-only composer actions for PR review + release pre-flight), and reflect (index maintenance — a project-only force-rebuild of the reflection tables). The cppreflect and network indexers scan your project plugins by default, so replicated classes and RPCs declared in plugins are in scope without extra setup; enabled marketplace plugins are gated behind a setting, and Epic engine built-ins stay excluded.

MCP LLM Ergonomics (also new in v0.17.0): universal response shaping (_fields / _omit / _compact_json) on every action, schema-tagged param kinds with automatic \ → / rewrite on asset paths, did_you_mean fuzzy match on dispatch errors, MCP tools/list annotations (read-only / destructive / idempotent hints), source_query cursor pagination, and a proxy-side JSONL call log. The whole point is to let your AI spend less context recovering from typos and trial-and-error.

New in v0.19.0: an LLM C++ authoring ergonomics pack in the source namespace — eight read-only lookups so your AI resolves an include path, exact signature, deprecation status, Build.cs deps, header lint, or a UCLASS stub in one round-trip instead of reading raw source (get_include_path, get_signature, check_deprecations, verify_symbols, find_example_usage, suggest_build_cs_deps, lint_header, generate_class_stub), plus fix_hints on editor.get_build_errors. A parser fix that finally indexes allman-brace plain classes/structs tripled the engine source index (~300K → ~967K symbols), so lookups for FCollisionShape, FScopeLock, FPaths and ~40K other engine types now actually return. Plus live-PIE introspection + driving in the editor namespace (pie_get_object_properties, pie_call_function, pie_set_control_rotation, pie_inject_input_action, pie_possess_spectator_free), programmatic stat-group readout (get_stat_group_values), time-series PIE sampling and anim-node binding read/write (animation), a Blueprint variable-reference census (blueprint.find_variable_references) and contract reconciliation, and first-class T3D asset-text export (project.export_asset_text). The tools/list manifest is ~40% smaller (duplicated action lists dropped from dispatcher descriptions), and two first-launch fixes land (MonolithMesh now delay-loads GeometryScripting; the deep indexer no longer asserts on UserDefinedStruct fields with unresolved types — issue #70, thanks @aggitti).

New in v0.20.0: an AnimGraph-authoring pack in the animation namespace — apply-additive / mesh-space-additive nodes, slot nodes (validated against the skeleton's slot groups), save/use cached pose, output-pose and state-result wiring, blend-by-int, sync groups, layered-blend-per-bone filters, Control Rig anim-graph nodes, linked anim layers, and state-machine conduits — plus blend-space baking + interpolation control, state-machine teardown (remove states / transitions / re-point entry), IK-solver removal, and a Blueprint-Assist-free auto_layout formatter that works in release builds.

New in v0.18.1: a from-scratch Motion Matching authoring pack across the animation, chooser, and blueprint namespaces — Pose Search schema / database primitives, mirror data tables, chooser-table authoring, the AnimBP motion-matching graph + foot-IK, thread-safe AnimBP authoring (reflective Property Access, a thread-safe function flag, and an exec-driven chooser feeding the Motion Matching database), character/actor scaffolding, and a retarget create/run pack. Plus a PIE / profiling harness (async PIE-smoke sessions, CSV / Insights profiling brackets, clip + anim-frame capture, map authoring, nav rebuild/validate), state-machine authoring + live anim-instance telemetry, a generic AI controller that runs a BehaviorTree on possess with movement-driving BT task classes, inherited-native-component inspection, and live DataAsset field read-back.

New in v0.18.0: Niagara HLSL direct-editing — read and overwrite the HLSL source on a CustomHlsl node (get_custom_hlsl_text / set_custom_hlsl_text), plus simulation-stage / event-handler selectors on the module-stack actions and a ParameterMap bridge for create_module_from_hlsl (PR #65, thanks @middle233). Niagara also gains a search & discovery pack (search_by_parameter, search_by_data_interface, query_niagara, find_similar_systems, search_by_material, find_niagara_references, list_system_data_interfaces).

Full per-namespace breakdown: Tool Reference (wiki).

Works with Claude Code, Cursor, Cline, or any MCP-compatible client. Windows, macOS, Linux.


Quick install

1. Drop into Plugins/

bash
cd YourProject/Plugins
git clone https://github.com/tumourlove/monolith.git Monolith

(Or grab the latest release zip and extract to the same path. The release zip includes precompiled DLLs so Blueprint-only projects can open the editor immediately without rebuilding. Monolith builds on UE 5.7 and 5.8 from a single source tree — but the precompiled DLLs are engine-locked, so Blueprint-only users grab the zip for their engine, Monolith-vX.Y.Z-UE5.7.zip or -UE5.8.zip. Building from source works on either.)

2. Create .mcp.json in your project root (same directory as your .uproject):

json
{
  "mcpServers": {
    "monolith": {
      "command": "Plugins/Monolith/Binaries/monolith_proxy.exe",
      "args": []
    }
  }
}

The native C++ proxy keeps your AI session alive when the editor restarts. For Cursor/Cline, macOS/Linux, or the Python fallback, see the Installation wiki page.

3. Open the editor. Wait 30-60 seconds for the first-launch index. When you see Monolith MCP server listening on port 9316 in the Output Log (filter LogMonolith), connect your AI client and ask "what Monolith tools do you have?" to verify.

Project-instructions files (CLAUDE.md, AGENTS.md, .cursorrules, etc.) vary per assistant — just paste the namespace list into your AI and ask it to generate the right format for your toolchain. Full install variants, troubleshooting, and post-install setup live on the Installation wiki.


Standalone tools

Two zero-dependency C++ executables ship in Binaries/ and work without the editor:

  • monolith_proxy.exe — MCP stdio↔HTTP proxy. Keeps your AI session alive across editor restarts. Used by the .mcp.json config above.
  • monolith_query.exe — Offline query tool. Serves the engine source index, project asset index, and the full Reflection Intelligence surface (decision / risk / cppreflect / network) without launching UE — byte-identical to the live server, verified by a ship-blocking parity guard. Instant startup; useful for terminal-side lookups and CI when the editor is down.

Details: wiki Tool Reference.


Auto-updater

Off by default as of v0.14.6. Opt in via Auto Update Enabled in Editor Preferences > Plugins > Monolith — checks GitHub Releases on editor startup, verifies the downloaded zip's SHA256 against the release-notes marker, swaps the plugin on editor exit (after a Y/N prompt). See Auto-Updater wiki.


Network exposure

Monolith starts a local HTTP server on port 9316 to receive MCP traffic. UE's FHttpServerModule does not expose a bind-address parameter, so the listener is reachable on all network interfaces, not just 127.0.0.1. CORS is restricted to localhost origins (which blocks browser-based cross-origin reads) but does not block direct HTTP requests from other devices on the same LAN.

If you work on an untrusted network: either add a Windows Firewall rule blocking inbound TCP on port 9316 from non-loopback addresses, or untick MCP Server Enabled in Editor Preferences > Plugins > Monolith and restart the editor.

See SECURITY.md for the full threat model and disclosure policy.


Documentation

  • Wiki — installation variants, tool reference, connecting your AI, configuration, auto-updater, FAQ, skills, optional modules, engine source index details, mesh module deep dive, horror level design, procedural geometry, genre presets, test status
  • API_REFERENCE.md — full per-action parameter reference, regenerated from the live registry each release
  • SPEC_CORE.md — technical specification and architecture; per-module specs at Docs/specs/
  • CHANGELOG.md — version history, contributor credits, breaking-change notes
  • CONTRIBUTING.md — dev setup, coding conventions, how to add new actions, PR process

Contributing

Contributions welcome. See CONTRIBUTING.md. Every release CHANGELOG names the PR authors and issue reporters whose work shipped — credit goes where it's due.


License

MIT — see ATTRIBUTION.md for credits.

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "tumourlove-monolith": {
      "command": "",
      "args": []
    }
  }
}

将 Monolith MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Monolith 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 在 TypingMind 中,您可以使用远程托管的 MCP 服务器的 URL 连接此 MCP 服务。

添加 MCP 服务器 URL

如果 Monolith 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 您的服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 您的服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 Monolith 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 Monolith 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 Monolith 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 Monolith 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Monolith 帮我完成这项任务吗?
Monolith
当然,我看过了。
以下是我使用 Monolith 得到的结果。

常见问题

Monolith MCP 服务器有什么用途?

Monolith 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Monolith MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Monolith。

为什么在 TypingMind 中使用 Monolith MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Monolith 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Monolith MCP 连接到 TypingMind?

要连接 Monolith,请在 TypingMind 中添加该远程 MCP 服务器的 URL。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

Monolith MCP 在 TypingMind 中提供哪些工具?

Monolith 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Monolith MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Monolith 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇