ue-mcp 1.4.12-beta.3 → 1.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -172
- package/dist/tool-counts.json +2 -2
- package/package.json +1 -1
- package/plugin/ue_mcp_bridge/UE_MCP_Bridge.uplugin +1 -1
package/README.md
CHANGED
|
@@ -1,223 +1,98 @@
|
|
|
1
1
|
# UE-MCP
|
|
2
|
+
|
|
2
3
|
[](https://www.npmjs.com/package/ue-mcp)
|
|
3
4
|
[](https://www.npmjs.com/package/ue-mcp)
|
|
4
5
|
[](https://github.com/db-lyon/ue-mcp/actions/workflows/ci.yml)
|
|
5
|
-
[](https://github.com/db-lyon/ue-mcp/stargazers)
|
|
6
6
|
[](LICENSE)
|
|
7
|
+
[](https://discord.gg/YdgPrQkUEX)
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
**Let an AI agent work inside your Unreal Editor.** Ask in plain English, and it builds levels, Blueprints, materials, VFX, landscapes and more in your open project.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
<img width="1354" height="586" alt="ue-mcp: Epic's 830 native actions plus 1,333 of its own, and dialog handling, retries and rollback, guardrails, spatial control, workflow automation, plugins, multi-editor control and auto-reported tool gaps" src="docs/assets/ue-mcp-overview.png" />
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
UE-MCP is a free, open-source [Model Context Protocol](https://modelcontextprotocol.io) server for Unreal Engine 5. It connects AI assistants like Claude, Cursor and Codex to the editor through <!-- count:actions -->2163+<!-- /count --> actions, including Epic's native Unreal 5.8 tools.
|
|
14
14
|
|
|
15
|
-
```mermaid
|
|
16
|
-
flowchart LR
|
|
17
|
-
AI[AI Assistant] -->|stdio| MCP[MCP Server<br/>TypeScript / Node.js]
|
|
18
|
-
MCP -->|WebSocket<br/>JSON-RPC| Plugin[C++ Bridge Plugin<br/>inside Unreal Editor]
|
|
19
|
-
Plugin -->|UE API| Editor[Editor Subsystems]
|
|
20
|
-
MCP -->|direct fs| FS[Config INI<br/>C++ Headers<br/>Asset Listing]
|
|
21
15
|
```
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Filesystem reads (INI config, C++ headers, asset listing) work with the editor closed, so an agent can explore the project before anything is running.
|
|
26
|
-
|
|
27
|
-
## Quick Start
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
npx ue-mcp init
|
|
16
|
+
"Place a point light 300 units above the player start, warm white, intensity 5000."
|
|
17
|
+
"Create a pulsing emissive material and apply it to every cube in the level."
|
|
18
|
+
"Build the project in Development and tell me about any compile errors."
|
|
31
19
|
```
|
|
32
20
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
1. Find your `.uproject` (auto-detects in current directory)
|
|
36
|
-
2. Let you choose which tool categories to enable
|
|
37
|
-
3. Deploy the C++ bridge plugin to your project
|
|
38
|
-
4. Enable required UE plugins (Niagara, PCG, GAS, etc.)
|
|
39
|
-
5. Detect and configure your MCP client (Claude Code, Claude Desktop, Cursor, Codex)
|
|
21
|
+
## Two ways to use it
|
|
40
22
|
|
|
41
|
-
|
|
23
|
+
### 1. UE-MCP Studio: a chat agent in the editor
|
|
42
24
|
|
|
43
|
-
|
|
25
|
+
https://github.com/user-attachments/assets/24d4fc16-e6b4-4dc7-98ea-eaf4798923b1
|
|
44
26
|
|
|
45
|
-
|
|
46
|
-
"Check the UE-MCP connection and tell me what's in the current level."
|
|
47
|
-
"Place a point light 300 units above the player start, intensity 5000, warm white."
|
|
48
|
-
"Create an emissive material that pulses, and apply it to every cube in the level."
|
|
49
|
-
"Build the project in Development and report any compile errors."
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### If it doesn't connect
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
npx ue-mcp doctor
|
|
56
|
-
```
|
|
27
|
+
[<img width="1600" height="900" alt="UE-MCP Studio docked in the Unreal Editor beside the level, answering a question about the project's materials" src="docs/assets/studio-docked.webp" />](https://ue-mcp.com/#studio)
|
|
57
28
|
|
|
58
|
-
|
|
29
|
+
[**Studio**](https://ue-mcp.com/docs/studio) is a free desktop client with the agent built in. Dock it in the editor or run it in its own window. Sign in with your Claude or ChatGPT account, or use an API key. Every turn is checkpointed so you can review and revert changes, and shell commands and file edits wait for your approval.
|
|
59
30
|
|
|
60
|
-
|
|
31
|
+
Download the editor plugin from [its latest release](https://github.com/db-lyon/ue-mcp-studio-plugin/releases/latest), unzip it into your project's `Plugins` folder, and open Studio from the toolbar. Studio sets up everything else. Windows, UE 5.7 and 5.8.
|
|
61
32
|
|
|
62
|
-
###
|
|
33
|
+
### 2. Bring your own AI client
|
|
63
34
|
|
|
64
|
-
|
|
35
|
+
Already using Claude Code, Claude Desktop, Cursor or Codex? From your project folder:
|
|
65
36
|
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
"mcpServers": {
|
|
69
|
-
"ue-mcp": {
|
|
70
|
-
"command": "npx",
|
|
71
|
-
"args": ["-y", "--min-release-age=0", "ue-mcp@latest", "C:/path/to/MyGame.uproject"]
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
37
|
+
```bash
|
|
38
|
+
npx ue-mcp init
|
|
75
39
|
```
|
|
76
40
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
UE-MCP ships a built-in 19-step demo that builds a complete procedural scene - landscape, PCG scatter, Niagara VFX, materials, lighting, and a playable blueprint - entirely through the bridge:
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
demo(action="step", stepIndex=1) ... through 19
|
|
83
|
-
demo(action="cleanup") restores the level
|
|
84
|
-
```
|
|
41
|
+
The wizard installs the bridge plugin into your project and configures your AI client. Open the editor (the bridge compiles on first launch), then ask your AI to run `project(action="get_status")` to confirm it is connected.
|
|
85
42
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
## What Can It Do?
|
|
89
|
-
|
|
90
|
-
| Category | Examples |
|
|
91
|
-
|----------|----------|
|
|
92
|
-
| **Levels** | Place/move/delete actors, spawn lights and volumes, manage splines, actor bounds, water bodies |
|
|
93
|
-
| **Blueprints** | Read/write graphs, add nodes, connect pins, compile, CDO and component property access |
|
|
94
|
-
| **Materials** | Create materials and instances, author expression graphs, set parameters |
|
|
95
|
-
| **Assets** | CRUD, import meshes/textures/animations, datatables, mesh bounds/collision/nav |
|
|
96
|
-
| **Animation** | Anim blueprints, montages, retargeting, native Control Rig editing, deterministic pose analysis |
|
|
97
|
-
| **VFX** | Niagara systems, emitters, modules, renderers, parameters |
|
|
98
|
-
| **Landscape** | Sculpt terrain, paint weight layers, materials, splines, proxies |
|
|
99
|
-
| **Foliage** | Painting, foliage types, instance queries |
|
|
100
|
-
| **PCG** | Author and execute Procedural Content Generation graphs |
|
|
101
|
-
| **Audio** | SoundCues, MetaSounds, attenuation, ambient audio, submixes |
|
|
102
|
-
| **UI** | UMG widgets, editor utility widgets and blueprints, runtime delegate inspection |
|
|
103
|
-
| **Gameplay** | Physics, collision, navigation, navmesh inspection, behavior trees, EQS, perception, input |
|
|
104
|
-
| **StateTree** | States, tasks, conditions, transitions, bindings, evaluators, parameters |
|
|
105
|
-
| **Chooser** | Chooser tables, columns, rows, result assets |
|
|
106
|
-
| **GAS** | Gameplay Ability System - attributes, abilities, effects, cues, actor stand-up |
|
|
107
|
-
| **Networking** | Replication, dormancy, relevancy, net priority |
|
|
108
|
-
| **Editor** | Console, Python, PIE, viewport, sequencer, build pipeline, logs, editor lifecycle |
|
|
109
|
-
| **Reflection** | Class/struct/enum introspection, gameplay tags, SaveGame inspection |
|
|
110
|
-
| **Project** | Status, INI config, C++ source/header parsing, build |
|
|
111
|
-
| **Fab** | Import assets from your owned Fab library |
|
|
112
|
-
| **Plugins** | Install, configure, and provision UE-MCP extension plugins |
|
|
113
|
-
| **Epic** | Toolset Registry discovery, direct tool calls, agent skills (UE 5.8+) |
|
|
114
|
-
| **Dataflow** | Dataflow graph nodes, pins, variables, templates (UE 5.8+) |
|
|
115
|
-
| **Conversation** | Dialogue graph nodes, speakers, entry points (UE 5.8+) |
|
|
116
|
-
| **Demo** | Built-in 19-step Neon Shrine procedural scene |
|
|
117
|
-
| **Feedback** | Submit tool-gap reports as GitHub issues |
|
|
118
|
-
|
|
119
|
-
Full parameter-level reference: [Tool Reference](https://ue-mcp.com/docs/tool-reference/).
|
|
120
|
-
|
|
121
|
-
## Flows
|
|
122
|
-
|
|
123
|
-
Any sequence of actions can be captured as a YAML flow in `ue-mcp.yml` next to your `.uproject`, then run as one call. Config is hot-reloaded, so you edit and re-run without restarting anything.
|
|
124
|
-
|
|
125
|
-
```yaml
|
|
126
|
-
ue-mcp:
|
|
127
|
-
version: 1
|
|
128
|
-
|
|
129
|
-
flows:
|
|
130
|
-
build_and_check:
|
|
131
|
-
description: Build the project and verify the editor is connected
|
|
132
|
-
steps:
|
|
133
|
-
1:
|
|
134
|
-
task: project.build
|
|
135
|
-
options:
|
|
136
|
-
configuration: Development
|
|
137
|
-
2:
|
|
138
|
-
task: project.get_status
|
|
139
|
-
```
|
|
43
|
+
Full walkthrough: [Getting Started](https://ue-mcp.com/docs/getting-started).
|
|
140
44
|
|
|
141
|
-
|
|
142
|
-
flow(action="run", flowName="build_and_check")
|
|
143
|
-
```
|
|
45
|
+
## What can it do?
|
|
144
46
|
|
|
145
|
-
|
|
47
|
+
Almost anything you do by hand in the editor: levels and actors, Blueprints, materials, assets and imports, animation and Control Rig, Niagara, landscape, foliage, PCG, audio, UMG, gameplay systems, GAS, StateTree, networking, Sequencer, builds and PIE.
|
|
146
48
|
|
|
147
|
-
|
|
49
|
+
Beyond single actions, it can chain steps into reusable [flows](https://ue-mcp.com/docs/flows) with rollback, handle editor dialogs, drive several editors at once, and be extended with [ue-mcp plugins](https://plugins.ue-mcp.com).
|
|
148
50
|
|
|
149
|
-
|
|
51
|
+
To see it build a full scene from nothing, run the built-in [Neon Shrine demo](https://ue-mcp.com/docs/neon-shrine-demo).
|
|
150
52
|
|
|
151
|
-
|
|
152
|
-
npm install ue-mcp-<plugin>
|
|
153
|
-
```
|
|
53
|
+
## FAQ
|
|
154
54
|
|
|
155
|
-
|
|
55
|
+
**What is "MCP"?**
|
|
156
56
|
|
|
157
|
-
|
|
57
|
+
Model Context Protocol is an open standard that lets AI assistants call external tools. UE-MCP is the tool server that gives them the Unreal Editor.
|
|
158
58
|
|
|
159
|
-
|
|
59
|
+
**Does it cost anything?**
|
|
160
60
|
|
|
161
|
-
|
|
162
|
-
|-------|--------|
|
|
163
|
-
| `ue-mcp-workflow` | Required order of operations, editor lifecycle, project scoping |
|
|
164
|
-
| [`ue-mcp-animation`](skills/ue-mcp-animation/SKILL.md) | UE 5.8 IK/retarget authoring, per-rig Control Rig solving, generic contact locks, bake and deterministic V&V |
|
|
165
|
-
| `ue-mcp-blueprint` | Graph authoring, node discovery, pin wiring, compile loops |
|
|
166
|
-
| `ue-mcp-niagara` | Emitter/module stack authoring and renderer setup |
|
|
167
|
-
| `ue-mcp-native-cpp` | Writing and building native C++ against the bridge |
|
|
168
|
-
| `ue-mcp-epic-routing` | When to route to the `epic` toolsets vs native handlers |
|
|
61
|
+
No. UE-MCP and Studio are MIT-licensed and free for personal and commercial use. You pay only for your AI model, through your existing plan or API key.
|
|
169
62
|
|
|
170
|
-
|
|
63
|
+
**Which Unreal versions and platforms?**
|
|
171
64
|
|
|
172
|
-
|
|
65
|
+
UE 5.4 to 5.8 on Windows, 5.6+ on macOS and Linux. Studio is Windows-only for now, on UE 5.7 and 5.8. You also need Node.js 20+ and a C++ toolchain, since the bridge plugin compiles in your project.
|
|
173
66
|
|
|
174
|
-
|
|
175
|
-
- **Source control guard** - writes to checked-in assets can be gated on source control state instead of silently overwriting.
|
|
176
|
-
- **Flow rollback** - handlers report `created`/`existed`/`updated` and flows can snapshot git state before a run, so a failed multi-step flow doesn't leave debris.
|
|
177
|
-
- **Idempotency by convention** - re-running an action that already applied is a no-op rather than a duplicate.
|
|
178
|
-
- **Atomic batches** - `editor(batch)` sends several actions to the editor as one game-thread job, so a second agent on the same editor cannot slip a call between the steps of a multi-step edit. One Undo entry, no rollback: the result says exactly which steps ran.
|
|
67
|
+
**Is it safe to let an AI edit my project?**
|
|
179
68
|
|
|
180
|
-
|
|
69
|
+
Write guards can block or require confirmation for changes, source-controlled assets can be protected, and flows roll back on failure. Studio adds per-turn checkpoints and approval prompts. Use source control regardless.
|
|
181
70
|
|
|
182
|
-
|
|
71
|
+
**Does it work without the editor open?**
|
|
183
72
|
|
|
184
|
-
|
|
185
|
-
|---|---|
|
|
186
|
-
| **Unreal Engine** | 5.4-5.8 (Windows), 5.6+ (Linux and macOS). `epic` category needs 5.8+. |
|
|
187
|
-
| **Node.js** | 18 or newer |
|
|
188
|
-
| **UE plugins** | `PythonScriptPlugin` (ships with the engine); `init` enables the rest for you |
|
|
189
|
-
| **C++ toolchain** | Required - the bridge is a C++ plugin and compiles on first editor launch. On Windows that means Visual Studio with the C++ workload; on macOS, Xcode command line tools. |
|
|
73
|
+
Partly. Config, C++ headers and asset listings can be read with the editor closed. Anything that changes the project needs the editor running.
|
|
190
74
|
|
|
191
|
-
|
|
75
|
+
**How is this different from Epic's built-in AI tools?**
|
|
192
76
|
|
|
193
|
-
|
|
77
|
+
UE-MCP wraps Epic's native UE 5.8 tools and adds over a thousand of its own, plus flows, guards and plugins. See the [comparison](https://ue-mcp.com/compare) against Epic and other Unreal MCP servers.
|
|
194
78
|
|
|
195
|
-
**
|
|
79
|
+
**It won't connect / something isn't working.**
|
|
196
80
|
|
|
197
|
-
- [
|
|
198
|
-
- [Tool Reference](https://ue-mcp.com/docs/tool-reference/) - Every tool, action, and parameter
|
|
199
|
-
- [Architecture](https://ue-mcp.com/docs/architecture/) - How the server, bridge, and editor fit together
|
|
200
|
-
- [Flows](https://ue-mcp.com/docs/flows/) - Multi-step YAML workflows, custom tasks, rollback
|
|
201
|
-
- [Plugins](https://ue-mcp.com/docs/plugins/) - Extending the surface through npm
|
|
202
|
-
- [Configuration](https://ue-mcp.com/docs/configuration/) - `ue-mcp.yml` and MCP client config
|
|
203
|
-
- [Troubleshooting](https://ue-mcp.com/docs/troubleshooting/) - Connection, build, and asset path issues
|
|
204
|
-
- [Development](https://ue-mcp.com/docs/development/) - Building from source, testing, contributing
|
|
81
|
+
Run `npx ue-mcp doctor`, check out the [Troubleshooting Guide](https://ue-mcp.com/docs/troubleshooting), or come give me a shout in the [official ue-mcp discord](https://discord.gg/YdgPrQkUEX)!!!
|
|
205
82
|
|
|
206
|
-
##
|
|
83
|
+
## Learn more
|
|
207
84
|
|
|
208
|
-
|
|
209
|
-
[
|
|
85
|
+
- [Documentation](https://ue-mcp.com/docs) and [Tool Reference](https://ue-mcp.com/docs/tool-reference)
|
|
86
|
+
- [Studio source](https://github.com/db-lyon/ue-mcp-studio)
|
|
87
|
+
- [Discord](https://discord.gg/YdgPrQkUEX)
|
|
88
|
+
- Custom tooling, air-gapped installs or managed relay: hello@ue-mcp.com
|
|
210
89
|
|
|
211
90
|
## Contributing
|
|
212
91
|
|
|
213
|
-
Issues and pull requests welcome. Start with [Development](https://ue-mcp.com/docs/development
|
|
214
|
-
|
|
215
|
-
Install [git-lfs](https://git-lfs.com) before cloning - the bundled test project stores `.uasset` / `.umap` via LFS, and a plain `git clone` leaves them as pointer files.
|
|
92
|
+
Issues and pull requests are welcome. Start with [Development](https://ue-mcp.com/docs/development). Install [git-lfs](https://git-lfs.com) before cloning, because the test project stores assets through LFS.
|
|
216
93
|
|
|
217
|
-
If
|
|
94
|
+
If UE-MCP helps your work, [sponsorship](https://github.com/sponsors/db-lyon) is appreciated.
|
|
218
95
|
|
|
219
96
|
## License
|
|
220
97
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
Contributions are accepted under the same MIT License (inbound contributions are licensed under the project's outbound license).
|
|
98
|
+
[MIT](LICENSE). Contributions are accepted under the same license.
|
package/dist/tool-counts.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"FileVersion": 3,
|
|
3
3
|
"Version": 1,
|
|
4
|
-
"VersionName": "1.4.12
|
|
4
|
+
"VersionName": "1.4.12",
|
|
5
5
|
"FriendlyName": "UE MCP Bridge",
|
|
6
6
|
"Description": "C++ WebSocket bridge for UE-MCP, providing 2087+ editor actions over the MCP protocol",
|
|
7
7
|
"Category": "Developer Tools",
|