Ue Editor Mcpserver — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Ue Editor Mcpserver (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
将 Unreal Editor 封装为 MCP (Model Context Protocol) Server,供 AI Agent 通过 Python 脚本驱动编辑器,实现自动化迭代。
插件根目录下执行(需要 uv):
uv sync不使用 uv:pip install -r requirements.txt启动编辑器后,C++ 模块自动启动 Forwarder(监听 127.0.0.1:8100)。
#### stdio 模式(推荐)
由 MCP 客户端自动拉起 main.py,无需手动操作。
{
"mcpServers": {
"ue-editor": {
"command": "uv",
"args": [
"run", "--directory", "D:\\MCP\\Plugins\\UE-Editor-MCPServer",
"python", "main.py",
"--project", "D:\\MCP\\YourProj.uproject"
]
}
}
}--project指向.uproject路径,用于额外暴露open_editor/close_editor工具(自动 GPF/Build/启动/关闭编辑器)。省略则只暴露execute_command/excute_file/get_editor_state三个工具。
#### SSE 模式
手动启动 MCPStandalone:
python main.py --transport sse客户端配置:
{
"mcpServers": {
"ue-editor": {
"url": "http://127.0.0.1:8099/SSE"
}
}
}SSE 端点路径大小写不敏感:/SSE、/sse、/Sse均可。
配置优先级:命令行参数 > 环境变量 > `.env` 文件 > 默认值。
.env 配置文件在插件根目录创建 .env(可复制 .env.example):
# MCP 服务监听地址(仅 SSE 模式使用)
MCP_HOST=127.0.0.1
MCP_PORT=8099
# UE 编辑器 Forwarder 地址(TCP 转发器)
EDITOR_HOST=127.0.0.1
EDITOR_PORT=8100默认端口:MCP 8099,Editor Forwarder 8100。多项目需分配不同端口。
| 参数 | 说明 | 默认值 |
|---|---|---|
--transport | 传输模式:stdio(默认)或 sse | stdio |
--mcp-host | MCP 监听地址(仅 SSE 模式) | 127.0.0.1 |
--mcp-port | MCP 监听端口(仅 SSE 模式) | 8099 |
--editor-host | 编辑器 Forwarder 地址 | 127.0.0.1 |
--editor-port | 编辑器 Forwarder 端口 | 8100 |
--project | .uproject 绝对路径,启用 open_editor / close_editor | 无 |
--debug | 调试模式(输出详细日志到 stderr) | 关闭 |
--mypy-enabled | 执行 Python 代码前启用 mypy 类型检查 | 关闭 |
在 Python 代码执行前自动进行 mypy 类型检查,尽早发现类型错误。
# .env
MYPY_ENABLED=true或命令行:python main.py --mypy-enabled
需要系统 Python 安装 mypy:pip install mypycommand 和 args 路径是否正确python main.py --transport ssepython main.py --transport sse --debugexecute_command 无返回from mcp_server import Start; Start.print_status()8099 和 8100 端口是否都可访问修改 .env:
MCP_PORT=8199
EDITOR_PORT=8200重启编辑器并更新客户端配置。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.