Logotipo de UE5 MCP Server

UE5 MCP Server

Comunidad
Natfii

MCP server bridging AI assistants to Unreal Engine 5 editor

EditorNatfii
Repositorioue5-mcp-bridge
IdiomaJavaScript
Forks
22
Estrellas
63
Herramientas disponibles
0
Tipo de transportestdio
Categorías
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    UE5 MCP Server ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    63 estrellas y 22 forks en el repositorio enlazado.

UE5 MCP Server

Tests Coverage Node License: MIT

An MCP (Model Context Protocol) server that bridges AI assistants to Unreal Engine 5's editor, enabling direct manipulation of levels, actors, Blueprints, and Animation Blueprints.

Why a Standalone Repository?

This MCP server was originally part of the UnrealClaude plugin, but has been moved to its own repository because:

  1. Expanded Scope: The MCP protocol is an open standard now supported by many AI providers
  2. Easier Forking: Developers can fork and adapt this bridge for other AI services without pulling the entire Unreal plugin
  3. Community Contributions: Standalone repo makes it easier to accept PRs for new features, bug fixes, and support for additional MCP clients

Compatible AI Clients

This server uses the standard Model Context Protocol and works with any MCP-compatible AI client, including:

  • Claude Code (CLI)
  • Claude Desktop App
  • OpenAI ChatGPT Desktop (MCP support added March 2025)
  • Cursor (AI-powered IDE)
  • Replit (AI coding platform)
  • Sourcegraph Cody
  • Windsurf
  • And any other MCP-compliant tool

The protocol was donated to the Linux Foundation in December 2025 and continues to see broad adoption across the AI industry.


Important: What This Tool Is (and Isn't)

This is NOT a "text-to-game" tool. It will not generate 3D models, textures, animations, or replace the work of artists, animators, and asset creators.

This IS a workflow accelerator for Unreal Engine developers. It helps with:

  • Project setup monotony: Quickly scaffold Blueprints, set up state machines, configure input bindings
  • Repetitive editor tasks: Spawn actors, set properties, organize levels using natural language
  • Rapid prototyping: Test ideas faster by describing what you want instead of clicking through menus
  • Learning UE5: Query the built-in API documentation while working

The goal is to speed up the tedious parts of game development so you can focus on the creative work that actually matters.


Requirements

  • Node.js 18.0.0 or higher
  • An HTTP endpoint that implements the expected REST API (default: http://localhost:3000)

Note: This MCP server is designed to work with the UnrealClaude plugin, but can be adapted for other HTTP backends that implement the same API.

Quick Start

1. Install

bash
git clone https://github.com/Natfii/unrealclaude-mcp-bridge.git
cd unrealclaude-mcp-bridge
npm install

2. Configure Your MCP Client

Add to your MCP client's configuration:

Claude Code (~/.claude/settings.json):

json
{
  "mcpServers": {
    "unreal": {
      "command": "node",
      "args": ["/path/to/unrealclaude-mcp-bridge/index.js"],
      "env": {
        "UNREAL_MCP_URL": "http://localhost:3000"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json):

json
{
  "mcpServers": {
    "unreal": {
      "command": "node",
      "args": ["/path/to/unrealclaude-mcp-bridge/index.js"],
      "env": {
        "UNREAL_MCP_URL": "http://localhost:3000"
      }
    }
  }
}

Other MCP Clients: Consult your client's documentation for MCP server configuration. The server uses stdio transport.

3. Use It

Once connected, you can interact with Unreal Editor through natural language:

"Spawn a point light at position 0, 0, 500"
"List all StaticMeshActors in the level"
"Create a new Actor Blueprint called BP_Enemy"
"Add a float variable called Health to BP_Player"
"Create a state machine called Locomotion in my Animation Blueprint"

Available Tools

Connection & Context

ToolDescription
unreal_statusCheck connection to Unreal Editor
unreal_get_ue_contextGet UE 5.7 API documentation by category or query

Level & Actor Tools

ToolDescription
unreal_open_levelOpen, create, or list level maps in the editor
unreal_spawn_actorSpawn actors in the level
unreal_get_level_actorsList actors in the current level
unreal_set_propertySet properties on actors
unreal_move_actorMove/rotate/scale actors
unreal_delete_actorsDelete actors from the level
unreal_run_console_commandRun Unreal console commands
unreal_get_output_logGet recent output log entries

Asset Tools

ToolDescription
unreal_asset_searchSearch for assets by class, path, or name
unreal_asset_dependenciesGet all assets that a specific asset depends on
unreal_asset_referencersGet all assets that reference a specific asset

Script Execution

ToolDescription
unreal_execute_scriptExecute C++, Python, or console scripts
unreal_cleanup_scriptsRemove generated scripts
unreal_get_script_historyGet script execution history

Viewport

ToolDescription
unreal_capture_viewportCapture screenshot of active viewport

Blueprint Tools

ToolDescription
unreal_blueprint_queryQuery Blueprint information (list, inspect, get_graph)
unreal_blueprint_modifyModify Blueprints (create, add variables/functions, add nodes, connect pins)

Animation Blueprint Tools

ToolDescription
unreal_anim_blueprint_modifyFull Animation Blueprint manipulation

Character Tools

ToolDescription
unreal_characterQuery and modify ACharacter actors in the current level
unreal_character_dataCreate and manage character configuration DataAssets and stats DataTables

Material Tools

ToolDescription
unreal_materialMaterial instance creation and assignment for Skeletal Meshes

Enhanced Input Tools

ToolDescription
unreal_enhanced_inputCreate and modify Enhanced Input assets (InputAction, InputMappingContext)

Async Task Queue

ToolDescription
unreal_task_submitSubmit an MCP tool for async background execution
unreal_task_statusCheck status of a submitted async task
unreal_task_resultGet the result of a completed async task
unreal_task_listList all async tasks
unreal_task_cancelCancel a running async task

Animation Blueprint Operations

The unreal_anim_blueprint_modify tool provides comprehensive control over Animation Blueprints:

State Machine Operations

OperationDescription
get_infoGet AnimBlueprint structure overview
get_state_machineGet detailed state machine info
create_state_machineCreate new state machine
add_stateAdd state to state machine
remove_stateRemove state from state machine
set_entry_stateSet entry state for state machine
connect_state_machine_to_outputConnect state machine to AnimGraph output pose

Transition Operations

OperationDescription
add_transitionCreate transition between states
remove_transitionRemove transition
set_transition_durationSet blend duration
set_transition_prioritySet evaluation priority

Transition Condition Graph

OperationDescription
add_condition_nodeAdd logic node (TimeRemaining, Greater, Less, And, Or, Not, GetVariable)
delete_condition_nodeRemove node from transition graph
connect_condition_nodesConnect nodes in transition graph
connect_to_resultConnect condition to transition result

Node/Pin Introspection

OperationDescription
get_transition_nodesList all nodes in transition graph(s) with their pins
inspect_node_pinsGet detailed pin info (types, connections, default values)
set_pin_default_valueSet pin default value with type validation
add_comparison_chainAdd GetVariable -> Comparison -> Result chain
validate_blueprintReturn compile status and diagnostics

Animation Assignment

OperationDescription
set_state_animationAssign AnimSequence, BlendSpace, BlendSpace1D, or Montage
find_animationsSearch compatible animation assets

Batch Operations

OperationDescription
batchExecute multiple operations atomically

UE 5.7 Context System

The server includes built-in UE 5.7 API documentation that can be queried:

Available Categories

CategoryDescription
animationAnimation Blueprint, state machines, transitions, UAnimInstance
blueprintBlueprint graphs, UK2Node, FBlueprintEditorUtils
slateSlate UI widgets, SNew/SAssignNew, layout patterns
actorActor spawning, components, transforms, iteration
assetsAsset loading, TSoftObjectPtr, FStreamableManager, async loading
replicationNetwork replication, RPCs, DOREPLIFETIME, OnRep
enhanced_inputEnhanced Input System, Input Actions, Mapping Contexts
characterCharacter movement, configuration, stats
materialMaterial instances, parameters, slots

Usage

json
// Get specific category
{ "category": "animation" }

// Search by keywords
{ "query": "state machine transitions" }

// List all categories
{}

Automatic Context Injection

Enable automatic context injection by setting:

json
{
  "env": {
    "INJECT_CONTEXT": "true"
  }
}

Configuration

Environment VariableDefaultDescription
UNREAL_MCP_URLhttp://localhost:3000Unreal plugin HTTP server URL
MCP_REQUEST_TIMEOUT_MS30000Request timeout in milliseconds
INJECT_CONTEXTfalseAuto-inject UE5 context on tool responses
DEBUG-Enable debug logging

Troubleshooting

Tools show "NOT CONNECTED"

  • Ensure your HTTP backend is running and accessible
  • Verify the UNREAL_MCP_URL environment variable points to the correct endpoint
  • Check that the endpoint responds to /mcp/status

stdin/stdout errors

  • Ensure Node.js 18+ is installed and in PATH
  • Run npm install to ensure dependencies are present
  • Verify the path in your MCP client config points to the correct index.js

Running the Test Suite

This repo includes a Vitest test suite (87 tests) that validates bridge behavior without a running Unreal Editor:

bash
npm install
npm test              # run all tests
npm run test:watch    # watch mode
npm run test:coverage # with coverage report

Tests mock the Unreal HTTP server and cover schema conversion, HTTP client logic, context loading, tool listing, and call routing.


Contributing

Contributions are welcome! Feel free to:

  • Add support for additional MCP client configurations
  • Improve the UE5 context documentation
  • Fix bugs or add new features
  • Submit documentation improvements

License

MIT with Attribution - see LICENSE for details.

Attribution Required: If you use this project, please credit:

Disclosure Required: If you build another MCP server or AI integration using this code, please disclose its use in your documentation.


Related

Instalación

TypingMind
{
  "mcpServers": {
    "ue5-mcp-bridge": {
      "command": "node",
      "args": [
        "/path/to/unrealclaude-mcp-bridge/index.js"
      ]
    }
  }
}

Usa el MCP de UE5 MCP Server con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado UE5 MCP Server, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade UE5 MCP Server como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de UE5 MCP Server.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "ue5-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "ue5-mcp-server"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de UE5 MCP Server y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de UE5 MCP Server.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar UE5 MCP Server para ayudarme con esta tarea?
UE5 MCP Server
Claro. Lo he leído.
Esto he encontrado usando UE5 MCP Server.

Preguntas frecuentes

¿Para qué sirve el servidor MCP UE5 MCP Server?

UE5 MCP Server es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP UE5 MCP Server con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar UE5 MCP Server con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de UE5 MCP Server con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con UE5 MCP Server conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP UE5 MCP Server a TypingMind?

UE5 MCP Server funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP UE5 MCP Server en TypingMind?

UE5 MCP Server ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP UE5 MCP Server?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si UE5 MCP Server requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇