MCP Unreal 服务器实现了与 Unreal Engine 实例通过远程 Python 执行进行交互的功能,为开发者提供了便捷的操作体验。
MCP Unreal 服务器可实现与 Unreal Engine 实例的远程 Python 交互,下面将介绍其安装和配置过程。
mcp_unreal.log),方便后续问题排查和分析。# 克隆仓库
git clone https://github.com/your-org/mcp-unreal-server.git
cd mcp-unreal-server
# 安装依赖项
pip install -r requirements.txt
在 RemoteExecutionConfig 中配置多播参数:
# 默认多播设置(修改在 server.py 中)
config.multicast_group_endpoint = ("239.0.0.1", 6766)
在 server.py 中调整日志级别:
# 调整日志级别
file_handler.setLevel(logging.DEBUG) # 文件日志
console_handler.setLevel