unreal-engine-mcp
Enables AI agents to control Unreal Engine 5 through natural language commands, using the Model Context Protocol and Remote Control API to build levels, change assets, and trigger blueprints.
README
🤖 unreal-engine-mcp - Control Unreal Engine with AI Agents
This software allows you to connect an AI agent to Unreal Engine 5. You can issue commands to build levels, change assets, or trigger blueprints through a chat interface. It uses the Model Context Protocol to talk to your AI and the Remote Control API to talk to Unreal Engine. You do not need to compile code or edit C++ files to start.
⚙️ System Requirements
Before you begin, verify your computer meets these needs:
- Windows 10 or 11.
- Unreal Engine 5.1 or newer installed and open.
- An active internet connection.
- At least 4GB of free space.
You must enable the Remote Control API in Unreal Engine for this tool to function. Open your project, go to Edit, select Plugins, and search for Remote Control. Enable both Remote Control and Remote Control API. Restart your project after you enable these settings.
📥 How to Install
- Visit the releases page to download the latest setup file.
- Select the file ending in .zip for your version of Windows.
- Save the folder to a location on your computer where you can find it.
- Right-click the folder and choose Extract All to view the contents.
- Open the folder and locate the application file named unreal-engine-mcp.exe.
🚀 Setting Up the Connection
To link the AI agent to your Unreal Engine project, follow these steps:
- Open your project in Unreal Engine.
- Run the unreal-engine-mcp.exe file you extracted earlier.
- Keep the application window open while you work.
- Input your project's local address into the agent settings. This usually defaults to your computer name or localhost.
- If you see a green status light, the connection is active.
If the application displays a red error message, verify that you enabled the Remote Control API in your project settings. Ensure no other programs use the port specified in the application settings.
🧠 Using the AI Agent
Once the software connects, your AI agent can perform tasks in your project view. Type natural language commands into your AI interface.
Example commands:
- "Create a new folder for landscape assets."
- "Place a directional light at the center of the level."
- "Rotate the selected actor by 45 degrees."
- "Show me the status of the current level."
The agent sends these requests to the Remote Control API. It translates your text into commands that Unreal Engine understands. You can monitor the communication logs in the application window to see how the agent interprets your requests.
🛠 Troubleshooting Common Issues
- Connection Timeouts: If the agent fails to connect, check your firewall settings. Windows might block local network traffic required for the Remote Control API. Create an exception for the Unreal Engine process.
- Command Failures: If a command fails, wait for the editor to finish compiling shaders or loading assets. Large levels require more time for the editor to respond to external requests.
- Interface Glitches: If the UI becomes unresponsive, close the application and restart the Remote Control plugin in Unreal Engine settings.
📁 Project Structure
The software organizes files into specific directories:
- /config: Stores your connection settings and agent preferences.
- /logs: Keeps a history of all commands sent to the editor.
- /scripts: Contains the Python files used to execute engine tasks.
You do not need to modify these files unless you wish to change advanced connection ports. The default settings handle most standard local installations.
🎓 Learning More
The project relies on standardized protocols for AI integration. If you want to expand what your agent can do, research the Model Context Protocol documentation. The methods supported by this tool include asset navigation, transform modifications, and blueprint execution. Keeping your Unreal Engine version updated ensures the best compatibility with the Remote Control API.
Keywords: ai-agent, automation, blueprint, claude, game-development, gamedev, level-design, llm, mcp, model-context-protocol, python, remote-control-api, ue5, unreal-engine, unreal-engine-5
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。