UEMCP

UEMCP

Enables Claude to control Unreal Engine 5 editor, spawn actors, build materials, author Blueprints, and more, with zero plugin installation.

Category
访问服务器

README

UEMCP

CI PyPI Python License: MIT

Drive Unreal Engine 5 with Claude. Nothing to install inside Unreal.

UEMCP is an open source MCP server by ATDev that connects Claude (Claude Code, Claude Desktop, or any MCP client) to a live Unreal Engine 5 editor. Spawn actors, build materials, author Blueprints, manage assets, fly the viewport camera, take screenshots, and run arbitrary editor Python, all from a conversation.

Why this one is different

Most Unreal MCP servers ship a C++ plugin you have to copy into your project and compile. UEMCP speaks Unreal's built-in Python remote execution protocol instead: the same multicast discovery and TCP command channel that ships with every copy of the engine. That means:

  • Zero install on the Unreal side. No plugin to build, no project files to modify, no engine version matrix to chase.
  • Works with vanilla UE 5.0 through 5.6, including Epic Games Launcher builds.
  • Structured results, not log scraping. Every tool runs inside an error-capturing harness in the editor and returns clean JSON, with real Python tracebacks when something fails.
  • Self-healing connection. Restart the editor mid-session and the next tool call reconnects automatically.
  • An escape hatch. ue_python gives Claude the full unreal module for anything the 29 dedicated tools do not cover.

Quickstart

1. Set up Unreal (one time, about 30 seconds)

  1. Open your project in Unreal Editor.
  2. Edit > Plugins, search for Python Editor Script Plugin, enable it, restart when prompted.
  3. Edit > Project Settings, search for Python, check Enable Remote Execution.

That is the entire Unreal-side setup.

2. Add the server to Claude

With uv installed:

Claude Code

claude mcp add unreal -- uvx uemcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "unreal": {
      "command": "uvx",
      "args": ["uemcp"]
    }
  }
}

pip, or from a clone of this repo

pip install uemcp && uemcp
# or
git clone https://github.com/ATDev-Inc/uemcp && cd uemcp && uv run uemcp

More detail, including pinning to one project when several editors are open: docs/setup.md.

3. Talk to your editor

"Spawn a point light 300 units up, make it warm orange at 8000 intensity, then screenshot the viewport."

"Find every static mesh asset with 'rock' in the name and scatter 20 of them in a rough circle around the origin."

"Create a BP_Collectible blueprint with a static mesh component and a sphere collision, set its mesh to the gold coin asset."

Tools

Group Tools
Editor ue_status, ue_python, ue_console_command, ue_project_info
Actors ue_list_actors, ue_spawn_actor, ue_destroy_actor, ue_set_actor_transform, ue_set_actor_property, ue_get_actor
Assets ue_search_assets, ue_asset_info, ue_import_asset, ue_create_folder, ue_duplicate_asset, ue_delete_asset, ue_save_all
Materials ue_create_material, ue_create_material_instance, ue_assign_material
Blueprints ue_create_blueprint, ue_add_component, ue_set_blueprint_default
Levels ue_open_level, ue_new_level
Viewport ue_set_camera, ue_get_camera, ue_focus_actor, ue_screenshot
Play ue_play, ue_stop_play

Conventions: project content paths look like /Game/Props/SM_Chair, engine classes like /Script/Engine.PointLight. Distances are centimeters, rotations are [roll, pitch, yaw] in degrees, colors are [r, g, b] in 0..1.

Full parameter and return documentation for every tool: docs/tools.md.

How it works

Claude (MCP client)
   |  stdio (MCP)
   v
uemcp server (this package, plain Python)
   |  UDP multicast 239.0.0.1:6766  -> discovery ping/pong
   |  TCP command channel           -> JSON commands and results
   v
Unreal Editor (built-in Python remote execution)

Each tool builds a small Python snippet, wraps it in a harness that catches exceptions, runs it in the editor, and parses a sentinel-prefixed JSON line back out of the log output. The snippet builders are pure functions, so CI compiles every one of them without needing Unreal installed.

Configuration

Everything works with defaults when the editor and server are on the same machine. Override with environment variables when needed:

Variable Default Purpose
UEMCP_PROJECT (first found) Prefer a specific project when several editors are open
UEMCP_MULTICAST_GROUP 239.0.0.1 Discovery multicast group
UEMCP_MULTICAST_PORT 6766 Discovery port
UEMCP_COMMAND_HOST 127.0.0.1 Host the editor connects back to
UEMCP_COMMAND_TIMEOUT 120 Per-command timeout in seconds
UEMCP_DISCOVERY_TIMEOUT 2 Discovery wait in seconds

uemcp --project MyGame is shorthand for UEMCP_PROJECT=MyGame.

Security notes

UEMCP executes Python inside your editor process, by design. Treat it like giving Claude the editor's Python console:

  • The remote execution protocol has no authentication. Keep the defaults (localhost command channel, multicast TTL 0) unless you fully control the network.
  • Tools can modify and delete project content. Use source control on your project. You should be doing that anyway.
  • Review what an agent did with ue_save_all withheld if you want a manual checkpoint before anything hits disk.

Documentation

Doc What it covers
docs/setup.md Detailed Unreal and client setup, multiple editors, remote machines
docs/tools.md Full reference for all 31 tools: parameters, returns, examples
docs/architecture.md The wire protocol, the snippet harness, and how to add a tool
docs/troubleshooting.md Connection problems, firewalls, common tool errors
docs/cookbook.md Prompt recipes: lighting rigs, greyboxing, asset audits

Development

git clone https://github.com/ATDev-Inc/uemcp
cd uemcp
uv sync
uv run pytest
uv run ruff check .

The test suite runs entirely without Unreal: protocol tests talk to a fake editor over real sockets, and every in-editor snippet is compile-checked.

Roadmap

  • Sequencer tools (create level sequences, bind actors, render movies)
  • Niagara system spawning and parameter control
  • Landscape sculpting primitives
  • True PIE (play-in-editor) control with input injection
  • Asset thumbnails as MCP resources

Community

  • Contributing: CONTRIBUTING.md has a contribution ladder from docs fixes up to new tools. If you keep reaching for the same ue_python snippet, that is a tool waiting to be born, and a working snippet pasted into an issue is 80% of the work.
  • Bugs: use the issue templates. The in-editor traceback from the tool error is the most useful thing you can include.
  • Security: see SECURITY.md. Report vulnerabilities privately, not in public issues.
  • Releases: CHANGELOG.md and GitHub releases.
  • Conduct: CODE_OF_CONDUCT.md.

License

MIT. Copyright (c) 2026 ATDev.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选