umg-material-mcp
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "umg-material-mcp":https://skillpi.com/zh/skills/deepskill-9d7e3104822cffa54404bde01efda36534e3da7756c4a1223ecd65096a4c756d。安装前核对上游来源和版本:https://github.com/winyunq/UnrealMotionGraphicsMCP。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于当 Codex 需通过 Unreal Motion Graphics MCP/FabUmgMcp HLSL 材质工具创建、检查、编辑、删除或验证 UE5.8 材质资产时的操作。适用场景包括单 HLSL 自定义节点编写、UI 默认与非 UI 材质类型选择、仅联合写入、语义化输出、hlsl_delete 恢复,或基于 Material ToolMode 的协议操作。
介绍来源: third_party · winyunq · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
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.
版本历史
-
v1.0.12
GitHub ↗
原版更新说明
## 中文摘要 / 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 ↗
原版更新说明
### 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 ↗
原版更新说明
### 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 ↗
原版更新说明
## 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 ↗
原版更新说明
# 🚀 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.*
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供 UE5.8 UMG Material MCP 的完整工作流,涵盖创建、检查、编辑、删除、验证材质资产
- 针对 HLSL 自定义节点编写和 Material ToolMode 协议的专业工具链
亮点
- 触发词精准完整,明确列出所有适用场景和关键操作
- 边界清晰,无歧义,便于准确触发
亮点
- 结构清晰,Primary Workflow 五步法完整
- Protocol Rules 和 Validation 章节提供重要补充信息
待提升项
-
引用文件缺失 原报告严重程度:重大
SKILL.md 引用了 references/demo-cases.md 文件,但该文件未包含在传入内容中
改进建议:请确保所有被引用的文件都包含在 Skill 包中,或提供替代的示例说明
亮点
- 工具命令和参数说明详细,包含异常处理建议
- 提供完整的验证脚本和编译命令,确保执行可靠性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。