Unreal Engine MCP Python Bridge logo

Unreal Engine MCP Python Bridge

by appleweed

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

View on GitHub

Last updated: N/A

What is Unreal Engine MCP Python Bridge?

The Unreal Engine MCP Python Bridge is a plugin that enables communication between Unreal Engine and AI agents like Claude using the Model Context Protocol. It exposes the Unreal Engine Python API to the AI agent, allowing it to interact with and control the engine.

How to use Unreal Engine MCP Python Bridge?

  1. Install the plugin from Fab or GitHub. 2. Configure the MCP server in Claude's configuration file. 3. Enable the plugin in Unreal Engine and start the MCP Bridge. 4. Launch Claude and attach from MCP. 5. Use the provided prompts or develop new tools and prompts using Python decorators.

Key features of Unreal Engine MCP Python Bridge

  • Access to the full UE Python API from AI agents

  • Integration with Anthropic's Claude and other MCP clients

  • Ability to develop tools and workflows in Python

  • Dynamic automation of workflows

  • Collaborative development with an AI agent

Use cases of Unreal Engine MCP Python Bridge

  • Developing tools and workflows in Python with an agent like Claude

  • Intelligent and dynamic automation of such workflows

  • General collaborative development with an agent

  • Automating tasks within the Unreal Engine editor

FAQ from Unreal Engine MCP Python Bridge

What is MCP?

MCP stands for Model Context Protocol, a standard for communication between applications and AI models.

Which AI agents are supported?

The plugin is primarily designed for use with Anthropic's Claude, but any AI agent that implements MCP should suffice.

Where can I find the Unreal Engine Python API documentation?

The Unreal Engine Python API documentation can be found at dev.epicgames.com/documentation/en-us/unreal-engine/python-api.

How do I create new tools?

New tools can be created by defining Python functions with the @mcp.tool() decorator in unreal_mcp_client.py and implementing the server-side logic in the plugin's Content folder.

How do I create new prompts?

New prompts can be created by defining Python functions with the @mcp.prompt() decorator in unreal_mcp_client.py and providing a descriptive string that the AI agent will use.