Ue MCP 标志

Ue MCP

社区
db-lyon

Complete Unreal Engine development toolkit exposed as MCP tools.

发布者db-lyon
代码仓库ue-mcp
语言C++
复刻数
60
星标数
346
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Ue MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 346 个星标和 60 个复刻。

UE-MCP

npm version npm downloads CI stars MIT

Unreal Engine Model Context Protocol Server - gives AI assistants deep read/write access to the Unreal Editor through 26 category tools covering 1932+ actions, plus a YAML flow engine for multi-step workflows and an npm plugin system for extending the surface.

That total is 1102+ actions of ue-mcp's own plus Epic's entire native AI Toolset Registry: on UE 5.8+ its 830 official Unreal tools are called in-process and surfaced as epic_* actions in the matching category, Sequencer in animation, PCG in pcg, static meshes in asset.

Blueprints, materials, levels, actors, animation, VFX, landscape, PCG, foliage, audio, UI, physics, navigation, AI, StateTree, GAS, networking, sequencer, build pipeline - all programmable through natural language.

Filesystem reads (INI config, C++ headers, asset listing) work with the editor closed, so an agent can explore the project before anything is running.

Quick Start

bash
npx ue-mcp init

The interactive setup will:

  1. Find your .uproject (auto-detects in current directory)
  2. Let you choose which tool categories to enable
  3. Deploy the C++ bridge plugin to your project
  4. Enable required UE plugins (Niagara, PCG, GAS, etc.)
  5. Detect and configure your MCP client (Claude Code, Claude Desktop, Cursor, Codex)

Restart the editor once after setup to load the bridge plugin. To update later: npx ue-mcp update

Then talk to your AI in plain English:

"Check the UE-MCP connection and tell me what's in the current level."
"Place a point light 300 units above the player start, intensity 5000, warm white."
"Create an emissive material that pulses, and apply it to every cube in the level."
"Build the project in Development and report any compile errors."

If it doesn't connect

bash
npx ue-mcp doctor

Documentation lives at https://ue-mcp.com/docs/, one page per file in docs/, published automatically on release. Link there rather than to a file in this repository.

Most first-run failures are one of three things: the editor hasn't been restarted since init, the bridge plugin failed to compile (check the editor's Output Log for UE_MCP_Bridge), or the editor is open on a different project than the one configured. See Troubleshooting.

Manual Configuration

If you prefer to configure manually, add to your MCP client config:

json
{
  "mcpServers": {
    "ue-mcp": {
      "command": "npx",
      "args": ["ue-mcp", "C:/path/to/MyGame.uproject"]
    }
  }
}

See It Work

UE-MCP ships a built-in 19-step demo that builds a complete procedural scene - landscape, PCG scatter, Niagara VFX, materials, lighting, and a playable blueprint - entirely through the bridge:

demo(action="step", stepIndex=1)   ... through 19
demo(action="cleanup")             restores the level

Nothing is pre-authored. Every asset in the scene is created by the agent at runtime. Full walkthrough: Neon Shrine Demo.

What Can It Do?

CategoryExamples
LevelsPlace/move/delete actors, spawn lights and volumes, manage splines, actor bounds, water bodies
BlueprintsRead/write graphs, add nodes, connect pins, compile, CDO and component property access
MaterialsCreate materials and instances, author expression graphs, set parameters
AssetsCRUD, import meshes/textures/animations, datatables, mesh bounds/collision/nav
AnimationAnim blueprints, montages, retargeting, native Control Rig editing, deterministic pose analysis
VFXNiagara systems, emitters, modules, renderers, parameters
LandscapeSculpt terrain, paint weight layers, materials, splines, proxies
FoliagePainting, foliage types, instance queries
PCGAuthor and execute Procedural Content Generation graphs
AudioSoundCues, MetaSounds, attenuation, ambient audio, submixes
UIUMG widgets, editor utility widgets and blueprints, runtime delegate inspection
GameplayPhysics, collision, navigation, navmesh inspection, behavior trees, EQS, perception, input
StateTreeStates, tasks, conditions, transitions, bindings, evaluators, parameters
ChooserChooser tables, columns, rows, result assets
GASGameplay Ability System - attributes, abilities, effects, cues, actor stand-up
NetworkingReplication, dormancy, relevancy, net priority
EditorConsole, Python, PIE, viewport, sequencer, build pipeline, logs, editor lifecycle
ReflectionClass/struct/enum introspection, gameplay tags, SaveGame inspection
ProjectStatus, INI config, C++ source/header parsing, build
FabImport assets from your owned Fab library
PluginsInstall, configure, and provision UE-MCP extension plugins
EpicToolset Registry discovery, direct tool calls, agent skills (UE 5.8+)
DataflowDataflow graph nodes, pins, variables, templates (UE 5.8+)
ConversationDialogue graph nodes, speakers, entry points (UE 5.8+)
DemoBuilt-in 19-step Neon Shrine procedural scene
FeedbackSubmit tool-gap reports as GitHub issues

Full parameter-level reference: Tool Reference.

Flows

Any sequence of actions can be captured as a YAML flow in ue-mcp.yml next to your .uproject, then run as one call. Config is hot-reloaded, so you edit and re-run without restarting anything.

yaml
ue-mcp:
  version: 1

flows:
  build_and_check:
    description: Build the project and verify the editor is connected
    steps:
      1:
        task: project.build
        options:
          configuration: Development
      2:
        task: project.get_status
flow(action="run", flowName="build_and_check")

Every one of the 1932+ actions is also a flow task. Flows support step references, retries, rollback, custom tasks in your own .js/.ts, and shell steps. See Flows.

Plugins

UE-MCP is extensible through npm. A plugin can inject new actions into existing categories, or provision an entirely new category backed by its own C++ handlers.

bash
npm install ue-mcp-<plugin>

Injected actions appear inside the pcg/landscape/etc. tools the agent is already using, so there is nothing extra for it to discover. See Plugins for the consumer view and Plugin Authoring for the contract.

Agent Skills

The package ships skills that teach agents the non-obvious parts of driving the editor, and they load automatically in clients that support them:

SkillCovers
ue-mcp-workflowRequired order of operations, editor lifecycle, project scoping
ue-mcp-animationUE 5.8 IK/retarget authoring, per-rig Control Rig solving, generic contact locks, bake and deterministic V&V
ue-mcp-blueprintGraph authoring, node discovery, pin wiring, compile loops
ue-mcp-niagaraEmitter/module stack authoring and renderer setup
ue-mcp-native-cppWriting and building native C++ against the bridge
ue-mcp-epic-routingWhen to route to the epic toolsets vs native handlers

Safety

An agent with write access to your project is a real risk, so the bridge is built with brakes:

  • Write guards - configurable rules can block or require confirmation on mutating methods before they reach the editor.
  • Source control guard - writes to checked-in assets can be gated on source control state instead of silently overwriting.
  • Flow rollback - handlers report created/existed/updated and flows can snapshot git state before a run, so a failed multi-step flow doesn't leave debris.
  • Idempotency by convention - re-running an action that already applied is a no-op rather than a duplicate.

Details: Guards and Handler Conventions.

Requirements

Unreal Engine5.4-5.8 (Windows), 5.6+ (Linux and macOS). epic category needs 5.8+.
Node.js18 or newer
UE pluginsPythonScriptPlugin (ships with the engine); init enables the rest for you
C++ toolchainRequired - the bridge is a C++ plugin and compiles on first editor launch. On Windows that means Visual Studio with the C++ workload; on macOS, Xcode command line tools.

Editor process control (editor(start_editor) / stop_editor / restart_editor) works on Windows, macOS and Linux. Set UE_EDITOR_PATH if the engine is installed somewhere non-standard.

Documentation

https://ue-mcp.com/docs

  • Getting Started - Zero-knowledge walkthrough, install to first actor placed
  • Tool Reference - Every tool, action, and parameter
  • Architecture - How the server, bridge, and editor fit together
  • Flows - Multi-step YAML workflows, custom tasks, rollback
  • Journal - The per-project record of what a session did, produced, and how it ended
  • Skill Packs - Written workflows an agent reads, and checking that the calls they teach still exist
  • Plugins - Extending the surface through npm
  • Configuration - ue-mcp.yml and MCP client config
  • Troubleshooting - Connection, build, and asset path issues
  • Development - Building from source, testing, contributing

Sponsor

Thanks for using UE-MCP. It's free and MIT licensed. If it helps your work, sponsorship is appreciated.

Contributing

Issues and pull requests welcome. Start with Development.

Install git-lfs before cloning - the bundled test project stores .uasset / .umap via LFS, and a plain git clone leaves them as pointer files.

If an AI agent had to fall back to execute_python during your session, it will offer to submit structured feedback automatically. That is how we prioritize which native handlers to add next.

License

UE-MCP is licensed under the MIT License. Use it freely in personal, educational, and commercial projects. See LICENSE.

Contributions are accepted under the same MIT License (inbound contributions are licensed under the project's outbound license).

安装

TypingMind
{
  "mcpServers": {
    "ue-mcp": {
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "/absolute/path/to/ue-mcp/src/UeMcp/UeMcp.csproj"
      ]
    }
  }
}

将 Ue MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Ue MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Ue MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Ue MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "ue-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Ue MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Ue MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Ue MCP 帮我完成这项任务吗?
Ue MCP
当然,我看过了。
以下是我使用 Ue MCP 得到的结果。

常见问题

Ue MCP MCP 服务器有什么用途?

Ue MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Ue MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Ue MCP。

为什么在 TypingMind 中使用 Ue MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Ue MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Ue MCP MCP 连接到 TypingMind?

Ue MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Ue MCP MCP 在 TypingMind 中提供哪些工具?

Ue MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Ue MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Ue MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇