blueprint-extractor-mcp 1.6.0 → 1.9.0
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 +53 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2512 -455
- package/dist/ue-client.d.ts +17 -1
- package/dist/ue-client.js +32 -14
- package/package.json +39 -9
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# `blueprint-extractor-mcp`
|
|
2
|
+
|
|
3
|
+
MCP server for the Unreal Engine `BlueprintExtractor` plugin.
|
|
4
|
+
|
|
5
|
+
This package exposes the `blueprint-extractor` server over stdio and talks to a running Unreal Editor through the Remote Control HTTP API.
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
- Node.js 18+
|
|
10
|
+
- Unreal Editor with the `Remote Control API` plugin enabled
|
|
11
|
+
- The `BlueprintExtractor` UE plugin loaded in the editor
|
|
12
|
+
|
|
13
|
+
## Run
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx blueprint-extractor-mcp
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The server reads `UE_REMOTE_CONTROL_PORT` and defaults to `30010`.
|
|
20
|
+
|
|
21
|
+
You can also set `UE_BLUEPRINT_EXTRACTOR_SUBSYSTEM_PATH` to force a specific subsystem object path instead of using the built-in probe list.
|
|
22
|
+
|
|
23
|
+
## Install In MCP Clients
|
|
24
|
+
|
|
25
|
+
Claude Code:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
claude mcp add -s user -t stdio blueprint-extractor -e UE_REMOTE_CONTROL_PORT=30010 -- npx -y blueprint-extractor-mcp@latest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Codex:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
codex mcp add --env UE_REMOTE_CONTROL_PORT=30010 blueprint-extractor -- npx -y blueprint-extractor-mcp@latest
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Local Development
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm install
|
|
41
|
+
npm run build
|
|
42
|
+
npm test
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
For the gated live smoke test:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
BLUEPRINT_EXTRACTOR_LIVE_E2E=1 npm run test:live
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Repository and full documentation:
|
|
52
|
+
|
|
53
|
+
- <https://github.com/SunGrow/ue-blueprint-extractor>
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
|
+
import { UEClient } from './ue-client.js';
|
|
4
|
+
export type UEClientLike = Pick<UEClient, 'callSubsystem'>;
|
|
5
|
+
export declare function createBlueprintExtractorServer(client?: UEClientLike): McpServer;
|