Set up Unreal MCP Pro with Claude Code or Cursor
Unreal MCP Pro has two parts: UnrealMCPPro, a C++ editor plugin that runs inside the Unreal Editor, and a Node.js MCP server that your AI client starts. The server opens a WebSocket on 127.0.0.1, the plugin connects to it, and the AI's tool calls become editor operations. This guide installs both and connects Claude Code, Cursor or Claude Desktop. Plan about 20 minutes, most of it for the first plugin build.
Requirements
- Unreal Engine 5.7 or later. The plugin is compiled against 5.7; a later engine version needs a rebuild.
- Visual Studio 2022 with the Game development with C++ workload, to compile the plugin (also for Blueprint-only projects).
- Node.js 18 or later (
node --versionto check). - An MCP client: Claude Code, Cursor, Claude Desktop, Windsurf, Cline, or another client that can start a local stdio server.
- Developed and built on Windows (Win64). macOS and Linux are untested.
What is in the download
Unzip the itch.io download to a permanent place, for example C:\tools\unreal-mcp-pro. The AI client runs the server from there, so do not leave it in Downloads.
unreal-mcp-pro-v1.0.3/
plugin/UnrealMCPPro/ editor plugin: UnrealMCPPro.uplugin + Source/
server/ MCP server: src/ + package.json + package-lock.json
1. Add the plugin to your project
Copy plugin/UnrealMCPPro into your project's Plugins folder (create it if it does not exist):
YourProject/
YourProject.uproject
Plugins/
UnrealMCPPro/
UnrealMCPPro.uplugin
Source/
The plugin is an editor-only module. It also enables the Niagara, LevelSequenceEditor, PCG and EnhancedInput plugins it depends on.
2. Build the plugin
C++ project
Right-click the .uproject file, choose Generate Visual Studio project files, open the solution and build the Development Editor configuration. Or from a terminal:
"C:\Program Files\Epic Games\UE_5.7\Engine\Build\BatchFiles\Build.bat" YourProjectEditor Win64 Development -Project="D:\path\YourProject.uproject" -WaitMutex
Blueprint-only project
Open the project. Unreal reports that the UnrealMCPPro module is missing and offers to rebuild it; accept. This uses the same Visual Studio toolchain, so it fails without the C++ workload installed.
After the editor opens, Edit > Plugins lists Unreal MCP Pro under the Editor category. It is enabled by default.
3. Build the MCP server
cd C:\tools\unreal-mcp-pro\server
npm install
npm run build
This compiles the TypeScript sources into server/build/. The entry point is server/build/index.js. You do not start the server yourself; the AI client starts it.
4a. Connect Claude Code
claude mcp add unreal -- node C:/tools/unreal-mcp-pro/server/build/index.js
Use forward slashes or escaped backslashes in the path. Add -s user after add to make the server available in every project instead of only the current folder. claude mcp list shows whether it starts.
4b. Connect Cursor, Claude Desktop and others
Cursor reads .cursor/mcp.json in the project or ~/.cursor/mcp.json for all projects. Claude Desktop reads claude_desktop_config.json (Settings > Developer > Edit Config). Both use the same shape:
{
"mcpServers": {
"unreal": {
"command": "node",
"args": ["C:/tools/unreal-mcp-pro/server/build/index.js"]
}
}
}
Restart the client after editing the file. Windsurf, Cline and other stdio clients take the same command and arguments in their own config format. If a client warns about the number of tools, add "--lite" to args; see Lite mode and tool limits.
5. Check the connection
- Open your project in the Unreal Editor (before or after the AI client; the order does not matter).
- Within a few seconds the Output Log shows
[MCP] Connected to MCP server on port 6705(filter the log by[MCP]). The plugin retries every 3 seconds, so a server that starts later is picked up automatically. - Ask your AI: "Call get_project_info and get_level_info and summarise the result." You should get the project name, engine version and current level.
Up to five servers can be connected at once: each takes the first free port from 6705 to 6709, and the plugin connects to all of them. That lets Claude Code and Cursor share one editor.
6. Optional plugins
- Python Editor Script Plugin: needed by
execute_pythonandrun_python_script. Python is also the route for things the dedicated tools do not cover yet. - Gameplay Abilities: needed by
create_gameplay_abilityandcreate_gameplay_effect.
The AI can turn them on with enable_plugin; plugin changes take effect after an editor restart.
Updating
Unzip the new version over the old folder (or next to it and update the path in your client), copy the new plugin/UnrealMCPPro into Plugins/ with the editor closed, rebuild the plugin, then run npm install and npm run build in server/ again. Restart the AI client so it starts the new server.
Troubleshooting
- "Unreal Editor is not connected. Make sure the UnrealMCPPro plugin is enabled and the editor is running." The server is up but no editor has connected. Open the project, check Edit > Plugins, and look for
[MCP]lines in the Output Log. If there are none, the plugin did not load (see the next item). - Missing module / build errors when opening the project. Install the Visual Studio C++ workload, make sure the engine is 5.7 or later, and build again. Delete
Plugins/UnrealMCPPro/BinariesandIntermediateif they came from another engine version. - The client shows no tools. The path to
build/index.jsis wrong ornpm run buildwas not run. Runnode C:/tools/unreal-mcp-pro/server/build/index.jsin a terminal: it should printUnreal MCP Pro startedto stderr and wait. - "... cannot be used during Play In Editor. Use stop_pie first." Editing tools refuse to run while PIE is active. Ask the AI to call
stop_pie. - All ports 6705-6709 in use. Five servers are already running (often stale ones from closed clients). Close them, or end the extra
nodeprocesses. - A tool answers with instructions instead of acting. That tool is not implemented in 1.0.3 (the full list on the home page marks them). Follow the steps it returns, or let the AI do them with
execute_python. - Timeouts. Commands time out after 30 seconds; lighting builds, cooking, imports, PCG generation, navigation builds and automation tests get 2 minutes.
Get Unreal MCP Pro
$5 once on itch.io, free updates.