UnrealGenAISupport
by prajwalshettydev
Overview
Integrates various Generative AI models (LLMs, vision, TTS) into Unreal Engine 5.1+ to enable AI-driven content generation, in-game agentic NPCs, and direct scene/blueprint control.
Installation
python <your_project_directoy>/Plugins/GenerativeAISupport/Content/Python/mcp_server.pyEnvironment Variables
- PS_OPENAIAPIKEY
- PS_DEEPSEEKAPIKEY
- PS_ANTHROPICAPIKEY
- PS_METAAPIKEY
- PS_GOOGLEAPIKEY
- PS_XAIAPIKEY
Security Notes
CRITICAL: The `execute_python_script` tool in `mcp_server.py` uses `exec(f.read())` to execute arbitrary Python code generated by an LLM within the Unreal Engine environment. While there's a `is_potentially_destructive` blacklist check, this is insufficient to prevent sophisticated prompt injection attacks or malicious code, potentially leading to arbitrary code execution (RCE), data corruption, or system compromise. The `execute_unreal_command` also allows running arbitrary console commands with similar, though potentially lesser, risk. The server listens on `localhost`, mitigating external network attack surfaces, but internal compromise (e.g., via a malicious LLM response) is a high risk. Users are explicitly warned to use it only in a controlled environment.
Similar Servers
unity-mcp
MCP for Unity acts as a bridge, allowing AI assistants to interact directly with the Unity Editor to manage assets, control scenes, edit scripts, and automate tasks.
agents
The Inkeep Agents project is a comprehensive framework and SDK for building, managing, and running AI agents. This specific 'MCP Server' component (integrated within the Management API) provides a machine-readable API for managing agent configurations, tools, data components, and other project resources.
neurolink
Provides a universal AI development platform with multi-provider support, middleware, tool orchestration, and AI-powered workflow automation.
Context-Engine
A Retrieval-Augmented Generation (RAG) stack for codebases, enabling context-aware AI agents for developers and IDEs through unified code indexing, hybrid search, and local LLM integration.