RM

remiphilippe/mcp-unreal

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

83 stars 17 forks 质量 70 趋势 0Apache-2.0

remiphilippe/mcp-unreal 是从 https://github.com/remiphilippe/mcp-unreal. 导入的 MCP 服务器候选服务器。

概览

remiphilippe/mcp-unreal 是从 https://github.com/remiphilippe/mcp-unreal. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

MCP(模型上下文协议)服务器,赋予AI编码代理对虚幻引擎5.7项目的完全自主控制。单一Go二进制,零外部依赖。

构建、测试、操作编辑器、编辑蓝图、生成过程网格以及查找UE API文档——所有这些都通过49个MCP工具,任何兼容MCP的代理都能直接调用。

快速启动

先修条件

  • Go 1.25+ — 安装
  • 虚幻引擎 5.7 — 用于构建/测试工具和编辑器交互
  • 远程控制API插件 — 在UE中启用(见下文启用远程控制API)
  • MCPUnreal 编辑器插件 — 用于高级编辑器工具(参见插件/README.md)

安装

来自源头

预建双进制

可从 GitHub Releases 下载——支持 macOS、Linux 和 Windows 的 amd64 和 arm64。

启用远程控制API

远程控制API是内置的UE插件,提供对30010端口演员属性和函数调用的HTTP访问。MCP-Unreal用于get_property、set_property、call_function和move_actor工具。

  1. 在Unreal Editor中打开你的项目
  2. 前往 编辑>插件
  3. 搜索**“远程控制API”**

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

mcp-unreal

MCP (Model Context Protocol) server that gives AI coding agents complete autonomous control over an Unreal Engine 5.7 project. Single Go binary, zero external dependencies.

Build, test, manipulate the editor, edit Blueprints, generate procedural meshes, and look up UE API documentation — all through 49 MCP tools that any MCP-compatible agent can call directly.

Quick Start

# Install
go install github.com/remiphilippe/mcp-unreal/cmd/mcp-unreal@latest

# Build the documentation index
mcp-unreal --build-index

# Register with your AI coding tool (see Setup section below)

Prerequisites

Installation

From Source

git clone https://github.com/remiphilippe/mcp-unreal.git
cd mcp-unreal
make build

Pre-built Binaries

Download from GitHub Releases — available for macOS, Linux, and Windows on both amd64 and arm64.

Enabling Remote Control API

The Remote Control API is a built-in UE plugin that provides HTTP access to actor properties and function calls on port 30010. mcp-unreal uses it for get_property, set_property, call_function, and move_actor tools.

  1. Open your project in Unreal Editor
  2. Go to Edit > Plugins
  3. Search for “Remote Control API”
  4. Check the Enabled checkbox
  5. Restart the editor when prompted

To verify it’s running:

curl http://localhost:30010/remote/info

You should get a JSON response with the API version. If the connection is refused, the plugin is not enabled or the editor isn’t running.

Install the UE Plugin

Copy the plugin/ directory into your project’s Plugins/ folder:

cp -r plugin/ /path/to/YourProject/Plugins/MCPUnreal/

Rebuild the project. The plugin starts an HTTP server on port 8090 when the editor loads. See plugin/README.md for details.

Setup by Client

mcp-unreal works with any MCP-compatible AI coding tool. Below are setup instructions for each.

Note: Replace /path/to/mcp-unreal with the actual path to your built binary (e.g. the output of go install or make build). Set MCP_UNREAL_PROJECT to your .uproject file path or project root directory.

Claude Code

CLI registration:

claude mcp add mcp-unreal -- /path/to/mcp-unreal
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mcp-unreal": { "type": "stdio", "command": "/path/to/mcp-unreal", "env": { "MCP_UNREAL_PROJECT": "/path/to/MyProject/MyProject.uproject" } } } }