Sponsored by Deepsite.site

unreal-mcp

Created By
runreal8 months ago
MCP server for Unreal Engine that uses Unreal Python Remote Execution
Content

unreal-mcp

MCP server for Unreal Engine that uses Unreal Python Remote Execution

hero

gif

Twitter · Discord

license

⚡ Differences

This server does not require installing a new UE plugin as it uses the built-in Python remote execution protocol.

Adding new tools/features is much faster to develop since it does not require any C++ code.

It can support the full Unreal Engine Python API

⚠️ Note

  • This is not an official Unreal Engine project.
  • Your AI agents or tools will have full access to your Editor.
  • Review any changes your Client suggests before you approve them.

📦 Installation

📋 Requirements

  • 🔧 Unreal Engine 5.4+ (verified, may work with earlier versions)
  • 🟢 Node.js with npx
  • 🤖 MCP Client (Claude, Cursor, etc.)
  1. Setting up your Editor:
    • Open your Unreal Engine project
    • Go to Edit -> Plugins
    • Search for "Python Editor Script Plugin" and enable it
    • Restart the editor if prompted
    • Go to Edit -> Project Settings
    • Search for "Python" and enable the "Enable Remote Execution" option

enable plugin enable remote execution

  1. Set up your Client:
    • Edit your Claude (or Cursor) config
{
  "mcpServers": {
    "unreal": {
      "command": "npx",
      "args": [
        "-y",
        "@runreal/unreal-mcp"
      ]
    }
  }
}

🔧 Troubleshooting

If you get an error similar to MCP Unreal: Unexpected token 'C', Connection... it means that the mcp-server was not able to connect to the Unreal Editor.

  • Make sure that the Python Editor Script Plugin is enabled and that the Remote Execution option is checked in your project settings.
  • Try also changing your bind address from 127.0.0.1 to 0.0.0.0 but note that this will allow connections from your local network.
  • Restart your Unreal Editor fully.
  • Fully close/open your client (Claude, Cursor, etc.) to ensure it reconnects to the MCP server. (File -> Exit on windows).
  • Check your running processes and kill any zombie unreal-mcp Node.js processes.

🛠️ Available Tools

ToolDescription
set_unreal_engine_pathSet the Unreal Engine path
set_unreal_project_pathSet the Project path
get_unreal_engine_pathGet the current Unreal Engine path
get_unreal_project_pathGet the current Unreal Project path
editor_run_pythonExecute any python within the Unreal Editor
editor_list_assetsList all Unreal assets
editor_export_assetExport an Unreal asset to text
editor_get_asset_infoGet information about an asset, including LOD levels for StaticMesh and SkeletalMesh assets
editor_get_asset_referencesGet references for an asset
editor_console_commandRun a console command in Unreal
editor_project_infoGet detailed information about the current project
editor_get_map_infoGet detailed information about the current map/level
editor_search_assetsSearch for assets by name or path with optional class filter
editor_get_world_outlinerGet all actors in the current world with their properties
editor_validate_assetsValidate assets in the project to check for errors
editor_create_objectCreate a new object/actor in the world
editor_update_objectUpdate an existing object/actor in the world
editor_delete_objectDelete an object/actor from the world
editor_take_screenshotTake a screenshot of the Unreal Editor
editor_move_cameraMove the viewport camera to a specific location and rotation for positioning screenshots

🤝 Contributing

Please feel free to open issues or pull requests. Contributions are welcome, especially new tools/commands.

License MIT

Server Config

{
  "mcpServers": {
    "unreal": {
      "command": "npx",
      "args": [
        "-y",
        "@runreal/unreal-mcp"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
Playwright McpPlaywright MCP server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
Serper MCP ServerA Serper MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.