Logo UEBridgeMCP

UEBridgeMCP

Cộng đồng
uuuuzz

Native C++ Model Context Protocol (MCP) plugin for Unreal Engine 5.6+

Nhà phát hànhuuuuzz
Kho mãUEBridgeMCP
Ngôn ngữC++
Bản fork
12
Sao
58
Công cụ có sẵn
0
Phương thức truyền tảistreamable-http
Danh mục
Giấy phépGPL-3.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    UEBridgeMCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    58 sao và 12 bản fork từ kho mã được liên kết.

UEBridgeMCP

Native C++ Model Context Protocol (MCP) plugin for Unreal Engine 5.6+

License: GPL v3 Unreal Engine Platform Release GitHub stars GitHub issues QQ Group

Language: English | 简体中文

Overview

UEBridgeMCP is a native C++ Unreal Engine plugin that exposes the Unreal Editor to any MCP-compatible AI client over Streamable HTTP. It embeds the MCP server directly inside the editor process, so tools can inspect and edit Blueprints, levels, assets, materials, widgets, StateTrees, PIE sessions, and build workflows without a separate bridge process.

Acknowledgments: This project is a heavily extended and optimized fork of yes-ue-mcp by softdaddy-o. Special thanks to the original author for the foundational MCP HTTP server architecture.

Current release: v1.19.0

Highlights:

  • Native UE integration - uses Unreal's built-in HTTP stack and editor APIs
  • Dynamic workflow tool surface - the live inventory comes from tools/list, with conditional tools and compatibility aliases depending on loaded UE modules
  • Cross-client compatible - works with Claude Code, Claude Desktop, Cursor, Continue, Windsurf, and other MCP clients
  • Project-agnostic - no game-specific coupling; can be moved between UE 5.6+ C++ projects
  • Extensible - add custom tools by subclassing UMcpToolBase

Documentation Map

DocumentDescription
Tools ReferenceFull list of the built-in tools, grouped by workflow and subsystem
Tool DevelopmentHow to implement, register, validate, and maintain your own MCP tools
Release PreflightRelease-gate checks for runtime inventory, compatibility aliases, and safety probes
TroubleshootingKnown failure modes, connection issues, PIE caveats, and debugging steps
ArchitectureModule layout, request lifecycle, registry warmup, and threading model
Chinese Documentation IndexChinese landing page with links to the translated docs

Quick Start

Requirements

  • Unreal Engine 5.6+
  • A C++ Unreal project (Blueprint-only projects should be converted by adding any C++ class)
  • Core plugin dependencies enabled in UEBridgeMCP.uplugin:
    • EditorScriptingUtilities
    • GameplayAbilities
    • EnhancedInput
    • StateTree
    • GameplayStateTree
  • PythonScriptPlugin powers run-python-script. The plugin descriptor marks it optional, but the current source build links against it directly in Source/UEBridgeMCPEditor/UEBridgeMCPEditor.Build.cs, so keep it enabled unless you intentionally remove Python tooling.
  • Feature and extension surfaces also declare optional dependencies for ControlRig, PCG, Niagara, and Metasound; availability of those modules changes the live tools/list inventory.

Installation

  1. Copy the plugin into your project:
text
<YourProject>/Plugins/UEBridgeMCP/
  1. Enable it in your .uproject:
json
{
  "Plugins": [
    { "Name": "UEBridgeMCP", "Enabled": true }
  ]
}
  1. Regenerate project files and build your editor target.
  2. Launch the editor and confirm the module loads successfully.

Configuration

Server settings live in Config/DefaultUEBridgeMCP.ini:

ini
[/Script/UEBridgeMCPEditor.McpServerSettings]
ServerPort=8080
bAutoStartServer=true
BindAddress=127.0.0.1
LogLevel=Log

Important: on Windows, prefer 127.0.0.1 instead of localhost. Some clients resolve localhost to IPv6 ([::1]) while the server commonly binds IPv4, which causes avoidable connection failures.

Client Configuration

Any MCP client that supports HTTP transport can connect. Examples:

Claude Code CLI

bash
claude mcp add --transport http unreal-engine http://127.0.0.1:8080/mcp

Claude Desktop (claude_desktop_config.json)

json
{
  "mcpServers": {
    "unreal-engine": {
      "url": "http://127.0.0.1:8080/mcp"
    }
  }
}

Cursor (.cursor/mcp.json)

json
{
  "mcpServers": {
    "unreal-engine": {
      "url": "http://127.0.0.1:8080/mcp"
    }
  }
}

VS Code Continue (.continue/config.json)

json
{
  "mcpServers": [
    {
      "name": "unreal-engine",
      "transport": {
        "type": "http",
        "url": "http://127.0.0.1:8080/mcp"
      }
    }
  ]
}

Sanity Check

Use a tools/list request to confirm the server is reachable:

bash
curl -s -X POST http://127.0.0.1:8080/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

If the plugin is running correctly, the response should contain the registered tool set for the current editor session.

For release validation, run the bundled preflight after the editor MCP endpoint is online:

powershell
powershell -ExecutionPolicy Bypass -File Validation\Smoke\Invoke-ReleasePreflight.ps1

Built-in Tool Surface

The authoritative registration site is:

text
Source/UEBridgeMCPEditor/Private/UEBridgeMCPEditor.cpp

At v1.19.0, the tool surface is intentionally dynamic:

  • Always-on editor tools are registered in RegisterBuiltInTools().
  • Conditional tools appear when optional UE modules such as Sequencer, Landscape, Foliage, World Partition, Niagara, and MetaSound are available.
  • Extension modules can add Control Rig, PCG, and External AI tools.
  • Compatibility aliases are exposed as name-only aliases that resolve to canonical UEBridgeMCP tools.

The release gate is initialize.capabilities.tools.registeredCount == tools/list.length, plus the preflight checks under Validation/Smoke/.

See Tools Reference for the full list and per-tool summaries.

Architecture Snapshot

text
MCP Client
  -> HTTP POST /mcp
  -> UEBridgeMCPEditor module
  -> FMcpServer
  -> FMcpToolRegistry
  -> UMcpToolBase-derived tools
  -> Unreal Editor subsystems / assets / worlds / PIE

The plugin descriptor currently declares five editor-only modules:

  • UEBridgeMCP - shared protocol types, schema helpers, base classes, and the tool/resource/prompt registries used by the editor-side MCP implementation
  • UEBridgeMCPEditor - editor-only server, subsystem integration, built-in tools, and toolbar/status integration
  • UEBridgeMCPControlRig - Control Rig extension tools
  • UEBridgeMCPPCG - PCG extension tools
  • UEBridgeMCPExternalAI - external AI content-generation extension tools

See Architecture for the full lifecycle, warmup behavior, and threading constraints.

Extending UEBridgeMCP

To add a new tool:

  1. Create a new UMcpToolBase subclass under Source/UEBridgeMCPEditor/Public/Tools/ and Private/Tools/
  2. Override GetToolName, GetToolDescription, GetInputSchema, GetRequiredParams, and Execute
  3. Register the class in FUEBridgeMCPEditorModule::RegisterBuiltInTools()
  4. Rebuild or trigger Live Coding
  5. Add automated validation if your branch or repo contains a test harness; otherwise document a focused live-editor validation recipe such as a tools/list or tools/call request

See Tool Development for a fuller guide and recommended implementation rules.

Versioning

UEBridgeMCP follows semantic versioning for public releases.

  • Keep VersionName in UEBridgeMCP.uplugin and UEBRIDGEMCP_VERSION in Source/UEBridgeMCP/Public/UEBridgeMCP.h identical.
  • Bump both in the same PR when public tool names, schemas, defaults, or externally visible behavior changes.
  • Update CHANGELOG.md and RELEASE_NOTES.md alongside the version bump.

Troubleshooting Entry Points

Start with Troubleshooting if you hit any of these problems:

  • The client cannot connect to http://127.0.0.1:8080/mcp
  • tools/list is empty or missing expected tools
  • PIE start/stop appears stuck
  • Python execution fails or crashes the editor
  • Live Coding or rebuild operations do not reflect recent code changes
  • Multiple UE projects are fighting over the same server port

License

GNU General Public License v3.0 - see LICENSE for details.

Links

Star History

Star History Chart

Dùng MCP UEBridgeMCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối UEBridgeMCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này kết nối qua URL máy chủ MCP được lưu trữ từ xa trong TypingMind.

Thêm URL máy chủ MCP

Dùng cách này khi UEBridgeMCP đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ MCP do nhà cung cấp cung cấp vào trường URL máy chủ.
  2. Nhập tên kết nối cho UEBridgeMCP.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối UEBridgeMCP hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của UEBridgeMCP trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của UEBridgeMCP trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng UEBridgeMCP giúp tôi làm việc này không?
UEBridgeMCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng UEBridgeMCP.

Câu hỏi thường gặp

Máy chủ MCP UEBridgeMCP dùng để làm gì?

UEBridgeMCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP UEBridgeMCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng UEBridgeMCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP UEBridgeMCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối UEBridgeMCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP UEBridgeMCP với TypingMind?

Bạn có thể kết nối UEBridgeMCP trong TypingMind bằng cách thêm URL máy chủ MCP được lưu trữ từ xa của dịch vụ này. Cách này hữu ích khi bạn muốn dùng kết nối MCP từ xa ngay trong không gian làm việc TypingMind.

MCP UEBridgeMCP cung cấp những công cụ nào trong TypingMind?

UEBridgeMCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP UEBridgeMCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu UEBridgeMCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇