Create and edit UEFN Widget Blueprints via MCP (widget tree, text, Verse field, MVVM bindings, animations). Use only in the lab; recipes in recipes.json.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Uefn Ui Widgets?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mimmo-the-root-uefn-ui-widgets)
---
name: uefn-ui-widgets
description: Create and edit UEFN Widget Blueprints via MCP (widget tree, text, Verse field, MVVM bindings, animations). Use only in the lab; recipes in recipes.json.
last_reviewed: 2026-10-16
sources: [original]
---
# uefn-ui-widgets
Sources: `Claude/docs/mcp/ui-widgets.md`, entry B1 of `SKILLS-PROPOSAL.md`, `recipes.json`.
Cross-cutting skills to always follow: `uefn-mcp-lab-guard` (lab guard) e `uefn-create-use-remove-one-script` (create, use, remove in ONE script).
## Rules
- Asset names: copy the EXACT spelling (upper and lower case) from a listing of the project (`find_assets`, the Content Browser path), never from the docs or from memory. The editor accepts a wrong-case path when it loads, but a later save can rewrite the file name with that case, and the project's version control (Lore) then reports "Node name ... does not match file system name". After a write call, check that the file name on disk did not change.
- Paths always in GUID form: `{lab}` = `/<guid>/<project>` (e.g. `/09e4e8d3-.../root_ai_lab`). `/root_ai_lab/...` is refused by the editor.
- `{bp}` = `{lab}/UI_X/WBP_X.WBP_X`; widget parts: `{bp}:WidgetTree.<Name>`.
- The guard is not bypassed: a refusal is reported as is. If a recipe fails: report the exact error and STOP (no creative retries).
- Call: `call_tool {toolset_name, tool_name, arguments}` (UEFN 43.00+: the tool's own name `mcp__unreal-mcp__<Toolset>_<Tool>`, same arguments). After every change: `CompileWidgetBlueprint` and read the result (`save_assets` returning true is NOT enough).
- **Verse fields of a widget are seen by Verse only after Verse is built.** A new or changed Widget Blueprint (new field, new widget, new blueprint) shows its fields in the Verse code only after a `BuildAll` (`/verse-check`): compile the widget (`CompileWidgetBlueprint`), save it, then build Verse; the digest is regenerated by that build. Do the order every time, no editor restart is needed. If the code does not see a field, you skipped or lost the build: run it (alone, one writer) and read the result; never conclude "the editor must be restarted" and never move a screen into another widget or back to canvas because of it.
- Cleanup: `AssetTools/delete {path: <bp without .Name>}`.
## Verified recipes
Toolset: `UMGToolSet.UMGToolSet`, `VerseFieldsToolset.VerseFieldsToolset`, `MVVMToolset.MVVMToolset`, `WidgetAnimationToolset.WidgetAnimationToolset`.
1. `UMGToolSet/CreateWidgetBlueprint {"folderPath":"{lab}/UI_X","assetName":"WBP_X","parentClass":{"refPath":"/Script/UMG.UserWidget"}}`
2. `UMGToolSet/AddWidget {"widgetBlueprint":{"refPath":"{bp}"},"widgetClass":{"refPath":"/Script/UMG.Overlay"},"widgetDisplayName":"Root","parentWidget":null}`; children: `parentWidget {"refPath":"{bp}:WidgetTree.Root"}` (the parent must be a panel).
3. Text: `UMGToolSet/ReplaceWidgetWithTemplate {"widgetBlueprint":{"refPath":"{bp}"},"widgetToReplace":{"refPath":"{bp}:WidgetTree.<Name>"},"templateClass":{"refPath":"/Game/Valkyrie/UMG/UEFN_TextBlock.UEFN_TextBlock_C"}}` (the only way to get text; the widget to replace is e.g. an Image).
4. `UMGToolSet/GetWidgets {"widgetBlueprint":{"refPath":"{bp}"}}`; `CompileWidgetBlueprint {"widgetBlueprint":{"refPath":"{bp}"}}`
5. `VerseFieldsToolset/AddVerseField {"widgetBlueprint":..,"fieldName":"Op","spec":{"type":"float","defaultValue":"0.5"}}` (writeAccess only "" or `<public>`); cleanup `RemoveVerseField`.
6. `VerseFieldsToolset/BindWidgetPropertyToVerseField {"widgetBlueprint":..,"verseFieldName":"Op","targetWidget":{"refPath":"{bp}:WidgetTree.<Name>"},"widgetPropertyPath":"RenderOpacity"}` -> GUID binding.
7. `MVVMToolset/CreateViewBinding {"widgetBlueprint":..,"sourceContext":null,"sourcePropertyPath":"<campo>","destinationContext":{"refPath":"{bp}:WidgetTree.<Name>"},"destinationPropertyPath":"Text","conversionName":""}`; `SetBindingMode {..,"bindingId":"<guid>","mode":"TwoWay"}`; `ListWidgetViewBindings {"widgetBlueprint":..}`; cleanup `RemoveWidgetViewBinding {widgetBlueprint, bindingId}`.
8. `MVVMToolset/AddViewModelToWidget {"widgetBlueprint":..,"viewModelClass":{"refPath":"/Script/SimpleVotingOptionRuntime.VotingOptionViewModel"}}` (returns null; no cleanup: delete the blueprint).
9. `WidgetAnimationToolset/CreateWidgetAnimation {"widgetBlueprint":..,"animationName":"FadeIn","lengthSeconds":2.0}`; `AddWidgetToAnimation {..,"animation":{"refPath":"{bp}:FadeIn"},"objectToBind":{"refPath":"{bp}:WidgetTree.<Name>"}}`; `ListWidgetAnimations {"widgetBlueprint":..}`; cleanup `RemoveWidgetBinding {animation, bindingGuid}`, `RemoveWidgetAnimation`.
## To try (not verified)
- `UMGToolSet/AddUIComponent` (+ `MoveUIComponent`, `RemoveUIComponent`): guard-refused/rejected by the project (4 classes not allowed, 3 attempts). Do not retry.
- `MVVMToolset/AddViewModelProperty`: rejected, needs a ViewModel Blueprint that no tool creates.
- `MVVMToolset/CreateViewEventBinding`: unverified in recipes.json; accepts a wrong destination and the compile then fails while `save_assets` stays true; no tool removes the event binding.
- `ObjectTools/set_properties` / `get_properties` on the text (`values` = JSON string, camelCase): described in ui-widgets.md R2, non verified in recipes.json for this toolset.
- `MoveWidget`, `RenameWidgetAnimation` (resets `displayLabel`): unverified in recipes.json. Animation playback: unverified (needs a play session).
## Binding limits (reported by community tools; confirm with the compile result)
- A binding needs the same type on both sides: no implicit conversion for `int` to `float`, `logic` to `Visibility`, `texture` or `material` to `Brush` (those need a conversion function or node; do them in the editor UI, then bind field to field).
- Works as is: `message`/`string` to `Text`, `color` to `ColorAndOpacity`, `float` to `RenderOpacity`, `logic` to `IsEnabled`, and a parent field to a child widget's field of the same type.
- The UEFN buttons expose only `Text` as a bindable property. Category order of Verse fields cannot be changed.
## Don't
Do not use AddWidget with `TextBlock`/`UEFN_TextBlock_C` (not allowed); do not declare it "done" if only `save_assets` is true; do not touch assets outside the lab folder.