MCP 虚幻服务器
通过远程 Python 执行与虚幻引擎实例交互的服务器实现。
特征
- 🚀虚幻实例管理 - 通过多播自动发现虚幻节点 
- 实时节点状态监控 
- 通过 LSP 兼容客户端列出资源 
 
- 💻远程执行 - 在虚幻引擎环境中执行 Python 代码 
- 支持有人值守和无人值守的执行模式 
- 文件执行和语句评估模式 
 
- 📊日志记录和监控 - 详细记录到文件( - mcp_unreal.log)
- 具有不同详细程度的控制台日志记录 
- 节点连接健康监控 
 
安装
配置
网络设置
在RemoteExecutionConfig中配置多播参数:
日志记录
修改server.py中的日志配置:
用法
启动服务器
支持的工具
- 连接到虚幻实例 
- 执行 Python 代码 
API 文档
资源格式
执行模式
| 模式 | 描述 | 
| 模式执行文件 | 执行 Python 文件 | 
| 模式执行语句 | 执行 Python 语句 | 
| 模式评估语句 | 计算 Python 表达式 | 
故障排除
常见问题:
- 未发现节点:验证虚幻实例是否正在使用 MCP 插件运行 
- 执行超时:检查防火墙设置中的多播流量 
- 连接断开:监视 - mcp_unreal.log以了解节点状态变化
执照
Apache-2.0许可证
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
一种服务器实现,可在虚幻引擎环境中实现远程 Python 代码执行,具有通过多播网络自动发现和管理虚幻节点的功能。
Related MCP Servers
- -security-license-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -8
- -security-license-qualityA server that enables AI assistants to understand and interact with Unity projects in real-time, providing access to scene hierarchy, project settings, and the ability to execute code directly in the Unity Editor.Last updated -93MIT License
- Asecurity-licenseAqualityA Model Context Protocol server that enables natural language interactive control of Universal Robots collaborative robots, allowing users to control robot motion, monitor status, and execute programs through direct commands to large language models.Last updated -294
- -security-license-qualityA server that enables control of Unreal Engine 5.5+ using natural language commands, allowing users to create Blueprints, manipulate actors, work with nodes, manage project settings, and create UMG widgets through the Model Context Protocol.Last updated -1MIT License