unreal-engine-mcp-server 0.5.17 → 0.5.18

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/CHANGELOG.md CHANGED
@@ -7,6 +7,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
+ ## 🏷️ [0.5.18] - 2026-02-21
11
+
12
+ > [!IMPORTANT]
13
+ > ### 🔧 Installation, Documentation & Dependency Updates
14
+ > This release fixes npm install failures when downloading from GitHub releases, adds first-time project setup guidance, and updates dependencies.
15
+
16
+ ### 🛠️ Fixed
17
+
18
+ <details>
19
+ <summary><b>🐛 npm install failure from release archives</b> (<a href="https://github.com/ChiR24/Unreal_mcp/pull/215">#215</a>)</summary>
20
+
21
+ | Issue | Root Cause | Fix |
22
+ |-------|------------|-----|
23
+ | `npm install` fails with ESLint config error | Release archives excluded `eslint.config.mjs` and other build files | Added `-source` archives with complete build files |
24
+ | `prepare` script runs build unnecessarily | Checked only `dist/` existence, not build artifacts | Now verifies `dist/cli.js` and `dist/index.js` exist |
25
+ | Deprecated `--ext .ts` flag in lint | ESLint 9.x removed support for `--ext` flag | Removed flag, extensions configured in `eslint.config.mjs` |
26
+
27
+ **Files Modified:**
28
+ - `package.json` (prepare script, lint scripts, removed prebuild)
29
+ - `.github/workflows/release.yml` (added source archives, fixed plugin path)
30
+ - `README.md` (added Rust/wasm-pack prerequisites)
31
+
32
+ </details>
33
+
34
+ ### 📚 Documentation
35
+
36
+ <details>
37
+ <summary><b>📖 First-time project open instructions</b> (<a href="https://github.com/ChiR24/Unreal_mcp/commit/112df08">112df08</a>)</summary>
38
+
39
+ Added guidance for users opening Unreal projects for the first time:
40
+ - Explains UE prompt to rebuild missing modules
41
+ - Documents expected plugin load failure after first rebuild
42
+ - Recommends closing and reopening project to resolve
43
+
44
+ </details>
45
+
46
+ ### ⬆️ Dependencies
47
+
48
+ | Package | From | To | PR |
49
+ |---------|------|-----|-----|
50
+ | hono | 4.11.7 | 4.12.0 | [#213](https://github.com/ChiR24/Unreal_mcp/pull/213) |
51
+ | ajv | 8.17.1 | 8.18.0 | [#210](https://github.com/ChiR24/Unreal_mcp/pull/210) |
52
+ | actions/stale | 10.1.1 | 10.2.0 | [#208](https://github.com/ChiR24/Unreal_mcp/pull/208) |
53
+ | actions/dependency-review-action | 4.8.2 | 4.8.3 | [#212](https://github.com/ChiR24/Unreal_mcp/pull/212) |
54
+
55
+ ---
56
+
10
57
  ## 🏷️ [0.5.17] - 2026-02-16
11
58
 
12
59
  > [!IMPORTANT]
package/README.md CHANGED
@@ -99,6 +99,8 @@ Regenerate project files after copying.
99
99
 
100
100
  https://github.com/user-attachments/assets/d8b86ebc-4364-48c9-9781-de854bf3ef7d
101
101
 
102
+ > ⚠️ **First-Time Project Open:** When opening the project directly (double-click `.uproject`) for the first time, UE will prompt *"Would you like to rebuild them now?"* for missing modules. Click **Yes** to rebuild. After the rebuild completes, you may still see: *"Plugin 'McpAutomationBridge' failed to load because module could not be loaded."* This is expected — UE rebuilds successfully but doesn't reload the plugin in the same session. **Simply close and reopen the project** and the plugin will load correctly. Alternatively, build via Visual Studio first to avoid this.
103
+
102
104
  ### Step 3: Enable Required Plugins
103
105
 
104
106
  Enable via **Edit → Plugins**, then restart the editor:
@@ -253,9 +255,12 @@ Optional WASM acceleration for computationally intensive operations. **Enabled b
253
255
 
254
256
  ### Building WASM (Optional)
255
257
 
258
+ **Prerequisites:**
259
+ 1. Install Rust: https://rust-lang.org/tools/install/
260
+ 2. Install wasm-pack: `cargo install wasm-pack`
261
+
256
262
  ```bash
257
- cargo install wasm-pack # Once per machine
258
- npm run build:wasm # Builds WASM
263
+ npm run build:wasm # Builds WASM
259
264
  ```
260
265
 
261
266
  To disable: `WASM_ENABLED=false`
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ const DEFAULT_SERVER_NAME = typeof packageInfo.name === 'string' && packageInfo.
29
29
  : 'unreal-engine-mcp';
30
30
  const DEFAULT_SERVER_VERSION = typeof packageInfo.version === 'string' && packageInfo.version.trim().length > 0
31
31
  ? packageInfo.version
32
- : '0.5.16';
32
+ : '0.5.18';
33
33
  function routeStdoutLogsToStderr() {
34
34
  if (!config.MCP_ROUTE_STDOUT_LOGS) {
35
35
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unreal-engine-mcp-server",
3
- "version": "0.5.17",
3
+ "version": "0.5.18",
4
4
  "mcpName": "io.github.ChiR24/unreal-engine-mcp",
5
5
  "description": "A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal Engine via native automation bridge. Built with TypeScript and designed for game development automation.",
6
6
  "type": "module",
@@ -19,17 +19,17 @@
19
19
  ],
20
20
  "scripts": {
21
21
  "build:core": "tsc -p tsconfig.json",
22
- "build": "npm run build:core && (npm run build:wasm || echo \"WASM build failed or wasm-pack missing; continuing with TypeScript-only build. To enable WASM, install wasm-pack and re-run npm run build.\")",
22
+ "build": "npm run clean && npm run build:core && (npm run build:wasm || echo \"WASM build failed or wasm-pack missing; continuing with TypeScript-only build. To enable WASM, install wasm-pack and re-run npm run build.\")",
23
23
  "build:watch": "tsc -p tsconfig.json --watch",
24
24
  "start": "node dist/cli.js",
25
25
  "dev": "ts-node-esm src/cli.ts",
26
- "lint": "echo \"Lint: typescript/javascript, C, C++, C#\" && eslint . --ext .ts",
27
- "lint:fix": "eslint . --ext .ts --fix",
26
+ "lint": "echo \"Lint: typescript/javascript, C, C++, C#\" && eslint .",
27
+ "lint:fix": "eslint . --fix",
28
28
  "lint:cpp": "echo \"Running C/C++ lint (cpplint)\" && (python -m cpplint --recursive plugins || echo 'cpplint not found; skipping C/C++ lint')",
29
29
  "lint:c": "echo \"Running C lint (cpplint)\" && (python -m cpplint --recursive plugins || echo 'cpplint not found; skipping C lint')",
30
30
  "lint:csharp": "echo \"Running C# lint (dotnet format)\" && (dotnet tool run dotnet-format --verify-no-changes || echo 'dotnet-format not available or formatting required; skipping C# lint')",
31
31
  "clean": "rimraf dist",
32
- "prepare": "npm run build",
32
+ "prepare": "node -e \"const fs=require('fs');(fs.existsSync('dist')&&fs.existsSync('dist/cli.js')&&fs.existsSync('dist/index.js'))||require('child_process').execSync('npm run build',{stdio:'inherit'})\"",
33
33
  "automation:sync": "node scripts/sync-mcp-plugin.js",
34
34
  "clean:tmp": "node scripts/clean-tmp.js",
35
35
  "test": "node tests/integration.mjs",
@@ -39,8 +39,7 @@
39
39
  "test:all": "node tests/integration.mjs",
40
40
  "test:smoke": "node --loader ts-node/esm scripts/smoke-test.ts",
41
41
  "build:wasm": "echo 'Building WebAssembly module...' && cd wasm && wasm-pack build --target web --out-dir ../src/wasm/pkg && cd .. && node scripts/patch-wasm.js",
42
- "type-check": "tsc --noEmit",
43
- "prebuild": "npm run lint && npm run clean"
42
+ "type-check": "tsc --noEmit"
44
43
  },
45
44
  "engines": {
46
45
  "node": ">=18"
package/server.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.ChiR24/unreal-engine-mcp",
4
4
  "description": "MCP server for Unreal Engine 5 with 17 tools for game development automation.",
5
- "version": "0.5.17",
5
+ "version": "0.5.18",
6
6
  "packages": [
7
7
  {
8
8
  "registryType": "npm",
9
9
  "registryBaseUrl": "https://registry.npmjs.org",
10
10
  "identifier": "unreal-engine-mcp-server",
11
- "version": "0.5.17",
11
+ "version": "0.5.18",
12
12
  "transport": {
13
13
  "type": "stdio"
14
14
  },