Monolith

Monolith

Unreal Engine 5.7 editor plugin that gives AI assistants full read/write access to Blueprints, Materials, Animation, Niagara, Config, and more via MCP. 119 actions across 9 domains, pure C++, embedded Streamable HTTP server.

Category
访问服务器

README

Monolith

One plugin. Every Unreal domain. Zero Python bridges.

UE 5.7+ License: MIT MCP


What is Monolith?

Monolith is an Unreal Engine editor plugin that gives AI assistants full read/write access to your project through the Model Context Protocol (MCP). Install one plugin, point your AI client at one endpoint, and it can work with Blueprints, Materials, Animation, Niagara, project configuration, and more.

It works with Claude Code, Cursor, or any MCP-compatible client. If your AI tool speaks MCP, it can drive Monolith.

Platform: Windows only. Mac and Linux support is coming soon.

Why Monolith?

Most MCP integrations register every action as a separate tool, which floods the AI's context window with tool descriptions. Monolith uses a namespace dispatch pattern instead: each domain exposes a single {namespace}.query(action, params) tool, and a central monolith.discover() call lists what's available. This keeps the tool list small (around a dozen entries) while still exposing over a hundred actions across nine domains.

Features

  • Full Blueprint inspection — Graph topology, variables, execution flow, node search
  • Material graph editing — Read, build, and validate material graphs with preview support
  • Animation coverage — Montages, blend spaces, ABP state machines, skeletons, bone tracks
  • Niagara particle systems — Create and edit systems, emitters, modules, parameters, renderers, and HLSL
  • Editor integration — Build triggers, log capture, compile output, crash context, Live Coding support
  • Config management — INI resolution, diff, search, and explain
  • Deep project search — SQLite FTS5 full-text search across all indexed assets
  • Engine source intelligence — Tree-sitter C++ parsing of the UE source tree with call graphs and class hierarchy
  • Auto-updater — Checks GitHub Releases on editor startup, one-click update
  • Claude Code skills — Domain-specific workflow guides bundled with the plugin
  • Pure C++ — Direct UE API access, embedded Streamable HTTP server

Installation for Dummies (Step-by-Step)

Prerequisites

Platform: Windows only. Mac and Linux support is coming soon.

  • Claude Code, Cursor, or another MCP client — Any tool that supports the Model Context Protocol
  • (Optional) Python 3.10+ — Only needed if you want engine source code lookups

Step 1: Download Monolith

Every Unreal project has a Plugins/ folder. If yours doesn't exist yet, create it. It lives at the same level as your .uproject file:

YourProject/
  YourProject.uproject
  Content/
  Source/
  Plugins/          <-- here
    Monolith/

Option A: Git clone (recommended)

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

Option B: Download ZIP

Download the latest release from GitHub Releases, extract it, and place the folder at YourProject/Plugins/Monolith/.

Step 2: Configure the MCP Connection

Create a file called .mcp.json in your project root — the same directory as your .uproject file:

YourProject/
  YourProject.uproject
  .mcp.json          <-- create this file
  Plugins/
    Monolith/

Paste this exact content into .mcp.json:

{
  "mcpServers": {
    "monolith": {
      "type": "streamableHttp",
      "url": "http://localhost:9316/mcp"
    }
  }
}

This tells your AI client where to find Monolith's MCP server. You can also copy the template:

cp Plugins/Monolith/Templates/.mcp.json.example .mcp.json

Step 3: Launch Unreal Editor

Open your .uproject file as normal. On first launch:

  1. Monolith auto-indexes your entire project (takes 30-60 seconds depending on project size)
  2. Open the Output Log (Window > Developer Tools > Output Log)
  3. Filter for LogMonolith — you should see messages about the server starting and indexing completing

If you see Monolith MCP server listening on port 9316, you're good.

Step 4: Connect Your AI

  1. Open Claude Code (or your MCP client) in your project directory — the one containing .mcp.json
  2. Claude Code auto-detects .mcp.json and connects to Monolith
  3. Verify it works by asking: "What Monolith tools do you have?"

Your AI should list the Monolith namespace tools (blueprint.query, material.query, etc.).

Step 5: (Optional) Engine Source Index

If you want your AI to look up Unreal Engine C++ APIs, function signatures, call graphs, and class hierarchies:

  1. Install Python 3.10+
  2. Run the source indexer script (see Source/MonolithSource/ for details)
  3. This builds a local SQLite database of the entire UE source tree
  4. Once indexed, source.query actions become available

Verify Everything Works

With the editor open, run this curl command from any terminal:

curl -X POST http://localhost:9316/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

You should get a JSON response listing all available Monolith tools. If you get "connection refused", make sure the editor is running and check the Output Log for errors.

(Optional) Install Claude Code Skills

Monolith ships with domain-specific workflow skills for Claude Code:

cp -r Plugins/Monolith/Skills/* ~/.claude/skills/

Architecture

Monolith.uplugin
  MonolithCore          — HTTP server, tool registry, discovery, auto-updater (4 actions)
  MonolithBlueprint     — Blueprint graph reading (5 actions)
  MonolithMaterial      — Material inspection + graph editing (14 actions)
  MonolithAnimation     — Animation sequences, montages, ABPs (23 actions)
  MonolithNiagara       — Niagara particle systems (39 actions)
  MonolithEditor        — Build triggers, log capture, compile output, crash context (13 actions)
  MonolithConfig        — Config/INI resolution and search (6 actions)
  MonolithIndex         — SQLite FTS5 deep project indexer (5 actions)
  MonolithSource        — Engine source + API lookup (10 actions)

119 actions total across 9 modules, exposed through ~14 namespace tools.

Tool Reference

Namespace Tool Actions Description
monolith monolith_discover — List available actions per namespace
monolith monolith_status — Server health, version, index status
monolith monolith_reindex — Trigger full project re-index
monolith monolith_update — Check or install updates
blueprint blueprint.query 5 Graph topology, variables, execution flow, node search
material material.query 14 Inspection, editing, graph building, previews, validation
animation animation.query 23 Montages, blend spaces, ABPs, skeletons, bone tracks
niagara niagara.query 39 Systems, emitters, modules, parameters, renderers, HLSL
editor editor.query 13 Build triggers, error logs, compile output, crash context
config config.query 6 INI resolution, explain, diff, search
project project.query 5 Deep project search — FTS5 across all indexed assets
source source.query 10 Engine source lookup, call graphs, class hierarchy

Auto-Updater

Monolith includes a built-in auto-updater:

  1. On editor startup — Checks GitHub Releases for a newer version
  2. Downloads and stages — If an update is found, it downloads and stages the new version
  3. Auto-swaps on exit — The plugin is replaced when you close the editor
  4. Manual check — Use the monolith_update tool to check for updates at any time
  5. Disable — Toggle off in Editor Preferences > Plugins > Monolith

Troubleshooting / FAQ

Problem Solution
Plugin doesn't appear in editor Verify the folder is at YourProject/Plugins/Monolith/ and contains Monolith.uplugin. Check you're on UE 5.7+.
MCP connection refused Make sure the editor is open and running. Check Output Log for port conflicts. Verify .mcp.json is in your project root.
Index shows 0 assets Run monolith_reindex or restart the editor. Check Output Log for indexing errors.
Source tools return empty results The Python engine source indexer hasn't been run. See Step 5 above.
Claude can't find any tools Check that .mcp.json has "type": "streamableHttp" (not "http" or "sse"). Restart Claude Code after creating the file.
Tools fail on first try Restart Claude Code to refresh the MCP connection. This is a known quirk with initial connection timing.
Port 9316 already in use Change the port in Editor Preferences > Plugins > Monolith, then update the port in .mcp.json to match.
Mac/Linux not working Monolith currently supports Windows only. Mac and Linux support is planned for a future release.

Configuration

Plugin settings are at Editor Preferences > Plugins > Monolith:

Setting Default Description
MCP Server Port 9316 Port for the embedded HTTP server
Auto-Update On Check GitHub Releases on editor startup
Module Toggles All enabled Enable/disable individual domain modules
Database Path Project-local Override SQLite database storage location

Skills

Monolith bundles 9 Claude Code skills in Skills/ for domain-specific workflows:

Skill Description
unreal-blueprints Graph reading, variable inspection, execution flow
unreal-materials PBR setup, graph building, validation
unreal-animation Montages, ABP state machines, blend spaces
unreal-niagara Particle system creation, HLSL modules, scalability
unreal-debugging Build errors, log search, crash context
unreal-performance Config auditing, shader stats, INI tuning
unreal-project-search FTS5 search syntax, reference tracing
unreal-cpp API lookup, include paths, Build.cs gotchas
unreal-build Smart build decision-making, Live Coding vs full rebuild

Documentation


Contributing

Contributions are welcome! See CONTRIBUTING.md for dev environment setup, coding conventions, how to add new actions, and the PR process.


License

MIT — See ATTRIBUTION.md for credits.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选