blueprint-extractor-mcp 1.1.0 → 1.2.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.
Files changed (2) hide show
  1. package/dist/index.js +27 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { UEClient } from './ue-client.js';
6
6
  const client = new UEClient();
7
7
  const server = new McpServer({
8
8
  name: 'blueprint-extractor',
9
- version: '1.1.0',
9
+ version: '1.2.0',
10
10
  });
11
11
  // Shared scope enum with detailed descriptions
12
12
  const scopeEnum = z.enum([
@@ -17,6 +17,32 @@ const scopeEnum = z.enum([
17
17
  'Full',
18
18
  'FullWithBytecode',
19
19
  ]);
20
+ // Resource: extraction scope reference (static docs — app-controlled read-only context)
21
+ server.resource('extraction-scopes', 'blueprint://scopes', {
22
+ description: 'Reference for Blueprint extraction scopes: what each level includes, typical sizes, and when to use.',
23
+ }, async (uri) => ({
24
+ contents: [{
25
+ uri: uri.href,
26
+ mimeType: 'text/plain',
27
+ text: [
28
+ 'Blueprint Extraction Scopes',
29
+ '',
30
+ 'Each scope includes everything from the previous level:',
31
+ '',
32
+ '| Scope | Adds | Typical Size | Use When |',
33
+ '|-------------------|---------------------------------------------------|---------------|-----------------------------------------------|',
34
+ '| ClassLevel | Parent class, interfaces, class flags, metadata | 1-2 KB | Checking inheritance or interface list |',
35
+ '| Variables | All variables with types, defaults, flags | 2-10 KB | Understanding data model (DEFAULT) |',
36
+ '| Components | SCS component tree with property overrides vs CDO | 5-20 KB | Analyzing component composition |',
37
+ '| FunctionsShallow | Function and event graph names only | 5-25 KB | Listing available functions before deep dive |',
38
+ '| Full | Complete graph nodes, pins, and connections | 20-500+ KB | Understanding graph logic and execution flow |',
39
+ '| FullWithBytecode | Raw bytecode hex dump per function | Largest | Low-level analysis (rarely needed) |',
40
+ '',
41
+ 'Start with the narrowest scope that answers your question.',
42
+ 'Full scope on complex Blueprints can exceed 200KB and will be truncated.',
43
+ ].join('\n'),
44
+ }],
45
+ }));
20
46
  // Tool 1: extract_blueprint
21
47
  server.registerTool('extract_blueprint', {
22
48
  title: 'Extract Blueprint',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blueprint-extractor-mcp",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "MCP server for UE5 BlueprintExtractor plugin",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",