UnrealMCP
Provides control of an open Unreal Editor instance, enabling AI agents to inspect and manipulate Unreal Engine projects via Python scripting, console commands, and reflection-based APIs, with support for asset and blueprint workflows.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UnrealMCPRun a health check on the connected Unreal Editor."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UnrealMCP — Native MCP for Unreal Engine 5.7
![]()
UnrealMCP is a Win64 editor plugin that embeds a Streamable HTTP MCP server in Unreal Engine 5.7. Codex and other local MCP clients can inspect and control the open editor through one tool: unreal.
Default endpoint:
http://127.0.0.1:18777/mcpRuns UObject, Unreal Python, console, and Blueprint graph operations on the Game Thread
Requires no gateway, Node.js, npm, or separate runtime service
Requires Unreal Editor to remain open with the target project loaded
Install
Download
UnrealMCP-...-UE5.7-Win64-GitHub.zipfrom GitHub Releases. Do not use GitHub's automatic Source code archives.Close Unreal Editor. Extract the ZIP beside the project's
.uprojectfile so the plugin is installed atPlugins/ModelContextProtocol.When upgrading, replace that directory completely. For versions 0.3.x and earlier, also remove the legacy
Plugins/UnrealMCPdirectory.In Edit → Plugins, enable MCP for Unreal Editor and Python Editor Script Plugin, then restart Unreal Editor.
Add the server to Codex:
codex mcp add unreal --url http://127.0.0.1:18777/mcpOr add it to the trusted project's
.codex/config.toml:[mcp_servers.unreal] url = "http://127.0.0.1:18777/mcp" tool_timeout_sec = 3600Restart or reconnect Codex, then call:
{ "action": "health" }
A ready server reports ok: true, is_game_thread: true, and python_loaded: true.
If you enable the plugin directly in
.uproject, include"SupportedTargetPlatforms": ["Win64"]in its plugin entry.
Related MCP server: unreal-engine-mcp
Configuration
The server listens on 127.0.0.1:18777 by default. To run multiple Unreal projects at once, assign each project a different port under Edit → Project Settings → Plugins → MCP for Unreal Editor, restart Unreal Editor, and update the matching MCP URL.
UE_MCP_PORT can temporarily override the project setting when set before Unreal Editor starts.
Use
The server exposes one MCP tool named unreal with four actions:
Action | Purpose |
| Check server, engine, Python, thread, and endpoint status. |
| Find supported workflows, UE APIs, and plugin mount status. |
| Run ordered Python, console, Blueprint graph, or wait commands. |
| Get, list, or cancel asynchronous work. |
Discover a workflow before choosing UE APIs:
{
"action": "discover",
"query": "create and compile a blueprint",
"limit": 5
}Run an ordered batch:
{
"action": "execute",
"run": "sync",
"transaction": true,
"commands": [
{
"kind": "python",
"mode": "eval",
"code": "unreal.SystemLibrary.get_engine_version()"
},
{
"kind": "console",
"command": "stat fps"
}
]
}For long-running batches, use "run": "async" and query the returned task_id:
{ "action": "task", "command": "get", "task_id": "<uuid>" }Use Python and BlueprintEditorLibrary for Blueprint assets, variables, components, and class defaults. Use kind: "blueprint_graph" for visible K2 nodes and connections; start with operation: "inspect" to obtain stable node and pin references. Timeline/track authoring is not currently supported.
Wait commands require async mode and never block the Game Thread. Transactions create Undo entries but are not atomic; failures, timeouts, and cancellation do not automatically roll back earlier changes.
Extend project capabilities
Package project-specific operations as Python functions under Content/Python. When native code is required, expose the C++ API to Unreal Python with UFUNCTION. Tell the agent which module, function, and arguments to call; it will run them through the unreal tool's Python command, for example: import project_tools; project_tools.build_level().
This extends MCP capabilities without modifying the plugin or adding tools. Prefer narrowly scoped project APIs with stable parameters and safe repeat behavior.
For direct diagnostics from Git Bash:
scripts/unreal-mcp.sh '{"action":"health"}'
scripts/unreal-mcp.sh --listBuild from source
From Git Bash on Windows:
scripts/build-plugin.sh --engine-root 'C:/Program Files/Epic Games/UE_5.7'The packaged plugin is written under artifacts/. Use --output PATH to choose a new output directory.
More detail
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for controlling Unreal Engine 5 from AI agents, providing 120+ commands for spawning actors, editing Blueprints, managing assets, and more via CLI or MCP.203MIT
- AlicenseBqualityCmaintenanceAn MCP server that gives AI agents broad control over Unreal Engine 5.7, enabling actor/asset/level management, Blueprint and material creation, screenshots, automation, and arbitrary editor Python execution.35MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to control Unreal Engine 5 editor for automated Blueprint authoring, level inspection, actor spawning, and other editor workflows via a local Python MCP server and UE plugin.3AGPL 3.0
- AlicenseNot gradedqualityAmaintenanceOpen-source MCP server connecting AI agents (Claude, Cursor, GitHub Copilot, Gemini, and more) to Unreal Engine 5.7, editor and runtime (C++ plugin + .NET sidecar).27Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AvatarGanymede/ue5.7-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server