Passer au contenu
Média 1 pour l'article Python Toolset

Description

Python Toolset adds a Python execution tool to the Unreal MCP (Model Context Protocol) server, giving AI agents full, unsandboxed access to the unreal editor API. The built-in MCP toolsets are deliberately narrow; this plugin is the gap-filler for everything they don't expose - bulk asset fixups, probing reflected properties, or reaching any engine API that has no dedicated tool. Each script runs on the game thread inside a single editor transaction (kept on success, rolled back on failure), and a bundled agent skill teaches the agent to use it only as a fallback. Just enable and restart.

Feature bullets (Fab listings usually want these):

  • Full unreal API access from any MCP client - no sandbox, no module allowlist

  • Two tools: get_python_environment (script contract) and execute_python (run a script)

  • Automatic editor transaction: undo a script's changes as one step; failed scripts roll back

  • Captures return values (JSON) and stdout; returns script-scoped tracebacks on error

  • Ships an agent skill guiding "dedicated tool first, Python only to bridge gaps"

  • Content-only plugin - drop in, enable, restart; works on any UE project with the MCP + Python plugins

đź’¬ Discord

Formats inclus