UE Agent Harness
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UE Agent Harnessrotate the selected object by 45 degrees on the Y axis"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UE Agent Harness
UE5.8 编辑器的 AI Agent 中间层。Harness 作为 MCP Server 面向 LLM(Claude/GPT),作为 MCP Client 面向 UE MCP Server,提供上下文组装、状态缓存、视觉验证闭环、长任务记忆压缩、安全护栏。
快速开始
# 0. 安装(需要 Python 3.12+ 和 uv)
uv sync
# 1. 在 UE 编辑器中启用 MCP Server
# Editor Preference → General → Model Context Protocol → Auto Start Server
# 2. 启动 Harness
uv run harness start --ue-port 8000 --listen-port 9000
# 3. 在 Claude Code 或其他 MCP 客户端中连接到 localhost:9000Related MCP server: Unreal-MCP-Ghost
文档
项目结构
ue-agent-harness/
├── harness/ # Python 包
│ ├── cli.py # CLI 入口
│ ├── server.py # MCP Server(面向 LLM)
│ ├── client.py # MCP Client(面向 UE)
│ ├── config.py # 配置管理
│ ├── context/ # 上下文组装
│ ├── verification/ # 视觉验证
│ ├── state/ # Write-Through State Cache
│ ├── memory/ # 任务记忆压缩
│ ├── recovery/ # 错误恢复
│ ├── safety/ # 安全护栏
│ └── observability/ # 日志与回放
├── branch_mark/ # 离线评分工具(独立于 Harness)
├── skills/ # Harness Skill 示例
├── tests/ # 测试
├── docs/ # 文档
│ ├── architecture.md
│ ├── CONTEXT.md
│ ├── adr/ # 架构决策记录
│ └── issues/ # 开发 Issue
└── pyproject.tomlThis server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseBqualityCmaintenanceAn MCP server that gives AI agents broad control over Unreal Engine 5.7, enabling actor/asset/level management, Blueprint and material creation, screenshots, automation, and arbitrary editor Python execution.35MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to control Unreal Engine 5 editor for automated Blueprint authoring, level inspection, actor spawning, and other editor workflows via a local Python MCP server and UE plugin.3AGPL 3.0
- FlicenseNot gradedqualityCmaintenanceWraps Unreal Editor as an MCP server, enabling AI agents to automate editor tasks through Python scripts.11-
- FlicenseNot gradedqualityCmaintenanceMCP server that connects Claude to Unreal Engine 5.8 via the official Remote Control API, enabling asset manipulation, actor control, level operations, and AI-powered 3D model generation (via Meshy) through natural language.-