UnrealMotionGraphicsMCP 标志

UnrealMotionGraphicsMCP

社区
winyunq

🚀 UE5-UMG-MCP: A deep-focused MCP for Unreal Engine UMG layout. Designed to maximize AI efficiency within limited context windows by prioritizing precision in UI structure, animations, and blueprint integration.

发布者winyunq
代码仓库UnrealMotionGraphicsMCP
语言C++
复刻数
41
星标数
203
可用工具
0
传输类型stdio
许可协议MIT
链接
  • 将工具接入 AI 工作流

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

  • 0 个可用工具

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

  • 可直接复制的配置

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

  • 开源社区热度

    关联的代码仓库有 203 个星标和 41 个复刻。

中文版


UMG MCP turns Unreal Editor UMG work into explicit, reviewable tool calls. An AI agent can create widgets, update layout, wire Blueprint logic, edit materials, drive UMG animation, and round-trip UI files through JSON instead of relying on screenshots or fragile click automation.

The README is the front door. The step-by-step tutorials live in the deployed documentation site:

Why It Exists

Problem in normal AI UI workUMG MCP approach
Agents guess from screenshotsAgents read the actual widget tree, slots, properties, materials, and graph state
UI edits are hard to diffUMG can be exported, patched, and re-applied as structured JSON
Blueprint wiring is click-heavyBlueCode and MCP commands create nodes, pins, references, and links directly
Long chat history wastes contextFab edition adds production packaging and context-management work for larger sessions

Blueprint API Status (Transitional)

BlueCode now separates attention-compressed semantic reads from round-trip/debug evidence. Union writes support graph revisions, source maps, dry-run plans, LCS right-anchor insertion, safe append, and rollback on failure. It is still transitional: complete structured CFG recovery and editing for nested branches, loops, Sequence/Switch, latent nodes, and arbitrary irreducible graphs remains v2 work. Low-level node commands are compatibility execution primitives, not the BlueCode language.

Install

UMG MCP currently targets Unreal Engine 5.8 on Win64. The plugin descriptor in this package is set to EngineVersion: 5.8.0.

Option A: Fab Edition

Use this if you want the shortest install path and the in-editor workflow.

  1. Open the Fab Marketplace listing.
  2. Add the plugin to your Epic Games / Unreal Engine library.
  3. Install it for Unreal Engine 5.8.
  4. Open your project, enable UmgMcp, then restart the editor.
  5. Open the plugin settings and configure your model provider. The web manual covers Google OAuth, Gemini API, ZhipuAI, and OpenAI-compatible endpoints.

Option B: Source Edition

Use this if you want to inspect the protocol, develop fixes, or integrate the plugin manually.

powershell
cd D:\UE5Project\YourProject
mkdir Plugins
cd Plugins
git clone https://github.com/winyunq/UnrealMotionGraphicsMCP.git UmgMcp

Then open the project in Unreal Engine 5.8 and allow Unreal Build Tool to compile the plugin. If you move the plugin between projects, keep the final folder name as UmgMcp unless you also update your MCP client configuration.

Connect An MCP Client

External MCP clients use the Python server under Resources/Python. Each Unreal Editor instance binds an OS-assigned local port and publishes it to the shared UmgMcp discovery registry. With one editor, the Python front end selects it automatically; with several editors, use list_umg_mcp_servers and connect_umg_mcp to choose the project.

Add this to the mcpServers section of your client settings, replacing the path with your own absolute plugin path:

json
{
  "mcpServers": {
    "UmgMcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "D:\\UE5Project\\YourProject\\Plugins\\UmgMcp\\Resources\\Python",
        "UmgMcpServer.py"
      ]
    }
  }
}

Notes:

  • The path must point to Resources/Python, not the repository root.
  • On Windows JSON paths need escaped backslashes: D:\\Path\\To\\Project.
  • If uv is missing, install it first or create the optional virtual environment below.

Optional local Python setup:

powershell
cd D:\UE5Project\YourProject\Plugins\UmgMcp\Resources\Python
uv venv
.\.venv\Scripts\activate
uv pip install "mcp[cli]>=1.4.1" fastmcp uvicorn fastapi "pydantic>=2.6.1" requests
python -c "import mcp, fastapi, pydantic, requests; print('deps ok')"

Verify The Setup

Run static protocol checks without opening a project:

powershell
cd D:\UE5Project\YourProject\Plugins\UmgMcp\Resources\Python
uv run python APITest\Umg_Widget_Protocol_Static_Check.py
uv run python APITest\Blueprint_MCP_Schema_Check.py
uv run python APITest\Material_Protocol_Static_Check.py
uv run python APITest\Animation_Protocol_Static_Check.py

Run an editor smoke test after Unreal Editor is open:

powershell
uv run python APITest\UE5_Editor_Imitation.py

If the editor-side test cannot connect, check that the plugin is enabled and use list_umg_mcp_servers to confirm its dynamically assigned endpoint is discoverable.

Documentation Map

GoalWeb pageRepository file
Set up model providersModel configurationDocument/model_config.html
Use the in-editor chat workflowChat dialogue guideDocument/chat_dialogue.html
Understand MCP supportMCP supportDocument/mcp_support.html
Widget command protocol-Document/UmgWidgetMcpProtocol.md
Blueprint / BlueCode protocol-Document/BlueprintBluecodeProtocol.md
Material and HLSL protocol-Document/MaterialMcpProtocol.md
Animation protocol-Document/AnimationMcpProtocol.md
Google OAuth setup-Document/Google_OAuth_Setup.md

What Agents Can Do

AreaExamples
UMG widgetsCreate widgets, set slot data, reorder tree nodes, replace subtrees, export and apply JSON
Blueprint / BlueCodeCreate graphs, add nodes, connect pins, bind widget references, apply compact code-like statements
MaterialsBuild UI materials, set scalar/vector parameters, add HLSL snippets, validate supported material fields
Animation / SequencerCreate UMG animation tracks and keyframes for render transform, opacity, color, and timing
Editor utilitiesInspect selected assets, read project state, manage the active target, and run focused tests

Example prompt for an MCP-capable agent:

text
Create /Game/UI/WBP_LoginPanel with a centered login card, email and password fields,
a primary submit button, and a subtle material background. Export the final widget JSON
and summarize which MCP tools changed the asset.

Videos

Troubleshooting

SymptomFix
MCP client reports ConnectionRefusedError, WinError 10061, or WinError 1225Open Unreal Editor first, enable UmgMcp, then call list_umg_mcp_servers. Each editor uses a unique OS-assigned port; reconnect to the endpoint in its live discovery record.
uv is not recognizedInstall uv, restart the terminal, or use the optional local virtual environment setup above.
Plugin does not compile after copying between projectsConfirm the project is using UE 5.8 Win64, remove stale generated build output for this plugin/project, then let Unreal rebuild.
Tool calls succeed but edit the wrong widgetSet the active UMG target first or pass the full asset path, for example /Game/UI/WBP_LoginPanel.WBP_LoginPanel.
A protocol command is unclearUse the web manual for workflow guidance and the protocol markdown files for exact payload shapes.

Fab And Open Source

EditionBest forNotes
Open source repositoryProtocol review, research, custom integration, issue fixesCore UMG MCP behavior remains available here.
Fab editionArtists, technical artists, and production projects that want a packaged installAdds the marketplace install path, in-editor workflow packaging, and production-focused support.

Core protocol improvements are intended to flow back to the open repository. If you report an issue from a project using the Fab package, include your UE version, plugin version, target asset path, and the failing MCP tool payload when possible.

Developer Program

Developers who contribute useful fixes, tests, documentation, or protocol examples can request Fab access for validation work. Open an issue or contact the maintainer with the contribution link and the scenario you want to test.

License

This repository is released under the MIT License.

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

TypingMind 在工作区级别连接 MCP 工具,因此连接 UnrealMotionGraphicsMCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 UnrealMotionGraphicsMCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 UnrealMotionGraphicsMCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "unrealmotiongraphicsmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 UnrealMotionGraphicsMCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 UnrealMotionGraphicsMCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 UnrealMotionGraphicsMCP 帮我完成这项任务吗?
UnrealMotionGraphicsMCP
当然,我看过了。
以下是我使用 UnrealMotionGraphicsMCP 得到的结果。

常见问题

UnrealMotionGraphicsMCP MCP 服务器有什么用途?

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

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

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

为什么在 TypingMind 中使用 UnrealMotionGraphicsMCP MCP?

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

如何将 UnrealMotionGraphicsMCP MCP 连接到 TypingMind?

UnrealMotionGraphicsMCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

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

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

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

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

相关 MCP 服务器

查看全部

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

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