UnrealMCP  by kvick-games

Unreal Engine plugin for AI agent control via Machine Control Protocol

created 4 months ago
389 stars

Top 75.0% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an unofficial Unreal Engine plugin to control the engine via AI agents using a Machine Control Protocol (MCP). It targets AI researchers and developers seeking programmatic control over Unreal Engine environments for tasks like scene manipulation and asset creation, enabling AI-driven game development and simulation.

How It Works

UnrealMCP implements a TCP server within Unreal Engine, exposing a JSON-based command protocol. External AI systems, such as Claude for Desktop, can connect to this server to send commands for scene manipulation, asset creation, and Python script execution. This approach allows for direct, programmatic interaction with the Unreal Engine, abstracting complex API calls into a simpler, AI-friendly interface.

Quick Start & Requirements

  • Install: Clone the repository into your Unreal project's Plugins directory. Regenerate project files, build the project, and enable the plugin within Unreal Engine.
  • Prerequisites: Unreal Engine 5.5 (tested), C++ development environment for Unreal, Python 3.7+ for client scripts. Requires an AI model like Claude for Desktop.
  • Setup: Configuration involves modifying claude_desktop_config.json to point to the plugin's run_unreal_mcp.bat script.
  • Docs: modelcontextprotocol.io/quickstart/user

Highlighted Details

  • TCP server implementation for remote control.
  • JSON-based command protocol for AI integration.
  • Editor UI integration for MCP server management.
  • Client-side Python scripts for interaction.
  • Supports basic operations like creating/modifying objects and executing Python scripts.

Maintenance & Community

  • Project is marked as "VERY WIP" with plans for user extensions and more tools.
  • A Discord server is available for support: discord.gg/abRftdSe
  • Creator: kvick (@kvickart on X).

Licensing & Compatibility

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

Limitations & Caveats

The plugin is explicitly marked as "VERY WIP" and primarily tested on Windows. AI model compatibility beyond Claude for Desktop is experimental, and the author notes potential errors with Unreal Python scripting due to limited examples. Direct AI modification of projects carries inherent risks, necessitating strict source control and backups.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
1
Star History
106 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.5%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
15 more.

opencode by sst

12.9%
17k
CLI tool for AI-assisted coding in the terminal
created 3 months ago
updated 13 hours ago
Feedback? Help us improve.