framework-mcp 2.4.2 → 2.4.4
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 +6 -14
- package/dist/core/safeguard-manager.d.ts.map +1 -1
- package/dist/core/safeguard-manager.js +173 -245
- package/dist/core/safeguard-manager.js.map +1 -1
- package/dist/interfaces/http/http-server.js +5 -5
- package/dist/interfaces/http/http-server.js.map +1 -1
- package/dist/interfaces/mcp/mcp-server.js +3 -3
- package/package.json +2 -2
- package/src/core/safeguard-manager.ts +165 -237
- package/src/interfaces/http/http-server.ts +5 -5
- package/src/interfaces/mcp/mcp-server.ts +3 -3
- package/src/shared/types.ts +2 -2
- package/swagger.json +5 -5
|
@@ -101,12 +101,12 @@ export class FrameworkHttpServer {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
private setupRoutes(): void {
|
|
104
|
-
// Health check endpoint
|
|
104
|
+
// Health check endpoint
|
|
105
105
|
this.app.get('/health', (req, res) => {
|
|
106
106
|
res.json({
|
|
107
107
|
status: 'healthy',
|
|
108
108
|
uptime: Math.round(process.uptime()),
|
|
109
|
-
version: '2.4.
|
|
109
|
+
version: '2.4.4',
|
|
110
110
|
timestamp: new Date().toISOString()
|
|
111
111
|
});
|
|
112
112
|
});
|
|
@@ -222,7 +222,7 @@ export class FrameworkHttpServer {
|
|
|
222
222
|
this.app.get('/api', (req, res) => {
|
|
223
223
|
res.json({
|
|
224
224
|
name: 'Framework MCP HTTP API',
|
|
225
|
-
version: '2.4.
|
|
225
|
+
version: '2.4.4',
|
|
226
226
|
description: 'Pure Data Provider serving authentic CIS Controls Framework data',
|
|
227
227
|
endpoints: {
|
|
228
228
|
'GET /api/safeguards': 'List all available CIS safeguards',
|
|
@@ -231,7 +231,7 @@ export class FrameworkHttpServer {
|
|
|
231
231
|
'GET /api': 'This documentation'
|
|
232
232
|
},
|
|
233
233
|
framework: 'CIS Controls v8.1 (153 safeguards)',
|
|
234
|
-
deployment: '
|
|
234
|
+
deployment: 'Cloud-compatible HTTP API'
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
|
|
@@ -273,7 +273,7 @@ export class FrameworkHttpServer {
|
|
|
273
273
|
|
|
274
274
|
public start(): void {
|
|
275
275
|
this.app.listen(this.port, '0.0.0.0', () => {
|
|
276
|
-
console.log(`🚀 Framework MCP HTTP Server v2.
|
|
276
|
+
console.log(`🚀 Framework MCP HTTP Server v2.4.4 running on port ${this.port}`);
|
|
277
277
|
console.log(`📊 Health check: http://localhost:${this.port}/health`);
|
|
278
278
|
console.log(`📖 API docs: http://localhost:${this.port}/api`);
|
|
279
279
|
console.log(`🔧 Environment: ${process.env.NODE_ENV || 'development'}`);
|
|
@@ -18,7 +18,7 @@ export class FrameworkMcpServer {
|
|
|
18
18
|
this.server = new Server(
|
|
19
19
|
{
|
|
20
20
|
name: 'framework-analyzer',
|
|
21
|
-
version: '2.4.
|
|
21
|
+
version: '2.4.4',
|
|
22
22
|
}
|
|
23
23
|
);
|
|
24
24
|
|
|
@@ -129,7 +129,7 @@ export class FrameworkMcpServer {
|
|
|
129
129
|
safeguards,
|
|
130
130
|
total: safeguards.length,
|
|
131
131
|
framework: 'CIS Controls v8.1',
|
|
132
|
-
version: '2.4.
|
|
132
|
+
version: '2.4.4'
|
|
133
133
|
}, null, 2),
|
|
134
134
|
},
|
|
135
135
|
],
|
|
@@ -153,7 +153,7 @@ export class FrameworkMcpServer {
|
|
|
153
153
|
const transport = new StdioServerTransport();
|
|
154
154
|
await this.server.connect(transport);
|
|
155
155
|
|
|
156
|
-
console.error('🤖 Framework MCP Server v2.
|
|
156
|
+
console.error('🤖 Framework MCP Server v2.4.4 running via stdio');
|
|
157
157
|
console.error('📊 Pure Data Provider for CIS Controls v8.1');
|
|
158
158
|
}
|
|
159
159
|
}
|
package/src/shared/types.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Shared TypeScript types for dual architecture
|
|
2
2
|
|
|
3
|
-
// Enhanced relationship type system
|
|
3
|
+
// Enhanced relationship type system
|
|
4
4
|
export type RelationshipType =
|
|
5
5
|
| 'dependency' // Must be implemented for this to work
|
|
6
6
|
| 'prerequisite' // Should be implemented first
|
|
@@ -315,7 +315,7 @@ export interface ValidationResult {
|
|
|
315
315
|
errors: string[];
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
// Rate Limiting Types
|
|
318
|
+
// Rate Limiting Types
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
321
|
* Configuration for rate limiting middleware
|
package/swagger.json
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"servers": [
|
|
17
17
|
{
|
|
18
|
-
"url": "https://your-deployment.
|
|
19
|
-
"description": "Production
|
|
18
|
+
"url": "https://your-deployment.example.com",
|
|
19
|
+
"description": "Production deployment"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"url": "http://localhost:8080",
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
},
|
|
300
300
|
"version": {
|
|
301
301
|
"type": "string",
|
|
302
|
-
"example": "
|
|
302
|
+
"example": "2.4.4"
|
|
303
303
|
},
|
|
304
304
|
"timestamp": {
|
|
305
305
|
"type": "string",
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
},
|
|
345
345
|
"version": {
|
|
346
346
|
"type": "string",
|
|
347
|
-
"example": "
|
|
347
|
+
"example": "2.4.4"
|
|
348
348
|
},
|
|
349
349
|
"description": {
|
|
350
350
|
"type": "string",
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
},
|
|
371
371
|
"deployment": {
|
|
372
372
|
"type": "string",
|
|
373
|
-
"example": "
|
|
373
|
+
"example": "Cloud-compatible HTTP API"
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
},
|