Logo de UEBridgeMCP

UEBridgeMCP

Comunidade
uuuuzz

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

Publicado poruuuuzz
RepositórioUEBridgeMCP
IdiomaC++
Forks
12
Estrelas
58
Ferramentas disponíveis
0
Tipo de transportestreamable-http
Categorias
LicençaGPL-3.0
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    UEBridgeMCP disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 0 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    58 estrelas e 12 forks no repositório vinculado.

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

Use o MCP de UEBridgeMCP com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar UEBridgeMCP, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP se conecta no TypingMind pela URL de um servidor MCP hospedado remotamente.

Adicione a URL de um servidor MCP

Use esta opção quando UEBridgeMCP já estiver hospedado remotamente ou quando sua equipe quiser um conector compartilhado que vários usuários possam acessar.

1

Abra Conectores MCP

No TypingMind, vá até Plugins, abra Conectores MCP e selecione Adicionar URL.

  1. Abra o TypingMind no navegador.
  2. Acesse Plugins.
  3. Abra Conectores MCP.
  4. Clique em Adicionar URL.
Formulário do TypingMind para adicionar a URL de um servidor MCP personalizado
2

Cole a URL do servidor

Insira a URL do servidor MCP fornecida pelo provedor no campo URL do servidor. Adicione um nome para a conexão, uma descrição, um ícone, cabeçalhos HTTP personalizados ou configurações do cliente OAuth se o servidor exigir.

  1. Cole a URL do servidor MCP fornecida pelo provedor no campo URL do servidor.
  2. Digite um nome para a conexão de UEBridgeMCP.
  3. Adicione uma descrição e um ícone para facilitar a identificação.
  4. Adicione cabeçalhos HTTP personalizados ou dados do cliente OAuth se o servidor exigir autenticação.
3

Crie a conexão

Clique em Criar conexão, volte à lista de Plugins e confirme que a nova conexão MCP está ativa.

  1. Clique em Criar conexão.
  2. Volte à lista de conectores MCP.
  3. Confirme que a conexão de UEBridgeMCP aparece como ativa.
  4. Atualize a lista de plugins se a conexão não aparecer imediatamente.
4

Troque de modelo sem reconectar

Inicie um chat com seu modelo preferido, ative as ferramentas de UEBridgeMCP em Plugins e mude para outro modelo sempre que necessário. A conexão MCP continua disponível no espaço de trabalho do TypingMind.

  1. Inicie um novo chat no TypingMind.
  2. Selecione o modelo de IA que deseja usar.
  3. Ative as ferramentas de UEBridgeMCP em Plugins.
  4. Peça ao modelo para usar a ferramenta quando necessário.
  5. Mude para outro modelo de IA e reutilize a mesma conexão MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar UEBridgeMCP para me ajudar nesta tarefa?
UEBridgeMCP
Claro. Já li.
Veja o que encontrei usando UEBridgeMCP.

Perguntas frequentes

Para que serve o servidor MCP UEBridgeMCP?

UEBridgeMCP é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP UEBridgeMCP com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar UEBridgeMCP com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP UEBridgeMCP com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com UEBridgeMCP conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP UEBridgeMCP ao TypingMind?

É possível conectar UEBridgeMCP ao TypingMind adicionando a URL do seu servidor MCP hospedado. Isso é útil para ter uma conexão MCP remota disponível no seu espaço de trabalho do TypingMind.

Quais ferramentas o MCP UEBridgeMCP oferece no TypingMind?

UEBridgeMCP disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP UEBridgeMCP?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se UEBridgeMCP exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇