umg-material-mcp
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-material-mcp" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9d7e3104822cffa54404bde01efda36534e3da7756c4a1223ecd65096a4c756d. 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
Used when Codex needs to create, inspect, edit, delete, or validate UE5.8 material assets via the Unreal Motion Graphics MCP/FabUmgMcp HLSL material tool. Applicable scenarios include single HLSL custom node authoring, UI default vs non-UI material type selection, joint-write-only operations, semantic outputs, hlsl_delete recovery, or protocol actions under Material ToolMode.
Introduction source: third_party · winyunq · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when Codex needs to create, inspect, edit, delete, or validate UE5.8 material assets through Unreal Motion Graphics MCP/FabUmgMcp HLSL material tools, especially one-HLSL Custom-node authoring, UI-default versus non-UI material type selection, union-only writes, semantic outputs, hlsl_delete recovery, or Material ToolMode protocol work.
- Testing
- Not tested
Browse files
Frontmatter
name: umg-material-mcp
description: Use when Codex needs to create, inspect, edit, delete, or validate UE5.8 material assets through Unreal Motion Graphics MCP/FabUmgMcp HLSL material tools, especially one-HLSL Custom-node authoring, UI-default versus non-UI material type selection, union-only writes, semantic outputs, hlsl_delete recovery, or Material ToolMode protocol work.UMG Material MCP
Use the Material HLSL MCP path for material authoring. Do not mutate .uasset files directly. Keep Unreal Editor open with the UMG MCP bridge listening before runtime tool calls.
For concrete command examples and regression cases, read demo-cases.md.
Primary Workflow
-
Set or create the HLSL target with
hlsl_set_target.- New targets default to UI material behavior.
- For non-UI materials, pass type fields directly on
hlsl_set_target:domain,blend_mode,shading_model,two_sided. - Prefer this over
material_modify_type; that command is compatibility-only.
-
Read with
hlsl_get.- Treat the response as semantic state: HLSL text, parameter snapshot, and
output_contract. - Do not request or reconstruct full material graphs unless the HLSL protocol cannot express the task.
- Treat the response as semantic state: HLSL text, parameter snapshot, and
-
Write with
hlsl_set(hlsl?, parameters?, outputs?).hlsl_setis union-only: update existing entries and append missing entries.- It must not delete parameters or outputs.
- Use
parametersfor Custom node inputs such as{"name":"Intensity","kind":"Scalar"}. - Use
outputsfor root material outputs such as"Roughness","Metallic","Normal", or objects withname,target, andtype. - Additional outputs are UE5.8 Custom node
AdditionalOutputs; assign same-name variables in HLSL, for exampleRoughness = 0.35;.
-
Delete with
hlsl_delete(names, confirm_delete=true, kind?).- Omit
kindin the normal path. - If a name matches both parameter and output, expect failure with
requires_kind: true; retry withkind="parameter"orkind="output". - Do not use
hlsl_delete_parameterorhlsl_delete_outputin primary flows; they are compatibility aliases.
- Omit
-
Compile with
hlsl_compile.- Treat compile diagnostics as the feedback loop.
- Prefer small repair writes with
hlsl_set(hlsl=...)rather than resetting the target.
Protocol Rules
- The material is represented as one HLSL program on a single Custom node.
- The Custom node primary return is
float4. output_contractdescribes where rgb/a and any additional outputs are wired.- UI, PostProcess, LightFunction, and Unlit output rgb to
EmissiveColor; lit Surface output rgb usually maps toBaseColor. - Alpha maps only when semantically useful: UI/translucent to
Opacity, masked toOpacityMask. - Do not fall back to legacy
material_*graph editing unless the requested operation cannot be modeled by HLSL target, parameters, outputs, delete, and compile.
Validation
Use the narrowest relevant checks:
python -m py_compile Resources\Python\UmgMcpServer.py Resources\Python\Material\UMGMaterial.py Resources\Python\APITest\Material_HLSL_Type_Demo.py Resources\Python\APITest\Material_Protocol_Static_Check.py
python Resources\Python\APITest\Material_Protocol_Static_Check.py
& 'D:\UE_5.8\Engine\Build\BatchFiles\Build.bat' FabUMGMCPEditor Win64 Development -Project='D:\UE5Project\FabUMGMCP\FabUMGMCP.uproject' -NoHotReloadFromIDE -Progress
python Resources\Python\APITest\Material_HLSL_Type_Demo.py
The runtime demo requires Unreal Editor to be open and the MCP socket in Resources/Python/mcp_config.py to be reachable.
Version history
-
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`
-
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.
-
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.
-
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.
-
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
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 UE5.8 UMG Material MCP 的完整工作流,涵盖创建、检查、编辑、删除、验证材质资产
- 针对 HLSL 自定义节点编写和 Material ToolMode 协议的专业工具链
Highlights
- 触发词精准完整,明确列出所有适用场景和关键操作
- 边界清晰,无歧义,便于准确触发
Highlights
- 结构清晰,Primary Workflow 五步法完整
- Protocol Rules 和 Validation 章节提供重要补充信息
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 references/demo-cases.md 文件,但该文件未包含在传入内容中
Recommendation: 请确保所有被引用的文件都包含在 Skill 包中,或提供替代的示例说明
Highlights
- 工具命令和参数说明详细,包含异常处理建议
- 提供完整的验证脚本和编译命令,确保执行可靠性
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.
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.
User discussion
No verified reviews yet.