Unreal-MCP
by aadeshrao123·★ 28·综合分 44
MCP服务器提供280多个命令,从AI编程助手控制虚幻引擎5。
概述
UnrealMCP通过CLI和MCP协议将虚幻引擎5与Claude Code、Cursor和Windsurf等AI编程助手连接。它全面支持对虚幻资产的控制,包括材质、蓝图、Niagara VFX、状态树、数据表、演员、性能分析等。该服务器通过运行在编辑器内的C++插件提供了13个类别的280多个命令,通过TCP进行通信。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您使用虚幻引擎 5 并希望将 AI 助手直接集成到您的开发工作流中进行资产创建和管理,请选择此工具。
什么时候不要选它
如果您不使用虚幻引擎 5,或者您更喜欢多功能的游戏引擎界面,请不要选择此工具。
此 server 暴露的工具
从 README 抽取出 12 个工具health_checkVerify the Unreal Engine bridge is running
find_assetsSearch assets by class, path, or name
create_blueprintCreate a new blueprint asset
build_material_graphBuild a material graph with nodes and connections
get_data_table_rowsRetrieve rows from a data table
spawn_actorSpawn an actor in the level
performance_start_traceStart performance profiling trace
create_input_actionCreate a new enhanced input action
create_niagara_systemCreate a new Niagara VFX system
create_statetreeCreate a new StateTree asset
get_widget_treeRetrieve widget blueprint tree structure
execute_pythonExecute Python code in the editor
可对比工具
安装
安装
方案A:CLI(推荐用于Claude Code)
# 安装CLI工具
npm install -g unrealcli
# 在UE5项目中设置
cd YourProject/
ue-cli init
ue-cli doctor方案B:MCP服务器(用于Cursor、Windsurf等)
# 克隆插件到项目
git clone https://github.com/aadeshrao123/Unreal-MCP.git Plugins/UnrealMCP
# 安装Python服务器
pip install unrealmcp
# 添加到Claude Desktop配置(示例)
{
"mcpServers": {
"unreal": {
"command": "unrealmcp"
}
}
}FAQ
- 这个支持虚幻引擎4吗?
- 目前支持虚幻引擎5(已在5.7上测试,可能在更早的5.x版本上工作)。
- 我可以将它与不支持MCP的AI工具一起使用吗?
- 是的,它提供了CLI模式,可以通过bash工具与Claude Code等工具一起使用。
Unreal-MCP 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。