Skip to main content
Glama

Unreal Engine MCP

Unreal Engine Python Status

MCP tool that enables natural language control of Unreal Engine 5.6+. Designed for large-scale projects with specialized Blueprint workflow support. Build node graphs, create GameplayAbilities, and automate editor tasks through MCP client. Includes RAG-powered Python scripting with Unreal Python API documentation.

🎬 Demo

Homing Cluster Grenade

Homing Cluster Grenade - Lyra grenade + MCP-generated Blueprints (GA, skill system)

Related MCP server: Unreal Engine MCP Server

⭐ Features

Category

Description

Blueprint Tools

Create blueprints, add components, build node graphs, manage variables, connect pins

GAS (Gameplay Ability System)

Create GameplayAbilities, GameplayEffects, AbilityTasks with full graph construction

Editor Tools

Spawn actors, create materials, manipulate transforms, search assets

RAG Search

Search Unreal Python API docs with BM25

Python Execution

Execute Python code in Unreal with RAG-powered documentation lookup

PCG Tools

Create PCG graphs, add nodes, connect edges (Early stage - in development)

πŸ“ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Claude Desktop / Cursor (Client)                β”‚
β”‚            LLM reasoning & tool invocation                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚ MCP Protocol (stdio)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Python MCP Server                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ Tools                                                  β”‚ β”‚
β”‚  β”‚  β€’ editor_tool    - Actor/asset manipulation           β”‚ β”‚
β”‚  β”‚  β€’ blueprint_tool - Blueprint/GAS node graphs          β”‚ β”‚
β”‚  β”‚  β€’ pcg_tool       - PCG graph construction             β”‚ β”‚
β”‚  β”‚  β€’ rag_tool       - API search & Python execution      β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚ TCP
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                 Unreal Engine C++ Plugin                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ Command Handlers                                       β”‚ β”‚
β”‚  β”‚  β€’ EditorCommands    - Level actor operations          β”‚ β”‚
β”‚  β”‚  β€’ BlueprintCommands - BP asset & node graph editing   β”‚ β”‚
β”‚  β”‚  β€’ PCGCommands       - PCG graph manipulation          β”‚ β”‚
β”‚  β”‚  β€’ PythonExecutor    - Python script execution         β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

RAG System (BM25):
  β€’ Provides Unreal Python API documentation search
  β€’ Used by execute_unreal_python on failure for error recovery
  β€’ No external API keys required

πŸ“– Start Guide

Requirements

Component

Version

Unreal Engine

5.6+

Python

3.11

Claude Desktop or Cursor

Latest

Note: uv package manager is recommended but will be installed automatically if not present.

1. Clone Repository

git clone https://github.com/gimmeDG/UnrealEngine5-mcp.git
cd UnrealEngine5-mcp

2. Setup Unreal Engine Plugin

  1. Copy Plugins/UnrealEngineMCP folder to your Unreal project's Plugins/ directory

  2. Open your project in Unreal Editor

  3. Enable the plugin: Edit β†’ Plugins β†’ Search "UnrealEngineMCP" β†’ Enable

  4. Restart Unreal Editor

3. Configure MCP Client

Claude Desktop

Windows - Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "UnrealEngineMCP": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\unreal-engine-mcp",
        "run",
        "main.py"
      ]
    }
  }
}

macOS - Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "UnrealEngineMCP": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/unreal-engine-mcp",
        "run",
        "main.py"
      ]
    }
  }
}

Cursor

Settings β†’ MCP β†’ Add Server with the same configuration:

{
  "UnrealEngineMCP": {
    "command": "uv",
    "args": [
      "--directory",
      "/path/to/unreal-engine-mcp",
      "run",
      "main.py"
    ]
  }
}

4. (Optional) Environment Setup

cp .env.example .env
# Edit .env if you need to change default settings

Default configuration works out of the box. The server will:

  • Automatically create virtual environment

  • Install all dependencies

  • Generate BM25 index on first run

πŸ› οΈ Available Tools

Editor Tools (21 tools)

Category

Tools

Actor

spawn_actor, spawn_blueprint_actor, delete_actor, list_level_actors, set_actor_transform, get_actor_properties, set_actor_property

Material

create_material, apply_material_to_actor, get_actor_material_info

Search

search_actors, search_assets, list_folder_assets, list_gameplay_tags

World Partition

get_world_partition_info, search_actors_in_region, load_actor_by_guid, set_region_loaded, list_level_instances, get_level_instance_actors

Utility

get_connection_status

Blueprint Tools (47 tools)

Category

Tools

Core

create_blueprint, compile_blueprint, analyze_blueprint, create_child_blueprint, list_graphs

Component

add_component_to_blueprint, set_component_property, set_physics_properties, delete_component_from_blueprint, apply_material_to_blueprint, get_blueprint_material_info, set_mesh_material_color

Variable

add_blueprint_variable, add_blueprint_variable_node, get_blueprint_variables, delete_blueprint_variable

Node Graph

add_blueprint_event_node, add_custom_event_node, add_blueprint_function_node, add_blueprint_flow_control_node, add_function_override, add_blueprint_input_action_node, add_component_getter_node, add_property_get_set_node, add_blueprint_self_reference, add_blueprint_generic_node, list_blueprint_nodes, connect_blueprint_nodes, connect_nodes, set_pin_default_value, get_pin_value, set_node_property, disconnect_blueprint_nodes, delete_blueprint_node, add_pin, delete_pin, add_comment_box

GAS

create_gameplay_effect, create_gameplay_ability, add_ability_task_node, explore_gas_context, list_attribute_sets, get_attribute_set_info, build_ability_graph

Reflection

search_functions, get_class_functions, get_class_properties

RAG Tools (2 tools)

Tool

Description

search_unreal_api

Search Unreal Python API documentation using BM25

execute_unreal_python

Execute Python code in Unreal Engine with safety validation

PCG Tools (13 tools) - Early Stage

In Development: PCG tools are functional but still being refined.

Category

Tools

Graph

create_pcg_graph, analyze_pcg_graph, set_pcg_graph_to_component

Node

add_pcg_sampler_node, add_pcg_filter_node, add_pcg_transform_node, add_pcg_spawner_node, add_pcg_attribute_node, add_pcg_flow_control_node, add_pcg_generic_node, list_pcg_nodes, connect_pcg_nodes, disconnect_pcg_nodes, delete_pcg_node

πŸ“„ License

MIT License

πŸ’¬ Feedback

Found a bug or have a suggestion? Open an issue.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI agents to create and modify Unreal Engine blueprints using natural language commands. Supports blueprint creation, property modification, and real-time communication with Unreal Editor through WebSocket integration.
      -
    • A
      license
      D
      quality
      A
      maintenance
      Enables AI assistants to control Unreal Engine via Remote Control API for game development automation, including asset management, actor control, level editing, animation, physics, visual effects, and cinematics creation through natural language.
      1
      1,055
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      Enables natural language interaction with Unreal Engine, providing 127 tools across 16 subsystems for tasks like actor manipulation, asset management, blueprint creation, and more, using built-in Python and Remote Control plugins.
      100
      8
      MIT