unreal-mcp  by chongdashu

Unreal Engine control via natural language using Model Context Protocol

Created 5 months ago
918 stars

Top 39.7% on SourcePulse

GitHubView on GitHub
Project Summary

This project enables AI assistants like Cursor, Windsurf, and Claude Desktop to control Unreal Engine via natural language commands using the Model Context Protocol (MCP). It offers comprehensive capabilities for actor management, Blueprint development, node graph manipulation, and editor control, aiming to streamline complex Unreal Engine workflows for developers and designers.

How It Works

The integration consists of a C++ Unreal Engine plugin and a Python server. The C++ plugin acts as a native TCP server within the Unreal Editor, handling command execution and response management. The Python server establishes a TCP connection to the C++ plugin, serializes commands, and manages tool modules for specific Unreal Engine operations, all orchestrated through the Model Context Protocol.

Quick Start & Requirements

  • Install/Run: Copy the plugin to your project, enable it in Unreal Engine, build the plugin, and run the Python server (Python/unreal_mcp_server.py).
  • Prerequisites: Unreal Engine 5.5+, Python 3.12+.
  • Setup: Requires building the C++ plugin and configuring your MCP client with the provided JSON.
  • Docs: Docs/README.md

Highlighted Details

  • Supports actor creation, transformation, and querying.
  • Enables Blueprint class creation, component configuration, and compilation.
  • Allows manipulation of Blueprint node graphs, including adding nodes, variables, and connecting logic.
  • Provides editor control for viewport focus and camera manipulation.

Maintenance & Community

The project is maintained by chongdashu, with contact available via X/Twitter: @chongdashu.

Licensing & Compatibility

  • License: MIT.
  • Compatibility: Permissive for commercial use and closed-source linking.

Limitations & Caveats

The project is explicitly marked as EXPERIMENTAL, with potential for breaking changes, incomplete features, and outdated documentation. Production use is not recommended at this time.

Health Check
Last Commit

4 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
2
Star History
48 stars in the last 30 days

Explore Similar Projects

Starred by Boris Cherny Boris Cherny(Creator of Claude Code; MTS at Anthropic), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
3 more.

TagUI by aisingapore

0.1%
6k
Free RPA tool for automating repetitive tasks on websites, desktop apps, and command lines
Created 8 years ago
Updated 6 months ago
Feedback? Help us improve.