AU

appleweed/unrealmcpbridge

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

64 stars 17 forks Качество 73 Тренд 18MIT

appleweed/unrealmcpbridge - кандидат на сервер MCP, импортированный из https://github.com/appleweed/unrealmcpbridge.

Обзор

appleweed/unrealmcpbridge - кандидат на сервер MCP, импортированный из https://github.com/appleweed/unrealmcpbridge.

Обзор (машинный перевод)

Это плагин для Unreal Engine (UE), который создает серверную реализацию Model Context Protocol (MCP). Это позволяет MCP-клиентам, таким как Claude от Anthropic, получить полный доступ к UE Python API.

##Использовать кейсы

Разработка инструментов и рабочих процессов на Python с помощью такого агента, как Клод. Интеллектуальная и динамическая автоматизация таких рабочих процессов. Общая совместная разработка с агентом.

Предпосылки

Python 3.10 или выше, доступный в вашей системе PATH, с установленным MCP Python SDK:

Это единственная зависимость от Python. Клиентский скрипт unreal_mcp_client.py использует from mcp.server.fastmcp import FastMCP, чтобы подвергнуть инструменты моста вашему агенту. Для удобства [[Т3]] предоставляется файл [[Т4]]. Примечание: это ваша система * Python — скрипт работает как подпроцесс вашего агента, а не в комплекте с редактором Python.

  • Агент ИИ. Ниже мы предполагаем, что Клод будет использован. Но любого ИИ-агента, реализующего MCP, должно хватить. Unreal Engine 5 с включенным плагином Python Editor Script. Visual Studio 2019 или выше (необходима только при создании плагина из исходного кода — не требуется для установки Fab).

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Unreal Engine MCP Python Bridge Plugin

This is a plugin for Unreal Engine (UE) that creates a server implementation of Model Context Protocol (MCP). This allows MCP clients, like Anthropic’s Claude, to access the full UE Python API.

Use Cases

  • Developing tools and workflows in Python with an agent like Claude.
  • Intelligent and dynamic automation of such workflows.
  • General collaborative development with an agent.

Prerequisites

  • Python 3.10 or higher available on your system PATH, with the official MCP Python SDK installed:

    pip install mcp
    

    This is the only Python dependency. The client script unreal_mcp_client.py uses from mcp.server.fastmcp import FastMCP to expose the bridge tools to your agent. A MCPClient/requirements.txt file is provided for convenience (pip install -r MCPClient/requirements.txt). Note: this is your system Python — the script runs as a subprocess of your agent, not inside the editor’s bundled Python.

  • An AI Agent. Below, we assume Claude will be used. But any AI Agent that implements MCP should suffice.

  • Unreal Engine 5 with the Python Editor Script Plugin enabled.

  • Visual Studio 2019 or higher (only needed if building the plugin from source — not required for the Fab install).

  • Note the Unreal Engine Python API.

Installing from Fab

The easiest way to install the MCP Python Bridge plugin is from the Fab store listing. Once you purchase the plugin, it will appear in your Library in the Epic Games Launcher. Click “Install to Engine” and choose the appropriate version of Unreal Engine.

Installing from GitHub

  1. Create a new Unreal Engine C++ project.
  2. Under the project root directory, find the Plugins folder.
  3. Clone this repo into the Plugins folder so that there is a new containing folder with all the project contents underneath.
  4. Right-click your UE project file (ends with .uproject) and select “Generate Visual Studio project files”. If you don’t immediately see that option, first select “Show more options” and it should appear.
  5. Open your new Visual Studio project and build.
  6. Copy unreal_mcp_client.py from the ‘MCPClient’ folder to a location of your choice.
  7. Find your claude_desktop_config.json configuration file. Mac location: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows location: [path_to_your_user_account]\AppData\Roaming\Claude\claude_desktop_config.json
  8. Add the unreal-engine server section to your config file and update the path location excluding the square brackets, below. Mac path format: /[path_from_step_4]/unreal_mcp_client.py Windows path format: C:\\[path_from_step_4]\\unreal_mcp_client.py
{
Открыть полный README на GitHub

Установка

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

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "unreal-engine": { "command": "python", "args": [ "[mac_or_windows_format_path_to_unreal_mcp_client.py]" ] } } }