
runreal/unreal-mcp 是从 https://github.com/runreal/unreal-mcp. 导入的 MCP 服务器候选服务器。
概览
runreal/unreal-mcp 是从 https://github.com/runreal/unreal-mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
Unreal Engine 的 MCP 服务器,使用 Unreal Python 远程执行
推特 · Discord
⚡ 差异
该服务器无需安装新的 UE 插件,因为它使用内置的 Python 远程执行协议。
添加新工具/功能开发更快,因为不需要任何C++代码。
它可以支持完整的虚幻引擎Python API
⚠️ 注释
- 这不是官方的虚幻引擎项目。
- 你的AI代理或工具将拥有对编辑器的完全访问权限。
- 在批准之前,请审查客户提出的任何变更建议。
📦 安装
📋 要求
- 🔧 虚幻引擎 5.4+(已验证,可能支持早期版本)
- 🟢 Node.js与NPX合作
- 🤖 MCP 客户端(Claude、光标等)
- 设置编辑器:
- 打开你的虚幻引擎项目
- 前往
Edit->Plugins - 搜索“Python Editor Script Plugin”并启用
- 如有提示,重启编辑器
- 前往
Edit->Project Settings - 搜索“Python”并启用“启用远程执行”选项
- 设置您的客户:
- 编辑你的Claude(或光标)配置
🔧 排查
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
unreal-mcp
MCP server for Unreal Engine that uses Unreal Python Remote Execution


Twitter · Discord
⚡ Differences
This server does not require installing a new UE plugin as it uses the built-in Python remote execution protocol.
Adding new tools/features is much faster to develop since it does not require any C++ code.
It can support the full Unreal Engine Python API
⚠️ Note
- This is not an official Unreal Engine project.
- Your AI agents or tools will have full access to your Editor.
- Review any changes your Client suggests before you approve them.
📦 Installation
📋 Requirements
- 🔧 Unreal Engine 5.4+ (verified, may work with earlier versions)
- 🟢 Node.js with npx
- 🤖 MCP Client (Claude, Cursor, etc.)
- Setting up your Editor:
- Open your Unreal Engine project
- Go to
Edit->Plugins - Search for “Python Editor Script Plugin” and enable it
- Restart the editor if prompted
- Go to
Edit->Project Settings - Search for “Python” and enable the “Enable Remote Execution” option

- Set up your Client:
- Edit your Claude (or Cursor) config
{
"mcpServers": {
"unreal": {
"command": "npx",
"args": [
"-y",
"@runreal/unreal-mcp"
]
}
}
}
🔧 Troubleshooting
If you get an error similar to MCP Unreal: Unexpected token 'C', Connection... it means that the mcp-server was not able to connect to the Unreal Editor.
- Make sure that the Python Editor Script Plugin is enabled and that the Remote Execution option is checked in your project settings.
- Try also changing your bind address from
127.0.0.1to0.0.0.0but note that this will allow connections from your local network. - Restart your Unreal Editor fully.
- Fully close/open your client (Claude, Cursor, etc.) to ensure it reconnects to the MCP server. (
File -> Exiton windows). - Check your running processes and kill any zombie unreal-mcp Node.js processes.
🛠️ Available Tools
| Tool | Description |
|---|---|
set_unreal_engine_path |
Set the Unreal Engine path |
set_unreal_project_path |
Set the Project path |
get_unreal_engine_path |
Get the current Unreal Engine path |
get_unreal_project_path |
Get the current Unreal Project path |
安装
npx -y @runreal/unreal-mcp配置
{
"mcpServers": {
"unreal": {
"command": "npx",
"args": [
"-y",
"@runreal/unreal-mcp"
]
}
}
}