UnrealAgentPlayer logo

UnrealAgentPlayer

Drives Windows Unreal Editor sessions through MCP for automated gameplay testing, input injection, state checks, logs, screenshots, and performance c…

Install UnrealAgentPlayer

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for UnrealAgentPlayer, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

UnrealAgentPlayer connects AI coding agents to a running Windows Unreal Editor through a UE plugin and an external Python MCP server. Agents can start and control PIE or standalone games, inject keyboard, mouse, gamepad, and VR input, then inspect logs, actor state, UI text, screenshots, and performance data. The server communicates with the editor over Remote Control HTTP and Python Remote Execution, while exposing roughly 30 tools. Use it when code changes need automated in-editor verification instead of relying on a human to launch and exercise the game.

Use cases

  • Test gameplay changes through automated PIE sessions
  • Reproduce bugs with scripted input sequences
  • Assert actor state and logs after code changes
  • Compare performance against saved baselines
  • Exercise VR controls without a headset

Key features

  • PIE and standalone game control
  • In-process keyboard, mouse, gamepad, and VR input
  • Actor, log, UI, screenshot, and performance inspection
  • Blueprint and C++ test-helper discovery
  • HTML run reports with assertions and diagnostics
  • Multiple editor and game-instance targeting

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

6/6 checks healthy over the last 23d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.

How UnrealAgentPlayer works

What UnrealAgentPlayer does

UnrealAgentPlayer gives an MCP client a structured way to operate Unreal Editor gameplay sessions and inspect their results. It is intended for closed-loop development workflows: an agent edits code or Blueprints, compiles the project, starts Play-In-Editor or a standalone game, supplies the input needed to exercise a change, and checks the resulting state.

The Unreal plugin contributes an editor subsystem, log capture, in-process input injection, a fake motion-controller feature, and discovery of project-specific Blueprint or C++ test helpers. The companion Python server exposes these functions as agent-facing MCP tools. Supported Unreal versions are UE 5.6, 5.7, 5.8, and the Meta 5.7 fork. The editor side runs on Windows only.

How it works

An MCP client starts the Python server over stdio. The server reaches the editor through two built-in Unreal mechanisms:

  • Remote Control HTTP calls the plugin subsystem's exposed functions using typed, structured requests.
  • Python Remote Execution sends Unreal Python scripts over UDP multicast for operations such as loading levels, reading state, or starting PIE.

Each editor receives its own Remote Control port, allowing multiple editor processes to be addressed independently. The uap status command reports the selected port. Input is routed through the game viewport client inside the editor rather than through OS-level keyboard focus, so background editors and separate PIE clients can be driven without raising a window. Multi-client PIE sessions can be selected with --client N.

Standalone game processes can also be launched, attached to, listed, stopped, and targeted by gameplay tools. The server can capture a run as an HTML report containing a verdict, assertions, screenshots, tool timing, and diagnostics.

Setup and configuration

Create the Python environment from the mcp-server directory with Python's virtual-environment tooling, then install the package in editable mode. The optional Windows extra supplies editor-menu UIAutomation support. Install the plugin in the Unreal project, commonly by junctioning the repository's Plugin/ directory into the project's Plugins folder.

Enable these Unreal components in the project:

  • Remote Control API
  • Python Editor Script Plugin
  • Unreal Agent Player

Also enable remote execution in Project Settings under Python. Unreal Engine 5.8 and later requires the Remote Control setting “Allow Any Remote Function Call”; this setting is not present in 5.6 or 5.7. Do not manually choose the Remote Control port; inspect the assigned value with uap status.

Tools and capabilities

Tool families cover editor and game control, observation, input, and reporting:

  • Start, stop, pause, resume, and inspect PIE sessions.
  • Launch and manage standalone game instances.
  • Inject keyboard, mouse, axis, gamepad, Quest Touch button, and controller-pose input.
  • Read captured logs with cursor, category, and verbosity filtering.
  • Query actor properties, change actor properties, and find actors in the world.
  • Execute console commands or arbitrary Unreal Python editor scripts.
  • Read viewport UMG text and focus information.
  • Capture viewport screenshots and collect real draw, GPU, and render-thread timings.
  • Start Unreal Insights traces and compare named performance baselines against tolerances.
  • Discover and call project-specific test helpers.
  • Drive native editor menus through Windows UIAutomation.
  • Build HTML reports with assertions, notes, captions, screenshots, and diagnostics.

These capabilities support gameplay regression checks, scripted bug reproduction, headset-free VR flows, performance guarding, and simultaneous work with multiple editors.

Limitations and notes

The editor integration is Windows-only. The plugin and MCP server are functional on real projects, but the API may change. VR testing uses injected Quest Touch input and controller poses rather than a physical headset. OS input and window focusing are intentionally not used by the input tools. Remote execution uses UDP multicast at 239.0.0.1:6766, while Remote Control uses a per-editor local HTTP port.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about UnrealAgentPlayer

UnrealAgentPlayer is an MCP server that connects AI coding agents to a running Windows Unreal Editor through a UE plugin and Python server. Its main tools control PIE and standalone games, inject keyboard, mouse, gamepad, and VR input, and inspect logs, actor state, UI, screenshots, and performance.

Install the Python package from the repository's `mcp-server` directory, then add the `Plugin` directory to an Unreal project and enable Remote Control API, Python Editor Script Plugin, and Unreal Agent Player. Enable Python remote execution before connecting an MCP client.

UnrealAgentPlayer supports UE 5.6, 5.7, 5.8, and the Meta 5.7 fork. On UE 5.8 and later, enable Remote Control's “Allow Any Remote Function Call” setting or remote calls will be blocked.

Yes. Cursor is named as a supported MCP client, alongside Claude Code and Claude Desktop. The server communicates with clients over stdio.

Yes. It can inject Quest Touch button events and controller poses into desktop PIE through its fake motion-controller support, allowing headset-free VR interaction tests.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewUnrealAgentPlayer AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/unrealagentplayer?style=directory)](https://allmcps.com/mcp/unrealagentplayer)
HTML Embed
<a href="https://allmcps.com/mcp/unrealagentplayer"><img src="https://allmcps.com/api/badge/unrealagentplayer?style=directory" alt="UnrealAgentPlayer on AllMCPs" /></a>