Navigation
Unreal Engine MCP Server for Claude Desktop: AI-Driven Workflows - MCP Implementation

Unreal Engine MCP Server for Claude Desktop: AI-Driven Workflows

Unreal Engine MCP Server for Claude Desktop (Early Alpha): Seamlessly embed AI into game workflows. Empower creators to build smarter, faster with cutting-edge dev tools.

Developer Tools
4.7(45 reviews)
67 saves
31 comments

Ranked in the top 7% of all AI tools in its category

About Unreal Engine MCP Server for Claude Desktop

What is Unreal Engine MCP Server for Claude Desktop: AI-Driven Workflows?

Unreal Engine MCP Server bridges Claude Desktop's natural language capabilities with Unreal Engine 5.3, enabling AI-powered 3D scene creation and manipulation. This server leverages the Model Context Protocol (MCP) to translate textual instructions into actionable commands, empowering developers to dynamically assemble assets, adjust object properties, and discover project resources through conversational prompts. It represents a foundational step toward automated game development workflows driven by artificial intelligence.

How to Use Unreal Engine MCP Server for AI-Driven Workflows

Implementation follows a structured process:

  1. Setup Dependencies: Install Python 3.10+, Unreal Engine 5.3 (with Remote Control API enabled), and configure Claude Desktop.
  2. Deploy the Server: Clone the repository, install packages (uv mcp requests), and update claude_desktop_config.json with server paths.
  3. Initialize Environments: Launch Unreal Engine with your project, ensure the Remote Control API is active, then restart Claude Desktop for configuration synchronization.
  4. Execute Commands: Issue natural language prompts in Claude Desktop to create objects, modify scenes, or query asset databases.

Validate connectivity by requesting a simple object creation (e.g., "Generate a cube at coordinates 0,0,0").

Unreal Engine MCP Server for Claude Desktop Features

Key Features of the AI-Driven Workflow Solution

  • Dynamic Object Instantiation: Deploy parametrized 3D primitives (cubes, spheres) with precise positioning, scaling, and material assignments.
  • Blueprint Integration: Instantiate custom assets via Unreal's Blueprint classes, enabling complex scene setups ("Spawn a character from BP_PlayerModel").
  • Scene Adaptation: Modify existing objects in real-time—alter rotations, toggle visibility, or reposition elements without manual editor adjustments.
  • Asset Discovery Engine: Perform contextual searches across project directories to identify meshes, materials, and blueprints matching specific criteria.

These features are orchestrated through a modular architecture, with dedicated modules handling API communication (unreal_connection.py), actor manipulation (unreal_actors.py), and asset management (unreal_assets.py), ensuring scalable extensibility.

Use Cases for AI-Driven Game Development Workflows

Applications span creative and technical domains:

  • Rapid Prototyping: Iteratively build levels using iterative prompts like "Add a forest backdrop with 50 trees spaced 10 units apart."
  • Collaborative Design: Enable non-technical stakeholders to contribute to scene composition through natural language specifications.
  • Education & Training: Create interactive tutorials where students visualize geometric transformations via real-time object adjustments.
  • Asset Management: Automate inventory audits by querying asset libraries for obsolete or underutilized resources.

Unreal Engine MCP Server for Claude Desktop FAQ

FAQ: Troubleshooting & Best Practices

Why aren't objects appearing in my Unreal project?
Check coordinates for extreme values (e.g., 10000,0,0 may place objects outside viewport range). Review Unreal's Output Log for API errors.
How do I resolve conflicting MCP servers?
Temporarily disable non-essential servers in claude_desktop_config.json to isolate configuration conflicts.
Can I customize material assignments?
Yes—reference material paths explicitly: "Apply the /Game/CustomMaterials/Metal_01 material to the cube."
What logging mechanisms are available?
Server activity streams to console in real-time. Enable development mode (mcp dev) for verbose debugging.

For advanced customization, explore the repository's modules to extend actor behaviors or integrate custom asset pipelines.

Content

Unreal Engine MCP Server for Claude Desktop

This repository contains a Model Context Protocol (MCP) Python server that allows Claude Desktop to interact with Unreal Engine 5.3 (via Remote Control API), creating and manipulating 3D objects based on text prompts. This integration enables Claude to build and modify 3D scenes in Unreal Engine through natural language, representing an early step toward text-to-game-generation technology.

Current Features:

  • use Claude Desktop text prompts to arrange assets in Unreal Engine Editor
  • create static meshes for assembling primitive shapes
  • look up Unreal project folder for assets

image

image

Quick Start

1. Requirements

  • Python 3.10+
  • Unreal Engine 5.3 with Remote Control API (plugin) enabled
  • Claude Desktop (Windows)

2. Installation

Clone the repository and install required packages:

git clone https://github.com/runeape-sats/unreal-mcp.git
cd unreal-mcp
pip install uv mcp requests

3. Configure Claude Desktop

Go to Claude Desktop → File → Settings → Developer → Edit Config claude_desktop_config.json and add the following, adjusting the path to your local repository:

{
  "mcpServers": {
    "unreal-mcp": {
      "command": "uv",
      "args": ["--directory", "\\path\\to\\unreal-mcp", "run", "unreal_mcp_server.py"],
      "env": {}
    }
  }
}

If you already have other MCP servers configured (like blender-mcp), you may need to disable them to ensure they don't conflict.

4. Launch Unreal Engine

Open Unreal Engine with your project and ensure the Remote Control API plugin is enabled.

5. Launch Claude Desktop

Restart Claude Desktop (i.e., need a clean exit without Claude's icon in the system tray) to load the new configuration. You can verify if it's connected by asking Claude to create objects in Unreal Engine.

Project Structure

The server is organized into several modules:

  • unreal_mcp_server.py - Main entry point that registers MCP tools
  • unreal_connection.py - Handles communication with Unreal Engine
  • unreal_actors.py - Functions for creating and manipulating actors
  • unreal_assets.py - Functions for working with assets and level info
  • unreal_utils.py - Utility functions and constants

Features

Basic Object Creation

Create primitive shapes with a variety of parameters:

  • Cubes, Spheres, Cylinders, Planes, Cones
  • Custom position, rotation, scale
  • Custom colors and materials

Example prompt: "Create a red cube at position 100, 200, 50"

Blueprint Actor Creation

Spawn actors from Blueprint classes:

  • Buildings, props, characters, etc.
  • Custom parameters like in Basic Object Creation

Example prompt: "Spawn a bench from the blueprint at /Game/CustomAsset/Blueprints/BP_Bench01"

Scene Manipulation

Modify existing objects:

  • Change position, rotation, scale
  • Adjust colors and materials
  • Toggle visibility

Example prompt: "Move the cube to position 0, 0, 100 and rotate it 45 degrees"

Asset Discovery

Search for and list available assets:

  • Filter by asset type (blueprints, meshes, materials)
  • Search in specific paths
  • Find assets matching certain terms

Example prompt: "List all bench static meshes in the project"

Example Prompts

Here are some example prompts you can use with Claude:

Create a blue sphere at position 0, 100, 50 with scale 2, 2, 2

Create a scene with a red cube at 0,0,0, a green sphere at 100,0,0, and a blue cylinder at 0,100,0

List all blueprint assets in the /Game/CustomAsset folder

Get information about the current level

Create a cylinder and then change its color to yellow

Troubleshooting

Connection Issues

  • Make sure Unreal Engine is running before starting the MCP server
  • Ensure the Remote Control API plugin is enabled in Unreal Engine
  • Check if another process is using port 30010
  • Verify your firewall is not blocking the connection

Objects Not Appearing

  • Check the output log in Unreal Engine for any errors
  • Make sure objects are not being created too far from the origin (0,0,0)
  • Try simplifying your requests to isolate issues

Logging

The server logs detailed information to the console. If you're having issues, check the logs for error messages and tracebacks.

Development

To run the server in development mode:

pip install mcp[cli]
mcp dev unreal_mcp_server.py

Contributing

Contributions are welcome! This is an integration between Claude and Unreal Engine, and there's much that can be improved:

  • Better natural language processing for scene descriptions
  • More complex object creation capabilities
  • Supporting more Unreal Engine features
  • Improved error handling and feedback

License

MIT License

Related MCP Servers & Clients