
SpecialAgent 是一个 Unreal Engine 5 插件,实现了一个模型上下文协议(MCP)服务器,使大型语言模型如 Claude 能够通过程序方式与 UE5 项目交互。
概览
完整 Python API 访问 • 71+ 关卡设计工具 • 可视化反馈循环 SpecialAgent 通过 连接 AI 助手和虚幻引擎 5。直接连接 Claude、GPT 或任何兼容 MCP 的大型语言模型,并通过自然语言控制。 SpecialAgent 的核心是提供对 UE5 Python API 的完全访问权限——这意味着你的 AI 助手可以完成编辑器能做的任何事情。在此基础上,无需写一行代码即可处理常见的关卡设计任务。 原生 HTTP/SSE 传输。没有外部桥接或依赖。 执行任意Python,完全访问虚幻模块。你的AI助手可以: - 导入和处理资源 - 创建和修改蓝图 - 生成材质和纹理 - 自动化项目配置 - 构建自定义编辑器工具 - 运行验证和质量保证检查 - UE5 Python API 支持的任何内容 这就是无限的基础。如果你能编写脚本,人工智能也能做到。 71+个用于世界构建工作流程的专用工具:
概述(AI 翻译)
将AI连接到虚幻引擎5
完整 Python API 访问 • 71+ 关卡设计工具 • 可视化反馈循环
什么是特工?
SpecialAgent通过**模型上下文协议(MCP)**连接AI助手和虚幻引擎5。将Claude、GPT或任何兼容MCP的LLM直接连接到你的编辑器,并通过自然语言进行控制。
SpecialAgent 的核心是提供不受限制的 Python 执行,并完全访问 UE5 的 Python API——这意味着你的 AI 助手可以做编辑器能做的任何事情。在此基础之上,71+ 专门开发的工具无需写一行代码即可处理常见的关卡设计任务。
原生 HTTP/SSE 传输。没有外部桥接或依赖。
特色
两层力量
完整 Python 访问
执行任意Python,完全访问unreal模块。你的AI助手可以:
- 导入和处理资产
- 创建和修改蓝图
- 生成材质和纹理
- 自动化项目配置
- 构建自定义编辑器工具
- 运行验证和质量保证检查
- UE5 Python API 支持的任何内容
这就是无限的基础。如果你能编写脚本,人工智能也能做到。
关卡设计工具包
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
SpecialAgent
Connect AI to Unreal Engine 5
Full Python API access • 71+ level design tools • Visual feedback loop
What is SpecialAgent?
SpecialAgent bridges AI assistants and Unreal Engine 5 through the Model Context Protocol (MCP). Connect Claude, GPT, or any MCP-compatible LLM directly to your editor and control it through natural language.
At its core, SpecialAgent provides unrestricted Python execution with full access to UE5’s Python API—meaning your AI assistant can do anything the editor can do. On top of that foundation, 71+ purpose-built tools handle common level design tasks without writing a single line of code.
Native HTTP/SSE transport. No external bridges or dependencies.
Features
Two Layers of Power
Full Python Access
Execute arbitrary Python with complete unreal module access. Your AI assistant can:
- Import and process assets
- Create and modify Blueprints
- Generate materials and textures
- Automate project configuration
- Build custom editor utilities
- Run validation and QA checks
- Anything the UE5 Python API supports
This is the unlimited foundation. If you can script it, AI can do it.
Level Design Toolkit
71+ specialized tools for world-building workflows:
| Category | Capabilities |
|---|---|
| Actors | Spawn, transform, duplicate, delete, batch operations |
| Patterns | Grid, circular, spline, and scatter placement |
| Landscape | Sculpt height, flatten, smooth, paint material layers |
| Foliage | Paint vegetation with density control |
| Lighting | Spawn and configure lights, build lightmaps |
| Streaming | Manage sub-levels for open worlds |
| Navigation | Rebuild NavMesh, test pathfinding |
| Performance | Analyze statistics, detect overlaps |
| Organization | Folders, tags, labels, selection management |
Visual Feedback Loop
Capture viewport screenshots and return them to vision-enabled LLMs. Your AI assistant can see what it built, evaluate the results, and refine its approach.
Describe intent → Execute → Screenshot → AI analyzes → Iterate
Installation
Requirements
- Unreal Engine 5.6 or later
- Windows, Mac, or Linux
- MCP-compatible client (Cursor, Claude Desktop, etc.)
Setup
-
Clone or download this repository into your project’s
Pluginsfolder:YourProject/ └── Plugins/ └── SpecialAgent/ -
Regenerate project files (right-click
.uproject→ Generate Visual Studio/Xcode project files) -
Build and launch your project
-
Enable the plugin in Edit → Plugins → Search “SpecialAgent”
-
Restart the editor
Quick Start
1. Verify the Server
Once the editor launches, check the Output Log for:
LogSpecialAgent: MCP Server started on port 8767
Or test with curl:
curl http://localhost:8767/health
2. Configure Your MCP Client
Add SpecialAgent to your MCP client configuration:
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"SpecialAgent": {
"url": "http://localhost:8767/sse",
"transport": "sse"
}
}
}