framework-mcp 1.4.0 → 1.5.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/core/safeguard-manager.d.ts.map +1 -1
- package/dist/core/safeguard-manager.js +2271 -153
- package/dist/core/safeguard-manager.js.map +1 -1
- package/dist/interfaces/http/http-server.js +1 -1
- package/dist/shared/types.d.ts +7 -0
- package/dist/shared/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/safeguard-manager.ts +2271 -153
- package/src/interfaces/http/http-server.ts +1 -1
- package/src/shared/types.ts +7 -0
- package/swagger.json +40 -5
|
@@ -168,7 +168,7 @@ export class FrameworkHttpServer {
|
|
|
168
168
|
|
|
169
169
|
public start(): void {
|
|
170
170
|
this.app.listen(this.port, '0.0.0.0', () => {
|
|
171
|
-
console.log(`🚀 Framework MCP HTTP Server v1.
|
|
171
|
+
console.log(`🚀 Framework MCP HTTP Server v1.5.1 running on port ${this.port}`);
|
|
172
172
|
console.log(`📊 Health check: http://localhost:${this.port}/health`);
|
|
173
173
|
console.log(`📖 API docs: http://localhost:${this.port}/api`);
|
|
174
174
|
console.log(`🔧 Environment: ${process.env.NODE_ENV || 'development'}`);
|
package/src/shared/types.ts
CHANGED
|
@@ -14,6 +14,13 @@ export interface SafeguardElement {
|
|
|
14
14
|
implementationSuggestions: string[]; // Gray - Suggestions for implementation
|
|
15
15
|
relatedSafeguards: string[];
|
|
16
16
|
keywords: string[];
|
|
17
|
+
systemPrompt?: {
|
|
18
|
+
role: string; // e.g., "asset_inventory_expert", "access_control_specialist"
|
|
19
|
+
context: string; // Brief context about the safeguard for AI understanding
|
|
20
|
+
objective: string; // What the AI should accomplish
|
|
21
|
+
guidelines: string[]; // Specific evaluation criteria and methods
|
|
22
|
+
outputFormat: string; // Expected response structure for n8n processing
|
|
23
|
+
};
|
|
17
24
|
}
|
|
18
25
|
|
|
19
26
|
export interface VendorAnalysis {
|
package/swagger.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Framework MCP API - Pure Data Provider",
|
|
5
|
-
"description": "Microsoft Copilot-compatible API providing authoritative CIS Controls Framework v8.1 data (153 safeguards). Pure Data Provider architecture empowers LLMs with structured safeguards data for sophisticated, context-aware vendor capability analysis.",
|
|
6
|
-
"version": "1.
|
|
5
|
+
"description": "Microsoft Copilot-compatible API providing authoritative CIS Controls Framework v8.1 data (153 safeguards). Pure Data Provider architecture empowers LLMs with structured safeguards data and AI-driven systemPrompts for sophisticated, context-aware vendor capability analysis and n8n workflow automation.",
|
|
6
|
+
"version": "1.5.1",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Framework MCP Support",
|
|
9
9
|
"url": "https://github.com/therealcybermattlee/FrameworkMCP"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"/api/safeguards/{safeguardId}": {
|
|
68
68
|
"get": {
|
|
69
69
|
"summary": "Get Safeguard Details",
|
|
70
|
-
"description": "Get detailed information about a specific CIS safeguard including governance elements, core requirements, and
|
|
70
|
+
"description": "Get detailed information about a specific CIS safeguard including governance elements, core requirements, implementation suggestions, and AI-driven systemPrompt for n8n workflow integration",
|
|
71
71
|
"operationId": "getSafeguardDetails",
|
|
72
72
|
"tags": ["Safeguards"],
|
|
73
73
|
"parameters": [
|
|
@@ -255,6 +255,41 @@
|
|
|
255
255
|
"type": "string"
|
|
256
256
|
},
|
|
257
257
|
"description": "Implementation methods and suggestions (Gray elements)"
|
|
258
|
+
},
|
|
259
|
+
"systemPrompt": {
|
|
260
|
+
"type": "object",
|
|
261
|
+
"description": "AI-driven system prompt for n8n workflow automation and vendor analysis",
|
|
262
|
+
"properties": {
|
|
263
|
+
"role": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"description": "Expert role for the specific control type",
|
|
266
|
+
"example": "asset_inventory_expert"
|
|
267
|
+
},
|
|
268
|
+
"context": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"description": "Brief context about the safeguard for AI understanding",
|
|
271
|
+
"example": "You are evaluating enterprise asset inventory solutions against CIS Control 1.1 requirements"
|
|
272
|
+
},
|
|
273
|
+
"objective": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"description": "What the AI should accomplish",
|
|
276
|
+
"example": "Determine if vendor solution provides complete asset inventory capabilities"
|
|
277
|
+
},
|
|
278
|
+
"guidelines": {
|
|
279
|
+
"type": "array",
|
|
280
|
+
"items": {
|
|
281
|
+
"type": "string"
|
|
282
|
+
},
|
|
283
|
+
"description": "Specific evaluation criteria and methods",
|
|
284
|
+
"example": ["Verify coverage of all asset types", "Confirm data collection accuracy"]
|
|
285
|
+
},
|
|
286
|
+
"outputFormat": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "Expected response structure for n8n processing",
|
|
289
|
+
"example": "Provide structured assessment with capability level (FULL/PARTIAL/FACILITATES/GOVERNANCE/VALIDATES), confidence score, and evidence summary"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"required": ["role", "context", "objective", "guidelines", "outputFormat"]
|
|
258
293
|
}
|
|
259
294
|
}
|
|
260
295
|
},
|
|
@@ -279,7 +314,7 @@
|
|
|
279
314
|
},
|
|
280
315
|
"version": {
|
|
281
316
|
"type": "string",
|
|
282
|
-
"example": "1.
|
|
317
|
+
"example": "1.5.1"
|
|
283
318
|
},
|
|
284
319
|
"timestamp": {
|
|
285
320
|
"type": "string",
|
|
@@ -324,7 +359,7 @@
|
|
|
324
359
|
},
|
|
325
360
|
"version": {
|
|
326
361
|
"type": "string",
|
|
327
|
-
"example": "1.
|
|
362
|
+
"example": "1.5.1"
|
|
328
363
|
},
|
|
329
364
|
"description": {
|
|
330
365
|
"type": "string",
|