A plugin that embeds the Claude Code CLI into the Unreal Engine 5.7 editor, with a chat panel and a 20+ tool MCP server for editor control.
prajwalshettydev/UnrealGenAISupport
Unreal Engine plugin that connects games and editor tooling to LLM, image, TTS and 3D generation APIs, plus an MCP server for AI assistants.
- Stars
- 675
- Forks
- 109
- Open issues
- 11
- Last commit
- 6 months ago
What is it?
UnrealGenAISupport is a free, MIT-licensed plugin for Unreal Engine 5 that wraps several generative AI services behind a common interface, so game developers can call chat, reasoning and structured-output models from C++ or Blueprints without writing their own HTTP integration. Supported providers in this repository include OpenAI (chat, structured outputs), Anthropic Claude, XAI Grok, and DeepSeek (chat and the R1 reasoning model), with API keys read from environment variables.
The plugin also includes an experimental Model Control Protocol (MCP) server. When enabled, MCP clients such as Claude Desktop, Claude Code and Cursor can spawn and transform scene objects, set materials, run Python scripts and console commands, and create or edit project files. The maintainer notes that MCP work in this free version is no longer actively developed, and that the feature can directly let an AI client modify a project, so backing up the project first is recommended.
The repository's README also documents pro versions sold on Fab that cover many more providers, including Gemini, ElevenLabs, Alibaba Qwen, Moonshot Kimi, 3D generators such as Meshy and Tripo, and local models through Ollama. Those are separate paid products and are not part of this repository.
Key features
- 01Chat and structured-output calls to OpenAI from C++ and Blueprints
- 02DeepSeek chat and R1 reasoning model support
- 03Anthropic Claude and XAI Grok chat support
- 04Experimental MCP server for Claude Desktop, Claude Code and Cursor
- 05API keys loaded from environment variables, with guidance against shipping keys in packaged builds
Use cases
- Adding AI-driven NPC dialogue or agent behavior to an Unreal Engine 5 game
- Prototyping LLM features in an Unreal project without writing custom HTTP code
- Letting an AI coding assistant create or adjust scene objects in an Unreal editor session
Quick start
- 1
Add the plugin to your project with Git (see the 'With Git' section of the README)
- 2
Set your API key as an environment variable (Windows)
setx PS_<ORGNAME> "your api key" - 3
Restart the Editor and your connected IDE, then use the Usage examples for OpenAI, DeepSeek, Anthropic or Grok
Things to know
- The LLM API features require your own API key from each provider.
- Storing API keys in packaged builds is a security risk, according to the README.
- MCP support in this free plugin is not being actively developed.
Topics
FAQ
- What is UnrealGenAISupport?
- Unreal Engine plugin that connects games and editor tooling to LLM, image, TTS and 3D generation APIs, plus an MCP server for AI assistants. UnrealGenAISupport is a free, MIT-licensed plugin for Unreal Engine 5 that wraps several generative AI services behind a common interface, so game developers can call chat, reasoning and structured-output models from C++ or Blueprints without writing their own HTTP integration. Supported providers in this repository include OpenAI (chat, structured outputs), Anthropic Claude, XAI Grok, and DeepSeek (chat and the R1 reasoning model), with API keys read from environment variables.
- Is UnrealGenAISupport free to use? What license does it have?
- UnrealGenAISupport is open source under the MIT license. Check the license terms before using it in commercial products.
- Is UnrealGenAISupport still maintained?
- Updated within 6 months. The last commit to UnrealGenAISupport was on Apr 28, 2026.
- What can I use UnrealGenAISupport for?
- Adding AI-driven NPC dialogue or agent behavior to an Unreal Engine 5 game Prototyping LLM features in an Unreal project without writing custom HTTP code Letting an AI coding assistant create or adjust scene objects in an Unreal editor session
- How do I install UnrealGenAISupport?
- Add the plugin to your project with Git (see the 'With Git' section of the README) Set your API key as an environment variable (Windows): setx PS_<ORGNAME> "your api key" Restart the Editor and your connected IDE, then use the Usage examples for OpenAI, DeepSeek, Anthropic or Grok
- Where can I get UnrealGenAISupport?
- The source code and installation instructions are on GitHub: https://github.com/prajwalshettydev/UnrealGenAISupport
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted ChatGPT-style chat platform that unifies many AI providers, with Agents, MCP support, Artifacts, and multi-user auth.
Turns any GitHub repository into an interactive architecture diagram or a one-minute narrated explainer video, with an MCP server for AI agents.
A bridge that lets AI assistants like Claude, Cursor or VS Code control the Unity Editor through the Model Context Protocol.
Unity Editor and runtime plugin and MCP server that lets AI agents like Claude, Cursor and Copilot operate Unity projects and run LLMs inside games.
A CLI that scans your codebase and generates compact AI context files (CLAUDE.md, .cursorrules, AGENTS.md) so coding assistants spend fewer tokens exploring the project.