
unreal-mcp
by runreal·★ 101·综合分 44
一个无需新插件的虚幻引擎MCP服务器,通过Python远程执行实现功能。
概述
此MCP服务器通过Python远程执行让AI工具直接与虚幻引擎交互,无需自定义C++插件。它提供了一套全面的工具,用于操作资源、执行Python代码、控制编辑器和项目管理。该实现利用了虚幻引擎内置的Python功能,专注于开发和维护的便捷性。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要 AI 助手与虚幻引擎项目交互而不需要安装额外插件时,特别是对于资产管理、场景操作和编辑器自动化,请选择此服务器。
什么时候不要选它
如果您需要与 C++ 系统深度集成或需要强大的安全措施,请避免使用此工具,因为它提供完整的编辑器访问权限,而对意外更改的保护措施有限。
此 server 暴露的工具
从 README 抽取出 12 个工具set_unreal_engine_pathSet the Unreal Engine path
set_unreal_project_pathSet the Project path
get_unreal_engine_pathGet the current Unreal Engine path
get_unreal_project_pathGet the current Unreal Project path
editor_run_pythonExecute any python within the Unreal Editor
editor_list_assetsList all Unreal assets
editor_get_asset_infoGet information about an asset
editor_get_asset_referencesGet references for an asset
editor_console_commandRun a console command in Unreal
editor_project_infoGet detailed information about the current project
editor_search_assetsSearch for assets by name or path
editor_create_objectCreate a new object/actor in the world
可对比工具
安装
- 在虚幻引擎中启用Python编辑器脚本插件和远程执行
- 添加到您的Claude Desktop配置:
{
"mcpServers": {
"unreal": {
"command": "npx",
"args": [
"-y",
"@runreal/unreal-mcp"
]
}
}
}FAQ
- 这需要安装新的虚幻引擎插件吗?
- 不需要,此服务器使用虚幻引擎内置的Python远程执行协议,无需任何插件。
- 这是官方的虚幻引擎项目吗?
- 不是,这不是官方的虚幻引擎项目,但它设计用于与官方的Python API配合使用。
unreal-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。