unreal-mcp
它能做什么
它通过 Epic 的实验性 MCP 插件,把你的智能体连接到正在运行的 Unreal Engine 编辑器。它适合在 Unreal Engine 中搭建关卡、光照或渲染图,并希望由智能体完成编辑器工作的人。
适用场景
- ✓你想在 Unreal 关卡中生成、移动或删除 Actor 的时候。
- ✓你想在编辑器中设置光照、氛围或摄像机镜头的时候。
- ✓你想捕获截图或渲染图以检查场景的时候。
技能链接
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/unreal-mcp/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我的 Unreal 关卡中搭建一个带篝火的小型森林空地,然后为它渲染一张画面。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体发现正在运行的编辑器所提供的工具,按安全的顺序执行调用,并通过截图检查自己的工作。在 Hermes 连接之前,必须先启动带有该插件的编辑器。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Unreal Engine MCP Skill
Companion skill for the unreal-engine entry in the Hermes MCP catalog. The
MCP server (Epic's official, experimental "Unreal MCP" plugin, internal id
ModelContextProtocol) runs INSIDE the Unreal Editor process and exposes
editor functionality as typed tools. This skill teaches how to drive it well:
discovering the live tool surface, sequencing calls safely, translating
plain-English asks into scenes that actually look good, and verifying work
visually. The user should never need to touch the editor beyond launching it.
When to Use
Use when the user wants anything done in Unreal Engine: build or dress a level, spawn/move/delete actors, set up lighting and atmosphere, create or tune material instances, frame a camera shot, capture screenshots or renders, import assets, inspect the scene or UI, run automation tests, or script the editor. Works for single actions ("make the sun golden hour") and for complete multi-step projects ("build me a moody forest clearing with a campfire and render a shot of it").
Don't use for: DCC-style mesh modeling/sculpting (model in Blender and import the result), or for editing Unreal C++ project source (that's normal code work — use the terminal; this skill is about the live editor).
Prerequisites
Two halves, in this order: the editor side must be up before Hermes connects.
One-time, editor side
- Unreal Editor 5.8+ with a project open. (macOS: full Xcode must be installed and its license accepted — the editor exits on first launch without it; see pitfalls.)
- Edit > Plugins — enable Unreal MCP (its Toolset Registry dependency auto-enables). Restart the editor when prompted.
- The typed toolsets ship separately from the server: also enable the AllToolsets plugin in the same Plugins browser. Unreal MCP ships NO tools itself — AllToolsets provides the shipped toolsets (SceneTools, ActorTools, MaterialInstanceTools, ObjectTools, …); skip it and the server connects but the agent has nothing to call.
- Edit > Editor Preferences > General > Model Context Protocol — enable
Auto Start Server. Default bind is
http://127.0.0.1:8000/mcp(port/path configurable in the same panel; server name isunreal-mcp). To start manually instead, runModelContextProtocol.StartServerin the editor console (backtick key).
One-time, Hermes side
hermes mcp install unreal-engine
This writes the mcp_servers.unreal-engine HTTP entry pointing at
http://127.0.0.1:8000/mcp and probes the live server for its tools. Run it
while the editor + server are up so the probe sees the real surface. If the
user changed port/path in Editor Preferences, edit the url in
~/.hermes/config.yaml under mcp_servers.unreal-engine to match.
Do NOT use ModelContextProtocol.GenerateClientConfig for Hermes — that
writes .mcp.json-style files for Claude Code/Cursor/etc. Hermes connects
from config.yaml via the catalog entry.
Every session
- Launch Unreal Editor, wait for the project to finish loading; confirm the
server started (Output Log shows the bind address, or run
ModelContextProtocol.StartServermanually). - Start the Hermes session. Tools register as
mcp_unreal_engine_*. If they're missing: editor wasn't up first — start it, then open a new Hermes session. - Sanity check: call
mcp_unreal_engine_list_toolsetsand confirm toolsets come back.
The Tool Surface: Discovery, Not a Fixed List
By default the plugin runs in tool-search mode: tools/list returns only
three meta-tools, and every real tool is reached through them. Through Hermes
they appear as:
| Hermes tool | Purpose |
|---|---|
mcp_unreal_engine_list_toolsets |
Names + descriptions of every registered toolset |
mcp_unreal_engine_describe_toolset |
Full JSON schemas for one named toolset's tools |
mcp_unreal_engine_call_tool |
Invoke a named tool with arguments, get the result |
The discovery walk, always in this order:
list_toolsets→ see what capability groups this project actually has (the surface is project-dependent: enabled plugins, Game Feature Plugins, and any custom toolsets all contribute). Names come back FULLY QUALIFIED (editor_toolset.toolsets.scene.SceneTools,EditorToolset.EditorAppToolset) — use them verbatim astoolset_name.describe_toolseton the group you need → read the real parameter schemas. Never guess parameter names — schemas are the co
常见问题
编辑器需要处于运行状态吗?
需要。MCP 服务器运行在 Unreal Editor 进程内部,因此编辑器必须先启动。
它能制作网格模型吗?
不能。技能说明网格建模应在 Blender 中完成,然后再导入。
它能编辑 C++ 项目源代码吗?
不能。技能涵盖的是正在运行的编辑器,项目源代码的编辑属于普通的代码工作,在终端中完成。
详情
热度
- GitHub 星标
- 260k
- 排名
- #480
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-merge-conflict-arbiter
260k以中立第三方的身份,解决两个智能体分支之间的 git 合并冲突,为代码仓库生成一个合并结果。
antigravity-cli
260k指导你安装、更新和排查 Antigravity 命令行工具,包括其插件、登录和沙盒。
blackbox
260k让你的智能体把编程任务交给 Blackbox AI 命令行工具,它会运行多个 AI 模型并挑选最佳结果。
dynamic-workflow
260k教你的智能体把大量相似的工作保存为脚本批量运行,使只有经过验证的结果才返回主对话。