Unreal

v1.0.0Developer Toolsstable

Enable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).

mcp-servermodelcontextprotocolunreal-engine-5
Share:
1,898
Stars
0
Downloads
0
Weekly
0/5

What is Unreal?

Unreal is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enable ai assistant clients like cursor, windsurf and claude desktop to control unreal engine through natural language using the model context protocol (mcp).

Enable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • set_unreal_engine_path
  • set_unreal_project_path
  • get_unreal_engine_path
  • get_unreal_project_path
  • editor_run_python

Use Cases

Control Unreal Engine 5 through natural language commands.
Enable AI assistants like Cursor and Claude Desktop to manipulate game logic and assets.
runreal

Maintainer

LicenseMIT License
Languagec++
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @runreal/unreal-mcp

Manual Installation

npx -y @runreal/unreal-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Unreal

The Unreal MCP server (@runreal/unreal-mcp) bridges AI assistant clients — including Claude Desktop, Cursor, and Windsurf — with the Unreal Engine 5 editor via its Python Remote Execution plugin. It exposes over 20 tools covering asset management, world editing, actor creation, console command execution, camera control, and Python script execution within the editor, enabling developers to build and iterate on game projects through natural language without switching from their AI workflow to the Unreal editor manually.

Prerequisites

  • Unreal Engine 5.4 or later installed
  • Python Editor Script Plugin enabled in the Unreal Engine project settings
  • Remote Execution option enabled in Unreal Engine project settings (Edit > Project Settings > Plugins > Python)
  • Node.js 18+ and npx installed on the host machine
  • An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
1

Enable the Python Editor Script Plugin in Unreal Engine

Open your Unreal project, go to Edit > Plugins, search for 'Python Editor Script Plugin', enable it, and restart the editor.

2

Enable Remote Execution in Unreal project settings

Go to Edit > Project Settings > Plugins > Python. Enable 'Enable Remote Execution' and note the multicast group endpoint and binding address (defaults are usually fine for local use).

3

Install or run the MCP server via npx

The server can be run directly with npx without a global install. npx will download and execute @runreal/unreal-mcp on demand.

npx -y @runreal/unreal-mcp
4

Configure your MCP client

Add the unreal server to your MCP client configuration file. For Claude Desktop, edit claude_desktop_config.json.

5

Set the Unreal Engine and project paths

In Claude (or your AI client), use the set_unreal_engine_path and set_unreal_project_path tools to tell the server where your Unreal installation and project live before issuing other commands.

6

Open your Unreal project and start issuing commands

With the project open in the Unreal editor and Remote Execution active, your AI client can now call tools to create actors, search assets, run Python scripts, and control the editor.

Unreal Examples

Client configuration

Add this to claude_desktop_config.json to register the Unreal MCP server. No API keys or environment variables are required — the server connects to the local Unreal editor via the Remote Execution protocol.

{
  "mcpServers": {
    "unreal": {
      "command": "npx",
      "args": ["-y", "@runreal/unreal-mcp"]
    }
  }
}

Prompts to try

With the Unreal editor open and the MCP server connected, use these prompts to control your project.

- "List all static mesh assets in the /Game/Meshes folder"
- "Create a point light actor at position (0, 0, 300) in the current level"
- "Run a Python script in the editor to set all selected actors' scale to (2, 2, 2)"
- "Take a screenshot of the current editor viewport"
- "Search for all Blueprint assets whose name contains 'Player'"
- "Run the Unreal console command 'stat fps' to show frame rate"

Troubleshooting Unreal

MCP server cannot connect to Unreal Editor — connection refused or timeout

Verify that 'Enable Remote Execution' is checked in Project Settings > Plugins > Python, and that your Unreal project is open and running. The Remote Execution plugin must be active in the editor for the MCP server to connect.

editor_run_python returns an error about missing modules

The Python scripts run inside the Unreal editor environment, which has its own set of available Python packages. Only modules bundled with Unreal's Python environment (like unreal) are available. Import standard library modules or pre-installed ones — do not assume pip-installed packages are available.

npx -y @runreal/unreal-mcp fails to download

Check your internet connection and npm registry access. Run 'npm view @runreal/unreal-mcp' to verify the package exists. If behind a corporate proxy, configure npm proxy settings with 'npm config set proxy http://proxy.example.com:8080'.

Frequently Asked Questions about Unreal

What is Unreal?

Unreal is a Model Context Protocol (MCP) server that enable ai assistant clients like cursor, windsurf and claude desktop to control unreal engine through natural language using the model context protocol (mcp). It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Unreal?

Install via npm with the command: npx -y @runreal/unreal-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Unreal?

Unreal works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Unreal free to use?

Yes, Unreal is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "unreal": { "command": "npx", "args": ["-y", "@runreal/unreal-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Unreal?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides