unreal-python-scripting
Unreal Python Scripting
Version: 2.0.3 Last Updated: 2026-10-09 Target: Unreal Engine 5.8+ Dependencies: unreal Python module (built-in), UE 5.8 native MCP (HTTP, port 8000)
Preflight first (2026-09-08): before the first build step of any approved plan, run the
unreal-project-preflightskill (ue_preflight.py --live --features <list> --plan-block) so plugins and project settings this skill depends on are enabled in ONE restart. Mid-task "class not found / plugin not enabled" errors go back to that Step 0, never to a runtime toggle.
MCP Execution
All Python code runs via mcp__ue58-mcp__execute_python_code(code=...) which executes directly in the UE editor process. VibeUE toolsets are also available via mcp__ue58-mcp__call_tool(toolset_name=..., tool_name=..., arguments={...}).
Use mcp__ue58-mcp__discover_python_module(module_name="unreal") to introspect available Python API.