umg-mcp-authoring

Use when creating, editing, inspecting, validating, or demonstrating UE5.8 UMG interfaces via Unreal Motion Graphics MCP/FabUmgMcp. Applicable to target/default workflows, control tree authoring, HLSL-based UI materials, Sequencer control animations, Blueprint event wiring, playback verification, and operation-trace demonstration scripts.

Last repository push
GitHub Stars
226
Forks
44
Issues / PRs
5

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "umg-mcp-authoring" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d0bc9ee6e9e6ce3449200aaea065fd7b4d9f4ca25d356d90e95b0562b0cc3b2b. Verify the upstream source and version against https://github.com/winyunq/UnrealMotionGraphicsMCP before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use when creating, editing, inspecting, validating, or demonstrating UE5.8 UMG interfaces via Unreal Motion Graphics MCP/FabUmgMcp. Applicable to target/default workflows, control tree authoring, HLSL-based UI materials, Sequencer control animations, Blueprint event wiring, playback verification, and operation-trace demonstration scripts.

0 Downloads

Introduction source: third_party · winyunq · 0.0.1 Reference

SkillPi interpretation

Tasks
Use when Codex needs to create, edit, inspect, validate, or demo UE5.8 UMG interfaces through Unreal Motion Graphics MCP/FabUmgMcp, especially target/default workflows, widget tree authoring, HLSL-backed UI materials, Sequencer widget animations, Blueprint event wiring, readback validation, or operation-trace demo scripts.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: umg-mcp-authoring
description: Use when Codex needs to create, edit, inspect, validate, or demo UE5.8 UMG interfaces through Unreal Motion Graphics MCP/FabUmgMcp, especially target/default workflows, widget tree authoring, HLSL-backed UI materials, Sequencer widget animations, Blueprint event wiring, readback validation, or operation-trace demo scripts.

UMG MCP Authoring

Use MCP tools as the hands and this skill as the experience. Do not mutate .uasset files directly and do not bypass MCP with raw socket scripts when validating the public protocol.

For the five-system login demo and concrete script workflow, read login-demo.md.

Workflow

  1. Set the attention target first with set_target_umg_asset.

    • Passing a missing /Game/... UMG path creates a WidgetBlueprint.
    • Use set_target_widget only when the next operation is intentionally scoped to a widget.
    • Prefer omitted/default path arguments after target is established.
  2. Build widget structure with panel parents.

    • CanvasPanel, Overlay, VerticalBox, and HorizontalBox are reliable authoring parents.
    • Current create_widget attaches children through UPanelWidget; do not create children directly under Button or Border.
    • To put text on a button or content over a border, create an Overlay and add the visual widget plus the text as siblings.
  3. Write properties as union updates.

    • set_widget_properties should set or overwrite supplied properties and leave unspecified properties intact.
    • Use Slot.Position and Slot.Size aliases for CanvasPanel children when possible.
    • Use nested Slot objects for panel-slot alignment and padding.
    • Use delete_widget only for explicit deletion and pass confirm_delete=true.
    • Prefer apply_layout for bulk layout authoring; export_umg_to_json and apply_json_to_umg are hidden compatibility/debug paths.
  4. Use HLSL materials for UI visual richness.

    • Prefer hlsl_set_target, hlsl_set, and hlsl_compile.
    • New HLSL targets default to UI material behavior.
    • For detailed material rules, use the umg-material-mcp skill.
  5. Animate widgets through Sequencer.

    • Create or select an animation with create_animation and set_animation_scope.
    • Focus the animated widget with set_target_widget or set_widget_scope.
    • Use animation_append_widget_tracks for widget-oriented union key writes.
    • Use animation_append_time_slice when authoring a single moment across one or more widgets.
    • Read back with animation_overview or animation_time_properties; do not trust write responses alone.
    • Treat get_animation_keyframes, get_animation_full_data, set_property_keys, remove_property_track, and remove_keys as hidden compatibility commands, not default authoring tools.
  6. Wire Blueprint through BlueCode.

    • Use bluecode_set_function("WidgetName.EventName") for component event scope.
    • Default bluecode_read_function(detail="semantic") is the attention-compressed comprehension view and intentionally omits node/pin sidecars. Before editing an existing graph, re-read with detail="roundtrip"; use detail="debug" or include_connections=true only when raw nodes, pins, or edges are actually needed.
    • Preserve base_revision, source_map, action_hints, expression_hints, and action_hints_by_line from the round-trip read and pass them back to bluecode_apply. A stale base_revision must fail instead of rematching changed graph state.
    • When editing a readback line, keep the corresponding hint. Hints with node_id cause bluecode_apply to update the existing node's supplied input pins/defaults instead of appending a duplicate node, including variable-set and Branch nodes; Pin=A+B and Pin=value("Select", ...) can create data expression nodes for that existing pin. Unmentioned pins and links are preserved.
    • When reconnecting or deleting edges, read connections via detail="debug" or include_connections=true; use each entry's connect as a bluecode_connect reference and delete_target as a bluecode_delete(..., confirm_delete=true) target.
    • Write with default bluecode_apply(mode="union") and bluecode_apply_variables; use dry_run=true when the insertion plan should be inspected first. Union mode aligns semantic statements, inserts unmatched statements before the next matched right anchor, otherwise appends at the block end, and never deletes omitted graph content. Use FunctionName(Pin=value, ...) for normal calls, node("Action Menu Name", Pin=value, ...) for generic exec/action nodes, and value("Action Menu Name", Pin=value, ...) for pure/data nodes.
    • Pin names in Pin=value and bluecode_connect endpoints may use internal pin names, editor display names, or FriendlyName. When omitting an endpoint pin, rely on automatic resolution only if the node has one matching data input/output.
    • Pin values may be strings, numbers, booleans, or structured objects such as {path:"/Game/..."}, {class:"/Script/..."}, {object:"..."}, {text:"..."}, or {literal:"(X=0,Y=0)"}. Check input_warnings after writes.
    • Pin values may also be data expressions: Pin=value("Select", Index=ActiveIndex), Pin=PureFunction(A, B), or Pin=A + B. These create pure/data nodes and connect their compatible output.
    • For custom pure/data expression nodes, pass action hints for the inner expression as well, using the inner Action Menu name or full expression key, such as expression_hints={"My Custom Pure": {...}} for Pin=value("My Custom Pure", Input=A). Readback returns these dependency hints in expression_hints, mirrors them into action_hints, and bluecode_apply accepts either object directly.
    • If a custom, plugin, or macro node stores behavior in UObject node properties rather than pins, pass node_properties to bluecode_apply using the same statement/name keys as action_hints, or put node_properties/properties inside the matching hint object. Treat operations[].result.node_properties.failures as a failed semantic write.
    • If a data expression cannot connect to the target pin, the temporary expression nodes are rolled back and the reason appears in input_warnings.
    • Variable-input nodes that implement UE's native add-pin interface can grow before BlueCode writes values, such as value("Make Array", 0=First, 1=Second, 2=Third) or multi-input math nodes. Array-style pins accept either [0] or 0.
    • Format Text is preconfigured from its Format pin before the rest of the inputs are applied, so value("Format Text", Format="Hello {Name}", Name=PlayerName) can generate the Name argument pin.
    • Treat input_warnings as write feedback that must be read and handled; warnings mean part of the requested semantic write did not map cleanly.
    • Add alias=Name inside bluecode_apply statements, or pass node_aliases, when newly created nodes must be referenced later. Pass the returned aliases map into bluecode_connect and use Name:Pin endpoints.
    • Treat each successful bluecode_apply.operations[].result as immediate context for the next operation: it returns nodeId/node_id, node title/class, is_exec, pin_counts, and inputs/outputs pin evidence using the same endpoint format as readback hints.
    • Use bluecode_connect only when a complex custom, plugin, or macro node needs explicit pin links that cannot be inferred from bluecode_apply inputs. Treat it as union-only connection append, not as a reconnect/delete tool.
    • For custom, plugin, macro, or ambiguous nodes, call bluecode_search_nodes first and pass its returned handle as an action_handle, or place the returned search result object directly in bluecode_apply.action_hints so signature/category/node_class/node_class_path remain available for fallback matching. Use is_exec to choose node(...) versus value(...); use include_pins=true only when pin_counts is not enough.
    • Delete nodes, variables, or existing pin connections only with bluecode_delete(..., confirm_delete=true). For connection deletes, use {"kind":"connection","source":"NodeA:Then","target":"NodeB:Execute"} or "NodeA:Then -> NodeB:Execute"; if a node pair has multiple links, provide the exact pin names instead of guessing.
    • Treat add_step, prepare_value, connect_data_to_pin, get_function_nodes, delete_node, and delete_variable as backend compatibility tools, not default authoring tools.
  7. Validate with read operations.

    • Use get_widget_tree after structure writes.
    • Use query_widget_properties for precise property checks.
    • Use export_umg_to_json only when that advanced tool is enabled and a full file snapshot is needed.
    • Use save_asset only after the target has passed focused readback checks.

Blueprint Direction

Treat BlueCode as the default Blueprint MCP direction. The target is semantic/code-like Blueprint read/write, not raw node dumps. Node-level reads should be compressed into intent such as events, variables, calls, branches, bindings, and data dependencies.

Useful reference directions:

  • Code-like Blueprint representations, similar to Blueprint-to-C++ or pseudocode translation.
  • JSON extraction for complete fallback inspection.
  • Compact Markdown/ASCII views only for debug or review, not as the primary protocol.

Validation Commands

python -m py_compile Resources\Python\UmgMcpServer.py Resources\Python\APITest\Login_Demo_Five_Systems.py Resources\Python\APITest\Umg_Widget_Protocol_Static_Check.py Resources\Python\APITest\Blueprint_Protocol_Static_Check.py Resources\Python\APITest\Animation_Protocol_Static_Check.py Resources\Python\APITest\Sequencer_RenderTransform_Check.py
python Resources\Python\APITest\Umg_Widget_Protocol_Static_Check.py
python Resources\Python\APITest\Blueprint_Protocol_Static_Check.py
python Resources\Python\APITest\Animation_Protocol_Static_Check.py
python Resources\Python\APITest\Material_Protocol_Static_Check.py
python Resources\Python\APITest\Sequencer_RenderTransform_Check.py
python Resources\Python\APITest\Login_Demo_Five_Systems.py

The runtime demo requires Unreal Editor to be open with the UMG MCP bridge listening on the configured host and port.

Version history

  1. v1.0.12 GitHub ↗
    Original release notes

    ## 中文摘要 / Summary 这是当前开源源码线的正式版本,面向 **Unreal Engine 5.8 / Win64**,版本号与 `UmgMcp.uplugin` 中的 `1.0.12` 保持一致。它包含可直接放入项目的预编译插件包,也保留 GitHub 自动生成的完整源码包。 This is the current open-source source-line release for **Unreal Engine 5.8 / Win64**. The release tag now follows the actual plugin descriptor version (`1.0.12`). > 版本说明:早期 GitHub Release 使用了 `v1.0`–`v3.0` 的旧营销版本线;`v1.0.12` 是更新的实际插件版本,并取代历史 `v3.0` 成为 Latest Release。 ## 更新内容 / What's changed - **89 个 MCP 工具**:3 个连接工具与 86 个领域工具,覆盖 UMG Widget、资产与关卡、Blueprint/BlueCode、Animation/Sequencer、Material/HLSL。 - **更安全的 UMG 编辑**:支持目标资产与目标控件、聚焦子树读取、并集式布局写入、局部重排,以及需要明确确认的删除操作。 - **BlueCode 工作流升级**:加入语义读取、revision/source map、dry-run、稳定追加、回滚与显式编译/删除路径;底层节点命令仍作为兼容执行层保留。 - **Material/HLSL 与 Animation**:补全材质图、Custom HLSL 参数/输出、动画轨道与关键帧的结构化读写协议。 - **多编辑器连接**:每个 Unreal Editor 实例使用系统分配端口并发布发现记录;支持会话选择与串行化的多客户端访问。 - **文档与 Agent Skills**:提供双语快速入口、完整协议文档、网页手册,以及 UMG/Material authoring skills。 - **发布可靠性**:修复静态测试与精简 README 的错误耦合;新增 `main` 到 `Document` 的文档 freshness CI,仅在文档敏感路径变化时要求重新审核,并保留审核提交与日期。 ## 已验证 / Verification - Unreal AutomationTool `BuildPlugin`: **成功**(UE 5.8, Win64, Development Editor)。 - Widget、Animation、Blueprint schema/protocol、Material 静态检查:**全部通过**。 - MCP stdio initialize 与 `tools/list` 握手检查:**通过**。 - 锁定的 `uv` Python 环境安装与 server import:**通过**。 - GitHub Pages 文档部署与源码 freshness workflow:**通过**。 ## 安装 / Install 1. 下载 `UmgMcp-v1.0.12-UE5.8-Win64.zip`。 2. 解压后把其中的 `UmgMcp` 文件夹放到 `<YourProject>/Plugins/`。 3. 启用插件并重启 Unreal Editor。 4. 外部 MCP 客户端配置请参阅包内 `Readme.md` / `Readme_zh.md` 或 [web manual](https://winyunq.github.io/UnrealMotionGraphicsMCP/)。 需要自行编译时,也可以直接使用本 Release 的 GitHub Source code archives。 ## 已知边界 / Known boundaries - 官方验证范围为 UE 5.8 / Win64。 - 实时工具调用需要 Unreal Editor 已启动且插件已启用。 - BlueCode 的复杂嵌套 CFG 编辑仍处于过渡阶段;详见协议文档。 ## 完整性 / Integrity - Release commit: `a0494ef819f03e3f75eda2a049078b2bedac4fec` - `UmgMcp-v1.0.12-UE5.8-Win64.zip` - SHA-256: `7e00490843aa053540c1aebcf19c8575e52cbd67464e254e0007cdf1b3abc7f3`

  2. v3.0 GitHub ↗
    Original release notes

    ### Special Thanks to My Fab Sponsor I want to express my deepest gratitude to the person who sponsored me on Fab. Your encouragement allowed me to subscribe to **Gemini Pro**, which is the sole reason this project can continue today. ### How to Install Due to GitHub's 2GB file limit, this release is split into 3 parts. 1. Download all files (** .001, .002, .003**). 2. Use **7-Zip** or **WinRAR** to open the first file (**FabUmgMcp_v3.0_Split.7z.001**). 3. Extract the folder to your Unreal Project's Plugins directory. ### The Student Reality & The Power of AI As a student, I have great ambitions for this project but limited financial resources to access the highest-tier tools. While Gemini Pro is a massive leap forward, I know that with **Gemini Ultra**, I could unlock even greater potential and deliver features at a professional scale. However, I cannot afford such costs without your support. If you find value in my work, please consider subscribing on **Fab**. Your support directly translates into better AI brains for this project. ### What’s New in v3.0 (The Polished Chaos) This version marks a turning point, though some 'chaos' remains from the past: - **Local LLM Integration:** Includes a built-in **Gemma 2B** model for local inference. - **Connectivity:** Added support for API Keys and **Google OAuth** integration. - **Advanced Control:** New Command Line Interface (**CLI**) support. - **Local Llama:** Preliminary support for local Llama models. ### A Note on the 'Messy' Architecture If you find certain parts of the code or logic inconsistent, it is because previous versions were co-authored with 'less intelligent' AI models. Those models often failed to follow my architectural vision, leading to some technical debt. With Gemini Pro now leading the tactical execution, I am working hard to clean up and realign the project. ### We Need Your Scenarios More than just funding, I need **real-world commercial use cases**. Please test this in your projects and let me know how it performs. - **Feedback:** Feel free to open issues in **any language you prefer**. I will use AI to understand and communicate with you.

  3. v2.0 GitHub ↗
    Original release notes

    ### UMG MCP v2.0: Material API & Stability Update This release marks a significant milestone in enabling full AI-assisted UMG workflows. **Core Features of v2.0:** - **UMG Material Support**: Added initial API for material manipulation, including custom HLSL injection and parameter management. - **Universal Workflow**: UMG Layouts, Blueprints, and Animations are now largely stable and ready for production experimentation. - **Fab Marketplace Edition**: Officially launched the Fab version for direct engine installation and optimized context management. **Looking Ahead (Future Roadmap):** - **Radical API Simplification**: Transitioning towards a 4-command HLSL-centric workflow (Refer to Issue #10). - **Advanced Context Compression**: Further reducing Token usage during heavy material and logic editing. - **Commercial Logic Priority**: Prioritized features for the Fab edition.

  4. v1.6 GitHub ↗
    Original release notes

    ## New Features - **Smart Asset Listing**: Added \list_assets\ command to dynamically discover project assets (e.g., Textures, Materials) using fuzzy search. - **UMG Nesting Support**: Extended \create_widget\ to automatically resolve Blueprint Asset Paths (e.g., \/Game/UI/MyWidget\) to their Generated Classes. This enables using any UMG as a library component seamlessly. ## Improvements - Merged Sequencer Server functionalities into the main UMG MCP Server for unified access. - Refined \list_assets\ to prioritize \class_name\ and use smart defaults.

  5. v1.5 GitHub ↗
    Original release notes

    # 🚀 v1.5: The "Antigravity" Update > **Unlock the full potential of Gemini 3 on Windows.** We are thrilled to bring you **v1.5**, a milestone release that bridges the gap between advanced AI agents and Unreal Engine. ## ✨ Highlights ### 🌌 Antigravity Support (Windows) **"You can now watch the Gemini 3 ability."** We've cracked the code for Windows compatibility! - **Zero Friction**: No more "invalid trailing data" errors. - **Seamless Integration**: Our new `antigravity_wrapper.py` ensures your AI agent talks perfectly to Unreal Engine, strictly adhering to the JSON-RPC protocol. - **Ready for Action**: Just update your config and let Gemini drive. ### 🎬 Animation Sequencer (Beta) **"Some of Animation Sequencer is able."** The foundation for AI-driven animation is here. - **Initial Toolset**: We've started exposing the Sequencer API to the MCP. - **Work in Progress**: This is a preview of what's to come—programmatic control over your cinematics and UI animations. --- ## 🛠️ How to Upgrade 1. **Pull the latest code**: ```bash git pull origin v1.5 ``` 2. **Update your Antigravity Config**: Point your `mcp_config.json` to the new wrapper: ```json { "mcpServers": { "UmgMcp": { "command": "[PathToYourUMGMCPPlugin]\\Resources\\Python\\.venv\\Scripts\\python.exe", "args": [ "[PathToYourUMGMCPPlugin]\\Resources\\Python\\antigravity_wrapper.py", "UmgMcpServer.py" ], "env": { "PYTHONUNBUFFERED": "1" } }, "UmgSequencer": { "command": "[PathToYouProjectPlugin]\\Resources\\Python\\.venv\\Scripts\\python.exe", "args": [ "[PathToYourUMGMCPPlugin]\\Resources\\Python\\antigravity_wrapper.py", "UmgSequencerServer.py" ], "env": { "PYTHONUNBUFFERED": "1" } } } } ``` --- *Empowering Creators with gemini 3.*

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供完整的 UE5.8 UMG 界面开发工作流,涵盖控件树构建、HLSL 材质、Sequencer 动画、蓝图事件连接等核心功能
  • 面向专业开发者的高频刚需工具,显著提升 Unreal 引擎 UI 开发效率
Trigger Precision95/100

Highlights

  • 触发词精准完整,明确限定于 Codex 通过 Unreal Motion Graphics MCP 操作 UE5.8 UMG 的场景
  • 覆盖创建、编辑、检查、验证、演示等多种变体,边界清晰不易误触
Structure and Standards85/100

Areas to improve

  • 缺少显式出口条件说明 Reported severity: Minor

    文档中未明确说明何时应停止使用该技能或退出当前工作流

    Recommendation: 建议在 Workflow 末尾添加出口条件说明,如'当 UMG 界面验证通过且无需进一步修改时,可结束当前会话'

Highlights

  • 7 个清晰的 Phase/步骤划分,每步都有具体操作指导
  • 包含端到端示例引用和完整的 frontmatter 信息
Execution Reliability88/100

Areas to improve

  • 引用文件存在性未验证 Reported severity: Minor

    文档中引用了 references/login-demo.md 文件,但未确认该文件是否实际存在于 Skill 包中

    Recommendation: 请确保 references/login-demo.md 文件包含在 Skill 包中,或提供替代的示例说明

Highlights

  • 工具来源明确,参数使用规范详细,覆盖主要异常处理场景
  • 不可逆操作均设有确认机制,具备良好的执行可靠性
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.