@weave_protocol/mund 0.1.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 (98) hide show
  1. package/dist/analyzers/code-analyzer.d.ts +24 -0
  2. package/dist/analyzers/code-analyzer.d.ts.map +1 -0
  3. package/dist/analyzers/code-analyzer.js +73 -0
  4. package/dist/analyzers/code-analyzer.js.map +1 -0
  5. package/dist/analyzers/exfiltration-detector.d.ts +40 -0
  6. package/dist/analyzers/exfiltration-detector.d.ts.map +1 -0
  7. package/dist/analyzers/exfiltration-detector.js +220 -0
  8. package/dist/analyzers/exfiltration-detector.js.map +1 -0
  9. package/dist/analyzers/index.d.ts +26 -0
  10. package/dist/analyzers/index.d.ts.map +1 -0
  11. package/dist/analyzers/index.js +61 -0
  12. package/dist/analyzers/index.js.map +1 -0
  13. package/dist/analyzers/injection-detector.d.ts +36 -0
  14. package/dist/analyzers/injection-detector.d.ts.map +1 -0
  15. package/dist/analyzers/injection-detector.js +165 -0
  16. package/dist/analyzers/injection-detector.js.map +1 -0
  17. package/dist/analyzers/pii-detector.d.ts +44 -0
  18. package/dist/analyzers/pii-detector.d.ts.map +1 -0
  19. package/dist/analyzers/pii-detector.js +190 -0
  20. package/dist/analyzers/pii-detector.js.map +1 -0
  21. package/dist/analyzers/secret-scanner.d.ts +32 -0
  22. package/dist/analyzers/secret-scanner.d.ts.map +1 -0
  23. package/dist/analyzers/secret-scanner.js +119 -0
  24. package/dist/analyzers/secret-scanner.js.map +1 -0
  25. package/dist/constants.d.ts +18 -0
  26. package/dist/constants.d.ts.map +1 -0
  27. package/dist/constants.js +580 -0
  28. package/dist/constants.js.map +1 -0
  29. package/dist/index.d.ts +9 -0
  30. package/dist/index.d.ts.map +1 -0
  31. package/dist/index.js +242 -0
  32. package/dist/index.js.map +1 -0
  33. package/dist/notifications/email.d.ts +18 -0
  34. package/dist/notifications/email.d.ts.map +1 -0
  35. package/dist/notifications/email.js +192 -0
  36. package/dist/notifications/email.js.map +1 -0
  37. package/dist/notifications/index.d.ts +51 -0
  38. package/dist/notifications/index.d.ts.map +1 -0
  39. package/dist/notifications/index.js +107 -0
  40. package/dist/notifications/index.js.map +1 -0
  41. package/dist/notifications/slack.d.ts +17 -0
  42. package/dist/notifications/slack.d.ts.map +1 -0
  43. package/dist/notifications/slack.js +128 -0
  44. package/dist/notifications/slack.js.map +1 -0
  45. package/dist/notifications/teams.d.ts +17 -0
  46. package/dist/notifications/teams.d.ts.map +1 -0
  47. package/dist/notifications/teams.js +136 -0
  48. package/dist/notifications/teams.js.map +1 -0
  49. package/dist/notifications/webhook.d.ts +15 -0
  50. package/dist/notifications/webhook.d.ts.map +1 -0
  51. package/dist/notifications/webhook.js +67 -0
  52. package/dist/notifications/webhook.js.map +1 -0
  53. package/dist/storage/index.d.ts +11 -0
  54. package/dist/storage/index.d.ts.map +1 -0
  55. package/dist/storage/index.js +26 -0
  56. package/dist/storage/index.js.map +1 -0
  57. package/dist/storage/memory.d.ts +35 -0
  58. package/dist/storage/memory.d.ts.map +1 -0
  59. package/dist/storage/memory.js +144 -0
  60. package/dist/storage/memory.js.map +1 -0
  61. package/dist/tools/configuration.d.ts +8 -0
  62. package/dist/tools/configuration.d.ts.map +1 -0
  63. package/dist/tools/configuration.js +399 -0
  64. package/dist/tools/configuration.js.map +1 -0
  65. package/dist/tools/index.d.ts +15 -0
  66. package/dist/tools/index.d.ts.map +1 -0
  67. package/dist/tools/index.js +16 -0
  68. package/dist/tools/index.js.map +1 -0
  69. package/dist/tools/monitoring.d.ts +10 -0
  70. package/dist/tools/monitoring.d.ts.map +1 -0
  71. package/dist/tools/monitoring.js +476 -0
  72. package/dist/tools/monitoring.js.map +1 -0
  73. package/dist/types.d.ts +207 -0
  74. package/dist/types.d.ts.map +1 -0
  75. package/dist/types.js +6 -0
  76. package/dist/types.js.map +1 -0
  77. package/package.json +62 -0
  78. package/rules/default.yaml +189 -0
  79. package/src/analyzers/code-analyzer.ts +88 -0
  80. package/src/analyzers/exfiltration-detector.ts +257 -0
  81. package/src/analyzers/index.ts +74 -0
  82. package/src/analyzers/injection-detector.ts +191 -0
  83. package/src/analyzers/pii-detector.ts +220 -0
  84. package/src/analyzers/secret-scanner.ts +142 -0
  85. package/src/constants.ts +603 -0
  86. package/src/index.ts +285 -0
  87. package/src/notifications/email.ts +211 -0
  88. package/src/notifications/index.ts +136 -0
  89. package/src/notifications/slack.ts +170 -0
  90. package/src/notifications/teams.ts +200 -0
  91. package/src/notifications/webhook.ts +80 -0
  92. package/src/storage/index.ts +29 -0
  93. package/src/storage/memory.ts +181 -0
  94. package/src/tools/configuration.ts +478 -0
  95. package/src/tools/index.ts +29 -0
  96. package/src/tools/monitoring.ts +559 -0
  97. package/src/types.ts +300 -0
  98. package/tsconfig.json +24 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/tools/configuration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EACV,QAAQ,EACR,aAAa,EAId,MAAM,aAAa,CAAC;AAgFrB,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAE,aAAa,EAAE,GACrB,IAAI,CA4XN"}
@@ -0,0 +1,399 @@
1
+ /**
2
+ * Mund - The Guardian Protocol
3
+ * Configuration & Response Tools - MCP tools for configuration and incident response
4
+ */
5
+ import { z } from 'zod';
6
+ // ============================================================================
7
+ // Input Schemas
8
+ // ============================================================================
9
+ const AddRuleInputSchema = z.object({
10
+ id: z.string()
11
+ .min(1, 'Rule ID is required')
12
+ .max(100, 'Rule ID too long')
13
+ .regex(/^[a-z0-9_]+$/, 'Rule ID must be lowercase alphanumeric with underscores')
14
+ .describe('Unique identifier for the rule'),
15
+ name: z.string()
16
+ .min(1, 'Rule name is required')
17
+ .max(200, 'Rule name too long')
18
+ .describe('Human-readable name for the rule'),
19
+ description: z.string().max(1000).optional()
20
+ .describe('Description of what this rule detects'),
21
+ type: z.enum(['secret', 'pii', 'code_pattern', 'injection', 'exfiltration'])
22
+ .describe('Type of detection'),
23
+ pattern: z.string()
24
+ .min(1, 'Pattern is required')
25
+ .describe('Regular expression pattern to match'),
26
+ severity: z.enum(['critical', 'high', 'medium', 'low', 'info'])
27
+ .describe('Severity level when this rule matches'),
28
+ action: z.enum(['alert', 'block', 'log', 'quarantine'])
29
+ .default('alert')
30
+ .describe('Action to take when rule matches')
31
+ }).strict();
32
+ const RemoveRuleInputSchema = z.object({
33
+ id: z.string()
34
+ .min(1, 'Rule ID is required')
35
+ .describe('ID of the rule to remove')
36
+ }).strict();
37
+ const ListRulesInputSchema = z.object({
38
+ type: z.enum(['secret', 'pii', 'code_pattern', 'injection', 'exfiltration', 'behavioral']).optional()
39
+ .describe('Filter rules by type'),
40
+ enabled_only: z.boolean().default(false)
41
+ .describe('Only show enabled rules')
42
+ }).strict();
43
+ const AcknowledgeAlertInputSchema = z.object({
44
+ event_id: z.string()
45
+ .min(1, 'Event ID is required')
46
+ .describe('ID of the event to acknowledge'),
47
+ acknowledged_by: z.string().optional()
48
+ .describe('Name or ID of person acknowledging')
49
+ }).strict();
50
+ const BlockPatternInputSchema = z.object({
51
+ pattern: z.string()
52
+ .min(1, 'Pattern is required')
53
+ .describe('Pattern to add to blocklist'),
54
+ type: z.enum(['secret', 'pii', 'code_pattern', 'injection', 'exfiltration'])
55
+ .describe('Type of pattern')
56
+ }).strict();
57
+ const AllowlistPatternInputSchema = z.object({
58
+ pattern: z.string()
59
+ .min(1, 'Pattern is required')
60
+ .describe('Pattern to add to allowlist'),
61
+ type: z.enum(['secret', 'pii', 'code_pattern', 'injection', 'exfiltration'])
62
+ .describe('Type of pattern')
63
+ }).strict();
64
+ const ConfigureNotificationInputSchema = z.object({
65
+ type: z.enum(['slack', 'teams', 'email', 'webhook'])
66
+ .describe('Type of notification channel'),
67
+ webhook_url: z.string().url().optional()
68
+ .describe('Webhook URL for Slack/Teams/generic webhook'),
69
+ min_severity: z.enum(['critical', 'high', 'medium', 'low', 'info']).optional()
70
+ .describe('Minimum severity to send notifications')
71
+ }).strict();
72
+ // ============================================================================
73
+ // Tool Registration
74
+ // ============================================================================
75
+ export function registerConfigurationTools(server, storage, rules) {
76
+ // ============================================================================
77
+ // mund_add_rule - Add custom detection rule
78
+ // ============================================================================
79
+ server.registerTool('mund_add_rule', {
80
+ title: 'Add Detection Rule',
81
+ description: `Add a custom security detection rule.
82
+
83
+ Create custom rules to detect specific patterns in content. Rules use regular expressions
84
+ for pattern matching and can be configured with different severity levels and actions.
85
+
86
+ Args:
87
+ - id (string): Unique rule identifier (lowercase, alphanumeric, underscores)
88
+ - name (string): Human-readable rule name
89
+ - description (string): Optional description
90
+ - type: Detection type (secret, pii, code_pattern, injection, exfiltration)
91
+ - pattern (string): Regular expression to match
92
+ - severity: Severity level (critical, high, medium, low, info)
93
+ - action: Action to take (alert, block, log, quarantine)
94
+
95
+ Returns:
96
+ Confirmation of rule addition with rule details`,
97
+ inputSchema: AddRuleInputSchema,
98
+ annotations: {
99
+ readOnlyHint: false,
100
+ destructiveHint: false,
101
+ idempotentHint: true,
102
+ openWorldHint: false
103
+ }
104
+ }, async (params) => {
105
+ // Validate the regex pattern
106
+ try {
107
+ new RegExp(params.pattern);
108
+ }
109
+ catch {
110
+ return {
111
+ content: [{ type: 'text', text: JSON.stringify({
112
+ success: false,
113
+ error: 'Invalid regular expression pattern'
114
+ }, null, 2) }]
115
+ };
116
+ }
117
+ // Check for duplicate ID
118
+ const existing = rules.find(r => r.id === params.id);
119
+ if (existing) {
120
+ return {
121
+ content: [{ type: 'text', text: JSON.stringify({
122
+ success: false,
123
+ error: `Rule with ID '${params.id}' already exists`
124
+ }, null, 2) }]
125
+ };
126
+ }
127
+ // Create the rule
128
+ const newRule = {
129
+ id: params.id,
130
+ name: params.name,
131
+ description: params.description,
132
+ type: params.type,
133
+ pattern: params.pattern,
134
+ severity: params.severity,
135
+ action: params.action,
136
+ enabled: true
137
+ };
138
+ // Add to rules array and storage
139
+ rules.push(newRule);
140
+ await storage.saveRule(newRule);
141
+ const response = {
142
+ success: true,
143
+ message: `Rule '${params.id}' added successfully`,
144
+ rule: newRule
145
+ };
146
+ return {
147
+ content: [{ type: 'text', text: JSON.stringify(response, null, 2) }],
148
+ structuredContent: response
149
+ };
150
+ });
151
+ // ============================================================================
152
+ // mund_remove_rule - Remove a detection rule
153
+ // ============================================================================
154
+ server.registerTool('mund_remove_rule', {
155
+ title: 'Remove Detection Rule',
156
+ description: `Remove a custom detection rule by ID.
157
+
158
+ Note: Built-in rules cannot be removed, only disabled.
159
+
160
+ Args:
161
+ - id (string): ID of the rule to remove
162
+
163
+ Returns:
164
+ Confirmation of rule removal`,
165
+ inputSchema: RemoveRuleInputSchema,
166
+ annotations: {
167
+ readOnlyHint: false,
168
+ destructiveHint: true,
169
+ idempotentHint: true,
170
+ openWorldHint: false
171
+ }
172
+ }, async (params) => {
173
+ const index = rules.findIndex(r => r.id === params.id);
174
+ if (index === -1) {
175
+ return {
176
+ content: [{ type: 'text', text: JSON.stringify({
177
+ success: false,
178
+ error: `Rule '${params.id}' not found`
179
+ }, null, 2) }]
180
+ };
181
+ }
182
+ // Remove from array and storage
183
+ rules.splice(index, 1);
184
+ await storage.deleteRule(params.id);
185
+ const response = {
186
+ success: true,
187
+ message: `Rule '${params.id}' removed successfully`
188
+ };
189
+ return {
190
+ content: [{ type: 'text', text: JSON.stringify(response, null, 2) }],
191
+ structuredContent: response
192
+ };
193
+ });
194
+ // ============================================================================
195
+ // mund_list_rules - List all active rules
196
+ // ============================================================================
197
+ server.registerTool('mund_list_rules', {
198
+ title: 'List Detection Rules',
199
+ description: `List all configured detection rules.
200
+
201
+ Args:
202
+ - type: Optional filter by detection type
203
+ - enabled_only: Only show enabled rules (default: false)
204
+
205
+ Returns:
206
+ Array of rule configurations`,
207
+ inputSchema: ListRulesInputSchema,
208
+ annotations: {
209
+ readOnlyHint: true,
210
+ destructiveHint: false,
211
+ idempotentHint: true,
212
+ openWorldHint: false
213
+ }
214
+ }, async (params) => {
215
+ let filteredRules = [...rules];
216
+ if (params.type) {
217
+ filteredRules = filteredRules.filter(r => r.type === params.type);
218
+ }
219
+ if (params.enabled_only) {
220
+ filteredRules = filteredRules.filter(r => r.enabled);
221
+ }
222
+ // Group by type
223
+ const grouped = filteredRules.reduce((acc, rule) => {
224
+ if (!acc[rule.type])
225
+ acc[rule.type] = [];
226
+ acc[rule.type].push({
227
+ id: rule.id,
228
+ name: rule.name,
229
+ severity: rule.severity,
230
+ action: rule.action,
231
+ enabled: rule.enabled
232
+ });
233
+ return acc;
234
+ }, {});
235
+ const response = {
236
+ total: filteredRules.length,
237
+ rules_by_type: grouped
238
+ };
239
+ return {
240
+ content: [{ type: 'text', text: JSON.stringify(response, null, 2) }],
241
+ structuredContent: response
242
+ };
243
+ });
244
+ // ============================================================================
245
+ // mund_acknowledge_alert - Mark alert as reviewed
246
+ // ============================================================================
247
+ server.registerTool('mund_acknowledge_alert', {
248
+ title: 'Acknowledge Security Alert',
249
+ description: `Mark a security event/alert as acknowledged.
250
+
251
+ Args:
252
+ - event_id (string): ID of the event to acknowledge
253
+ - acknowledged_by (string): Optional name/ID of acknowledger
254
+
255
+ Returns:
256
+ Confirmation of acknowledgment`,
257
+ inputSchema: AcknowledgeAlertInputSchema,
258
+ annotations: {
259
+ readOnlyHint: false,
260
+ destructiveHint: false,
261
+ idempotentHint: true,
262
+ openWorldHint: false
263
+ }
264
+ }, async (params) => {
265
+ const event = await storage.getEvent(params.event_id);
266
+ if (!event) {
267
+ return {
268
+ content: [{ type: 'text', text: JSON.stringify({
269
+ success: false,
270
+ error: `Event '${params.event_id}' not found`
271
+ }, null, 2) }]
272
+ };
273
+ }
274
+ await storage.acknowledgeEvent(params.event_id, params.acknowledged_by);
275
+ const response = {
276
+ success: true,
277
+ message: `Event '${params.event_id}' acknowledged`,
278
+ acknowledged_by: params.acknowledged_by,
279
+ acknowledged_at: new Date().toISOString()
280
+ };
281
+ return {
282
+ content: [{ type: 'text', text: JSON.stringify(response, null, 2) }],
283
+ structuredContent: response
284
+ };
285
+ });
286
+ // ============================================================================
287
+ // mund_block_pattern - Add pattern to blocklist
288
+ // ============================================================================
289
+ server.registerTool('mund_block_pattern', {
290
+ title: 'Block Pattern',
291
+ description: `Add a pattern to the blocklist.
292
+
293
+ Blocked patterns will always be flagged regardless of other rules.
294
+
295
+ Args:
296
+ - pattern (string): Pattern to block
297
+ - type: Type of pattern (secret, pii, code_pattern, injection, exfiltration)
298
+
299
+ Returns:
300
+ Confirmation of blocklist addition`,
301
+ inputSchema: BlockPatternInputSchema,
302
+ annotations: {
303
+ readOnlyHint: false,
304
+ destructiveHint: false,
305
+ idempotentHint: true,
306
+ openWorldHint: false
307
+ }
308
+ }, async (params) => {
309
+ await storage.addToBlocklist(params.pattern, params.type);
310
+ const response = {
311
+ success: true,
312
+ message: `Pattern added to blocklist`,
313
+ pattern: params.pattern,
314
+ type: params.type
315
+ };
316
+ return {
317
+ content: [{ type: 'text', text: JSON.stringify(response, null, 2) }],
318
+ structuredContent: response
319
+ };
320
+ });
321
+ // ============================================================================
322
+ // mund_allowlist_pattern - Add pattern to allowlist
323
+ // ============================================================================
324
+ server.registerTool('mund_allowlist_pattern', {
325
+ title: 'Allowlist Pattern',
326
+ description: `Add a pattern to the allowlist.
327
+
328
+ Allowlisted patterns will be ignored by detection rules.
329
+
330
+ Args:
331
+ - pattern (string): Pattern to allowlist
332
+ - type: Type of pattern
333
+
334
+ Returns:
335
+ Confirmation of allowlist addition`,
336
+ inputSchema: AllowlistPatternInputSchema,
337
+ annotations: {
338
+ readOnlyHint: false,
339
+ destructiveHint: false,
340
+ idempotentHint: true,
341
+ openWorldHint: false
342
+ }
343
+ }, async (params) => {
344
+ await storage.addToAllowlist(params.pattern, params.type);
345
+ const response = {
346
+ success: true,
347
+ message: `Pattern added to allowlist`,
348
+ pattern: params.pattern,
349
+ type: params.type
350
+ };
351
+ return {
352
+ content: [{ type: 'text', text: JSON.stringify(response, null, 2) }],
353
+ structuredContent: response
354
+ };
355
+ });
356
+ // ============================================================================
357
+ // mund_configure_notification - Set up notification channel
358
+ // ============================================================================
359
+ server.registerTool('mund_configure_notification', {
360
+ title: 'Configure Notification Channel',
361
+ description: `Configure a notification channel for security alerts.
362
+
363
+ Note: Full configuration requires environment variables. This tool can update
364
+ webhook URLs and minimum severity settings at runtime.
365
+
366
+ Args:
367
+ - type: Channel type (slack, teams, email, webhook)
368
+ - webhook_url: Webhook URL (for slack, teams, webhook)
369
+ - min_severity: Minimum severity to notify
370
+
371
+ Returns:
372
+ Confirmation of configuration`,
373
+ inputSchema: ConfigureNotificationInputSchema,
374
+ annotations: {
375
+ readOnlyHint: false,
376
+ destructiveHint: false,
377
+ idempotentHint: true,
378
+ openWorldHint: false
379
+ }
380
+ }, async (params) => {
381
+ // In a full implementation, this would update the NotificationHub
382
+ // For now, we'll return a message indicating the configuration was received
383
+ const response = {
384
+ success: true,
385
+ message: `Notification channel '${params.type}' configuration received`,
386
+ note: 'Full configuration requires setting environment variables and restarting the server',
387
+ config: {
388
+ type: params.type,
389
+ webhook_url: params.webhook_url ? '***configured***' : undefined,
390
+ min_severity: params.min_severity
391
+ }
392
+ };
393
+ return {
394
+ content: [{ type: 'text', text: JSON.stringify(response, null, 2) }],
395
+ structuredContent: response
396
+ };
397
+ });
398
+ }
399
+ //# sourceMappingURL=configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../src/tools/configuration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,+EAA+E;AAC/E,gBAAgB;AAChB,+EAA+E;AAE/E,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;SACX,GAAG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EAAE,IAAI;YACpB,aAAa,EAAE,KAAK;SACrB;KACF,EACD,KAAK,EAAE,MAAM,EAAE,EAAE;QACf,kEAAkE;QAClE,4EAA4E;QAE5E,MAAM,QAAQ,GAAG;YACf,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,yBAAyB,MAAM,CAAC,IAAI,0BAA0B;YACvE,IAAI,EAAE,qFAAqF;YAC3F,MAAM,EAAE;gBACN,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS;gBAChE,YAAY,EAAE,MAAM,CAAC,YAAY;aAClC;SACF,CAAC;QAEF,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;YACpE,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Mund - The Guardian Protocol
3
+ * Tools Index - Exports all MCP tools
4
+ */
5
+ export { registerMonitoringTools } from './monitoring.js';
6
+ export { registerConfigurationTools } from './configuration.js';
7
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
8
+ import type { IStorage, DetectionRule } from '../types.js';
9
+ import { AnalyzerEngine } from '../analyzers/index.js';
10
+ import { NotificationHub } from '../notifications/index.js';
11
+ /**
12
+ * Register all Mund MCP tools
13
+ */
14
+ export declare function registerAllTools(server: McpServer, storage: IStorage, rules: DetectionRule[], analyzer: AnalyzerEngine, notificationHub: NotificationHub, blockMode: boolean): void;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAIhE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAE,aAAa,EAAE,EACtB,QAAQ,EAAE,cAAc,EACxB,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,OAAO,GACjB,IAAI,CAGN"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Mund - The Guardian Protocol
3
+ * Tools Index - Exports all MCP tools
4
+ */
5
+ export { registerMonitoringTools } from './monitoring.js';
6
+ export { registerConfigurationTools } from './configuration.js';
7
+ import { registerMonitoringTools } from './monitoring.js';
8
+ import { registerConfigurationTools } from './configuration.js';
9
+ /**
10
+ * Register all Mund MCP tools
11
+ */
12
+ export function registerAllTools(server, storage, rules, analyzer, notificationHub, blockMode) {
13
+ registerMonitoringTools(server, storage, rules, analyzer, notificationHub, blockMode);
14
+ registerConfigurationTools(server, storage, rules);
15
+ }
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAMhE;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC9B,MAAiB,EACjB,OAAiB,EACjB,KAAsB,EACtB,QAAwB,EACxB,eAAgC,EAChC,SAAkB;IAElB,uBAAuB,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,CAAC,CAAC;IACtF,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Mund - The Guardian Protocol
3
+ * Monitoring Tools - MCP tools for security monitoring
4
+ */
5
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
6
+ import type { IStorage, DetectionRule } from '../types.js';
7
+ import { AnalyzerEngine } from '../analyzers/index.js';
8
+ import { NotificationHub } from '../notifications/index.js';
9
+ export declare function registerMonitoringTools(server: McpServer, storage: IStorage, rules: DetectionRule[], analyzer: AnalyzerEngine, notificationHub: NotificationHub, blockMode: boolean): void;
10
+ //# sourceMappingURL=monitoring.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitoring.d.ts","sourceRoot":"","sources":["../../src/tools/monitoring.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EACV,QAAQ,EACR,aAAa,EAMd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAuD5D,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAE,aAAa,EAAE,EACtB,QAAQ,EAAE,cAAc,EACxB,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,OAAO,GACjB,IAAI,CAodN"}