ue-mcp 0.6.4 → 0.7.1
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/dist/flow/loader.js +185 -1
- package/dist/flow/loader.js.map +1 -1
- package/dist/ue-mcp.default.yml +152 -1
- package/package.json +2 -2
package/dist/flow/loader.js
CHANGED
|
@@ -29,7 +29,191 @@ export function buildDefaults(tools) {
|
|
|
29
29
|
group: "util",
|
|
30
30
|
description: "Run a shell command. Params: command, cwd?, timeout?",
|
|
31
31
|
};
|
|
32
|
-
return { tasks, flows:
|
|
32
|
+
return { tasks, flows: defaultFlows() };
|
|
33
|
+
}
|
|
34
|
+
/** Built-in flows that ship with ue-mcp. */
|
|
35
|
+
function defaultFlows() {
|
|
36
|
+
return {
|
|
37
|
+
beacon: {
|
|
38
|
+
description: "Demo — create a dramatic light-sculpture scene with atmosphere, colored lights, and a material graph",
|
|
39
|
+
steps: {
|
|
40
|
+
// ── Scene foundation ──
|
|
41
|
+
"1": {
|
|
42
|
+
task: "level.create",
|
|
43
|
+
options: { levelPath: "/Game/Flows/Beacon" },
|
|
44
|
+
},
|
|
45
|
+
"2": {
|
|
46
|
+
task: "level.place_actor",
|
|
47
|
+
options: { actorClass: "SkyAtmosphere", label: "Sky" },
|
|
48
|
+
},
|
|
49
|
+
"3": {
|
|
50
|
+
task: "level.place_actor",
|
|
51
|
+
options: { actorClass: "ExponentialHeightFog", label: "Fog" },
|
|
52
|
+
},
|
|
53
|
+
"4": {
|
|
54
|
+
task: "level.place_actor",
|
|
55
|
+
options: { actorClass: "SkyLight", label: "Ambient" },
|
|
56
|
+
},
|
|
57
|
+
// ── Sunset sun ──
|
|
58
|
+
"5": {
|
|
59
|
+
task: "level.spawn_light",
|
|
60
|
+
options: { lightType: "directional", label: "Sun", intensity: 10 },
|
|
61
|
+
},
|
|
62
|
+
"6": {
|
|
63
|
+
task: "level.set_light_properties",
|
|
64
|
+
options: { actorLabel: "Sun", color: { r: 255, g: 160, b: 80 } },
|
|
65
|
+
},
|
|
66
|
+
"7": {
|
|
67
|
+
task: "level.move_actor",
|
|
68
|
+
options: { actorLabel: "Sun", rotation: { pitch: -25, yaw: -135 } },
|
|
69
|
+
},
|
|
70
|
+
// ── Light ring (3 colored point lights) ──
|
|
71
|
+
"8": {
|
|
72
|
+
task: "level.spawn_light",
|
|
73
|
+
options: {
|
|
74
|
+
lightType: "point",
|
|
75
|
+
label: "Beacon_Cyan",
|
|
76
|
+
location: { x: 200, y: 0, z: 300 },
|
|
77
|
+
intensity: 80000,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
"9": {
|
|
81
|
+
task: "level.set_light_properties",
|
|
82
|
+
options: {
|
|
83
|
+
actorLabel: "Beacon_Cyan",
|
|
84
|
+
color: { r: 0, g: 200, b: 255 },
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
"10": {
|
|
88
|
+
task: "level.spawn_light",
|
|
89
|
+
options: {
|
|
90
|
+
lightType: "point",
|
|
91
|
+
label: "Beacon_Magenta",
|
|
92
|
+
location: { x: -100, y: 175, z: 300 },
|
|
93
|
+
intensity: 80000,
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
"11": {
|
|
97
|
+
task: "level.set_light_properties",
|
|
98
|
+
options: {
|
|
99
|
+
actorLabel: "Beacon_Magenta",
|
|
100
|
+
color: { r: 255, g: 0, b: 200 },
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
"12": {
|
|
104
|
+
task: "level.spawn_light",
|
|
105
|
+
options: {
|
|
106
|
+
lightType: "point",
|
|
107
|
+
label: "Beacon_Gold",
|
|
108
|
+
location: { x: -100, y: -175, z: 300 },
|
|
109
|
+
intensity: 80000,
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
"13": {
|
|
113
|
+
task: "level.set_light_properties",
|
|
114
|
+
options: {
|
|
115
|
+
actorLabel: "Beacon_Gold",
|
|
116
|
+
color: { r: 255, g: 200, b: 0 },
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
// ── Center spotlight ──
|
|
120
|
+
"14": {
|
|
121
|
+
task: "level.spawn_light",
|
|
122
|
+
options: {
|
|
123
|
+
lightType: "spot",
|
|
124
|
+
label: "CenterSpot",
|
|
125
|
+
location: { x: 0, y: 0, z: 500 },
|
|
126
|
+
intensity: 300000,
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
"15": {
|
|
130
|
+
task: "level.move_actor",
|
|
131
|
+
options: {
|
|
132
|
+
actorLabel: "CenterSpot",
|
|
133
|
+
rotation: { pitch: -90, yaw: 0 },
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
// ── Emissive material (demonstrates graph authoring) ──
|
|
137
|
+
"16": {
|
|
138
|
+
task: "material.create",
|
|
139
|
+
options: { name: "M_Beacon_Glow", packagePath: "/Game/Flows/Beacon" },
|
|
140
|
+
},
|
|
141
|
+
"17": {
|
|
142
|
+
task: "material.add_expression",
|
|
143
|
+
options: {
|
|
144
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
145
|
+
expressionType: "VectorParameter",
|
|
146
|
+
name: "GlowColor",
|
|
147
|
+
parameterName: "GlowColor",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
"18": {
|
|
151
|
+
task: "material.add_expression",
|
|
152
|
+
options: {
|
|
153
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
154
|
+
expressionType: "Constant",
|
|
155
|
+
name: "GlowStrength",
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
"19": {
|
|
159
|
+
task: "material.set_expression_value",
|
|
160
|
+
options: {
|
|
161
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
162
|
+
expressionIndex: 1,
|
|
163
|
+
value: 25,
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
"20": {
|
|
167
|
+
task: "material.add_expression",
|
|
168
|
+
options: {
|
|
169
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
170
|
+
expressionType: "Multiply",
|
|
171
|
+
name: "Multiply",
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
"21": {
|
|
175
|
+
task: "material.connect_expressions",
|
|
176
|
+
options: {
|
|
177
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
178
|
+
sourceExpression: "GlowColor",
|
|
179
|
+
targetExpression: "Multiply",
|
|
180
|
+
targetInput: "A",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
"22": {
|
|
184
|
+
task: "material.connect_expressions",
|
|
185
|
+
options: {
|
|
186
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
187
|
+
sourceExpression: "GlowStrength",
|
|
188
|
+
targetExpression: "Multiply",
|
|
189
|
+
targetInput: "B",
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
"23": {
|
|
193
|
+
task: "material.connect_to_property",
|
|
194
|
+
options: {
|
|
195
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
196
|
+
expressionName: "Multiply",
|
|
197
|
+
property: "EmissiveColor",
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
"24": {
|
|
201
|
+
task: "material.recompile",
|
|
202
|
+
options: {
|
|
203
|
+
materialPath: "/Game/Flows/Beacon/M_Beacon_Glow",
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
// ── Camera ──
|
|
207
|
+
"25": {
|
|
208
|
+
task: "editor.set_viewport",
|
|
209
|
+
options: {
|
|
210
|
+
location: { x: -600, y: 0, z: 250 },
|
|
211
|
+
rotation: { pitch: -10, yaw: 0 },
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
};
|
|
33
217
|
}
|
|
34
218
|
/**
|
|
35
219
|
* Load ue-mcp.yml from the given directory, layered on top of built-in defaults.
|
package/dist/flow/loader.js.map
CHANGED
|
@@ -1 +1 @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AAG,EAAE,CAAC;IACvC,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;IAEhD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IAE5C,OAAO,UAAU,CAAC;QAChB,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,gBAAgB;QACxB,QAAQ,EAAE,aAAa,CAAC,KAAK,CAAC;QAC9B,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,GAAG;KACf,CAAC,CAAC;AACL,CAAC"}
|
package/dist/ue-mcp.default.yml
CHANGED
|
@@ -1846,4 +1846,155 @@ tasks:
|
|
|
1846
1846
|
group: feedback
|
|
1847
1847
|
description: "Submit feedback about a tool gap. Params: title, summary, pythonWorkaround?, idealTool?"
|
|
1848
1848
|
|
|
1849
|
-
flows:
|
|
1849
|
+
flows:
|
|
1850
|
+
|
|
1851
|
+
beacon:
|
|
1852
|
+
description: "Demo — create a dramatic light-sculpture scene with atmosphere, colored lights, and a material graph"
|
|
1853
|
+
steps:
|
|
1854
|
+
1:
|
|
1855
|
+
task: level.create
|
|
1856
|
+
options:
|
|
1857
|
+
levelPath: /Game/Flows/Beacon
|
|
1858
|
+
2:
|
|
1859
|
+
task: level.place_actor
|
|
1860
|
+
options:
|
|
1861
|
+
actorClass: SkyAtmosphere
|
|
1862
|
+
label: Sky
|
|
1863
|
+
3:
|
|
1864
|
+
task: level.place_actor
|
|
1865
|
+
options:
|
|
1866
|
+
actorClass: ExponentialHeightFog
|
|
1867
|
+
label: Fog
|
|
1868
|
+
4:
|
|
1869
|
+
task: level.place_actor
|
|
1870
|
+
options:
|
|
1871
|
+
actorClass: SkyLight
|
|
1872
|
+
label: Ambient
|
|
1873
|
+
# ── Sunset sun ──
|
|
1874
|
+
5:
|
|
1875
|
+
task: level.spawn_light
|
|
1876
|
+
options:
|
|
1877
|
+
lightType: directional
|
|
1878
|
+
label: Sun
|
|
1879
|
+
intensity: 10
|
|
1880
|
+
6:
|
|
1881
|
+
task: level.set_light_properties
|
|
1882
|
+
options:
|
|
1883
|
+
actorLabel: Sun
|
|
1884
|
+
color: { r: 255, g: 160, b: 80 }
|
|
1885
|
+
7:
|
|
1886
|
+
task: level.move_actor
|
|
1887
|
+
options:
|
|
1888
|
+
actorLabel: Sun
|
|
1889
|
+
rotation: { pitch: -25, yaw: -135 }
|
|
1890
|
+
# ── Light ring ──
|
|
1891
|
+
8:
|
|
1892
|
+
task: level.spawn_light
|
|
1893
|
+
options:
|
|
1894
|
+
lightType: point
|
|
1895
|
+
label: Beacon_Cyan
|
|
1896
|
+
location: { x: 200, y: 0, z: 300 }
|
|
1897
|
+
intensity: 80000
|
|
1898
|
+
9:
|
|
1899
|
+
task: level.set_light_properties
|
|
1900
|
+
options:
|
|
1901
|
+
actorLabel: Beacon_Cyan
|
|
1902
|
+
color: { r: 0, g: 200, b: 255 }
|
|
1903
|
+
10:
|
|
1904
|
+
task: level.spawn_light
|
|
1905
|
+
options:
|
|
1906
|
+
lightType: point
|
|
1907
|
+
label: Beacon_Magenta
|
|
1908
|
+
location: { x: -100, y: 175, z: 300 }
|
|
1909
|
+
intensity: 80000
|
|
1910
|
+
11:
|
|
1911
|
+
task: level.set_light_properties
|
|
1912
|
+
options:
|
|
1913
|
+
actorLabel: Beacon_Magenta
|
|
1914
|
+
color: { r: 255, g: 0, b: 200 }
|
|
1915
|
+
12:
|
|
1916
|
+
task: level.spawn_light
|
|
1917
|
+
options:
|
|
1918
|
+
lightType: point
|
|
1919
|
+
label: Beacon_Gold
|
|
1920
|
+
location: { x: -100, y: -175, z: 300 }
|
|
1921
|
+
intensity: 80000
|
|
1922
|
+
13:
|
|
1923
|
+
task: level.set_light_properties
|
|
1924
|
+
options:
|
|
1925
|
+
actorLabel: Beacon_Gold
|
|
1926
|
+
color: { r: 255, g: 200, b: 0 }
|
|
1927
|
+
# ── Center spotlight ──
|
|
1928
|
+
14:
|
|
1929
|
+
task: level.spawn_light
|
|
1930
|
+
options:
|
|
1931
|
+
lightType: spot
|
|
1932
|
+
label: CenterSpot
|
|
1933
|
+
location: { x: 0, y: 0, z: 500 }
|
|
1934
|
+
intensity: 300000
|
|
1935
|
+
15:
|
|
1936
|
+
task: level.move_actor
|
|
1937
|
+
options:
|
|
1938
|
+
actorLabel: CenterSpot
|
|
1939
|
+
rotation: { pitch: -90, yaw: 0 }
|
|
1940
|
+
# ── Emissive material ──
|
|
1941
|
+
16:
|
|
1942
|
+
task: material.create
|
|
1943
|
+
options:
|
|
1944
|
+
name: M_Beacon_Glow
|
|
1945
|
+
packagePath: /Game/Flows/Beacon
|
|
1946
|
+
17:
|
|
1947
|
+
task: material.add_expression
|
|
1948
|
+
options:
|
|
1949
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1950
|
+
expressionType: VectorParameter
|
|
1951
|
+
name: GlowColor
|
|
1952
|
+
parameterName: GlowColor
|
|
1953
|
+
18:
|
|
1954
|
+
task: material.add_expression
|
|
1955
|
+
options:
|
|
1956
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1957
|
+
expressionType: Constant
|
|
1958
|
+
name: GlowStrength
|
|
1959
|
+
19:
|
|
1960
|
+
task: material.set_expression_value
|
|
1961
|
+
options:
|
|
1962
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1963
|
+
expressionIndex: 1
|
|
1964
|
+
value: 25
|
|
1965
|
+
20:
|
|
1966
|
+
task: material.add_expression
|
|
1967
|
+
options:
|
|
1968
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1969
|
+
expressionType: Multiply
|
|
1970
|
+
name: Multiply
|
|
1971
|
+
21:
|
|
1972
|
+
task: material.connect_expressions
|
|
1973
|
+
options:
|
|
1974
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1975
|
+
sourceExpression: GlowColor
|
|
1976
|
+
targetExpression: Multiply
|
|
1977
|
+
targetInput: A
|
|
1978
|
+
22:
|
|
1979
|
+
task: material.connect_expressions
|
|
1980
|
+
options:
|
|
1981
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1982
|
+
sourceExpression: GlowStrength
|
|
1983
|
+
targetExpression: Multiply
|
|
1984
|
+
targetInput: B
|
|
1985
|
+
23:
|
|
1986
|
+
task: material.connect_to_property
|
|
1987
|
+
options:
|
|
1988
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1989
|
+
expressionName: Multiply
|
|
1990
|
+
property: EmissiveColor
|
|
1991
|
+
24:
|
|
1992
|
+
task: material.recompile
|
|
1993
|
+
options:
|
|
1994
|
+
materialPath: /Game/Flows/Beacon/M_Beacon_Glow
|
|
1995
|
+
# ── Camera ──
|
|
1996
|
+
25:
|
|
1997
|
+
task: editor.set_viewport
|
|
1998
|
+
options:
|
|
1999
|
+
location: { x: -600, y: 0, z: 250 }
|
|
2000
|
+
rotation: { pitch: -10, yaw: 0 }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ue-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Unreal Engine MCP server — 19 tools, 300+ actions for AI-driven editor control",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"prepublishOnly": "npx tsc && tsx scripts/generate-default-config.ts"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@db-lyon/flowkit": "^0.
|
|
67
|
+
"@db-lyon/flowkit": "^0.4.0",
|
|
68
68
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
69
69
|
"ws": "^8.18.0",
|
|
70
70
|
"zod": "^3.24.0"
|