@dexmond/mcp-server 2.1.0 → 2.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.
- package/index.mjs +45 -4
- package/package.json +2 -2
- package/server.json +2 -2
package/index.mjs
CHANGED
|
@@ -177,16 +177,42 @@ const TOOLS = [
|
|
|
177
177
|
name: 'dexmond_security_review',
|
|
178
178
|
service: 'ai',
|
|
179
179
|
operation: 'security_review',
|
|
180
|
-
description: 'Zero-trust static + AI code & config security audit detecting SQLi, XSS,
|
|
180
|
+
description: 'Zero-trust 17-CWE static + AI code & config security audit detecting SSRF, Path Traversal, SQLi, XSS, Pickle/YAML deser, shell=True, JWT bypass, LLM01, and hardcoded secrets (100 credits).',
|
|
181
181
|
inputSchema: { type: 'object', required: ['code'], properties: { code: { type: 'string' }, language: { type: 'string' }, deep_ai_analysis: { type: 'boolean' } } },
|
|
182
182
|
},
|
|
183
|
+
{
|
|
184
|
+
name: 'dexmond_discover_modules',
|
|
185
|
+
service: 'modules',
|
|
186
|
+
operation: 'discover',
|
|
187
|
+
publicDiscovery: true,
|
|
188
|
+
description: 'Discover all verified Dexmond operational environments (Sentinel, Android ProLab, Shield, MIE, SQL-Alpha, CypherNight, Law, etc.), versions, pricing, and read_only vs. mutating safety classifications (free, no key required).',
|
|
189
|
+
inputSchema: {
|
|
190
|
+
type: 'object',
|
|
191
|
+
properties: {
|
|
192
|
+
module: { type: 'string', description: 'Optional module_id filter (e.g. sentinel, prolab, shield)' },
|
|
193
|
+
category: { type: 'string', description: 'Optional category filter (e.g. cybersecurity, device_operations)' },
|
|
194
|
+
access_class: { type: 'string', description: 'Optional access class filter (read_only, state_mutating, authorized_target_required, async_isolated_sandbox)' },
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
183
198
|
];
|
|
184
199
|
|
|
185
200
|
function send(obj) {
|
|
186
201
|
process.stdout.write(JSON.stringify(obj) + '\n');
|
|
187
202
|
}
|
|
188
203
|
|
|
204
|
+
const MODULES_URL = API_URL.replace(/\/commerce\.php$/, '/modules.php');
|
|
205
|
+
|
|
189
206
|
async function invokeDexmond(tool, args) {
|
|
207
|
+
if (tool.publicDiscovery) {
|
|
208
|
+
const qs = new URLSearchParams();
|
|
209
|
+
if (args?.module) qs.set('module', String(args.module));
|
|
210
|
+
if (args?.category) qs.set('category', String(args.category));
|
|
211
|
+
if (args?.access_class) qs.set('access_class', String(args.access_class));
|
|
212
|
+
const res = await fetch(`${MODULES_URL}${qs.toString() ? `?${qs}` : ''}`, { headers: { Accept: 'application/json' } });
|
|
213
|
+
const text = await res.text();
|
|
214
|
+
return { isError: !res.ok, content: [{ type: 'text', text }] };
|
|
215
|
+
}
|
|
190
216
|
if (!API_KEY) {
|
|
191
217
|
return {
|
|
192
218
|
isError: true,
|
|
@@ -216,7 +242,7 @@ async function invokeDexmond(tool, args) {
|
|
|
216
242
|
};
|
|
217
243
|
}
|
|
218
244
|
|
|
219
|
-
const SERVER_VERSION = '2.
|
|
245
|
+
const SERVER_VERSION = '2.2.0';
|
|
220
246
|
|
|
221
247
|
const PROMPTS = [
|
|
222
248
|
{
|
|
@@ -251,7 +277,13 @@ const RESOURCES = [
|
|
|
251
277
|
{
|
|
252
278
|
uri: 'dexmond://security/benchmark',
|
|
253
279
|
name: 'Dexmond Adversarial Benchmark Metrics',
|
|
254
|
-
description: 'Verified CI benchmark metrics (
|
|
280
|
+
description: 'Verified CI benchmark metrics (138 assertions, 25/25 Prompt Guard @ 0% FPR, 25/25 DLP @ 0% FPR, 17 CWE rules + module safety invariants).',
|
|
281
|
+
mimeType: 'application/json',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
uri: 'dexmond://modules/registry',
|
|
285
|
+
name: 'Dexmond Operational Modules Discovery Registry',
|
|
286
|
+
description: 'Live machine-readable registry of Dexmond operational modules, access classes, scopes & pricing (/api/v1/modules.php).',
|
|
255
287
|
mimeType: 'application/json',
|
|
256
288
|
},
|
|
257
289
|
];
|
|
@@ -337,7 +369,7 @@ rl.on('line', async (line) => {
|
|
|
337
369
|
uri,
|
|
338
370
|
mimeType: 'application/json',
|
|
339
371
|
text: JSON.stringify({
|
|
340
|
-
total_assertions:
|
|
372
|
+
total_assertions: 138,
|
|
341
373
|
prompt_guard_v2: { attacks_caught: '25/25', benign_fpr: '0.0%' },
|
|
342
374
|
shield_dlp_v2: { detectors: 62, recall: '25/25', benign_fpr: '0.0%' },
|
|
343
375
|
mie_malware_hashes: 29737,
|
|
@@ -348,6 +380,15 @@ rl.on('line', async (line) => {
|
|
|
348
380
|
},
|
|
349
381
|
});
|
|
350
382
|
}
|
|
383
|
+
if (uri === 'dexmond://modules/registry') {
|
|
384
|
+
try {
|
|
385
|
+
const res = await fetch(MODULES_URL, { headers: { Accept: 'application/json' } });
|
|
386
|
+
const text = await res.text();
|
|
387
|
+
return send({ jsonrpc: '2.0', id, result: { contents: [{ uri, mimeType: 'application/json', text }] } });
|
|
388
|
+
} catch (err) {
|
|
389
|
+
return send({ jsonrpc: '2.0', id, result: { contents: [{ uri, mimeType: 'application/json', text: JSON.stringify({ error: String(err.message || err), fallback_url: MODULES_URL }) }] } });
|
|
390
|
+
}
|
|
391
|
+
}
|
|
351
392
|
return send({ jsonrpc: '2.0', id, error: { code: -32602, message: `Unknown resource URI: ${uri}` } });
|
|
352
393
|
}
|
|
353
394
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexmond/mcp-server",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Official zero-dependency Dexmond Technologies MCP Server — exposes
|
|
3
|
+
"version": "2.2.0",
|
|
4
|
+
"description": "Official zero-dependency Dexmond Technologies MCP Server — exposes 23 EU-hosted operational security & discovery tools, 4 built-in slash prompts & 3 resources to Claude Code, Cursor, Gemini, Windsurf & MCP agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"dexmond-mcp": "./index.mjs"
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "com.dexmond/dexmond-mcp",
|
|
4
4
|
"title": "Dexmond Commercial API MCP Server (22 Security, Malware, SQL/RLS & Compliance Tools)",
|
|
5
5
|
"description": "Zero-dependency official MCP server exposing 22 EU-hosted zero-payload-persistence tools: Dexmond Shield DLP v2 (62 detectors + Shannon entropy) & Prompt Guard v2, MIE V1.0 (29,700+ live malware IOCs + static scan), Android ProLab APK Audit, SQL-Alpha RLS Audit, Agent Law EU GDPR/AI Act, CypherNight Crypto/Forensics, Sentinel 2.0 Firewall Compiler, Project Elysium Orbital Decay, Orbital/Global Risk Intel & Zero-Leak AI.",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.2.0",
|
|
7
7
|
"homepage": "https://dexmond.com/integrations.html",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/Dexmond-Technologies/dexmond-sdk",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"registryType": "npm",
|
|
16
16
|
"identifier": "@dexmond/mcp-server",
|
|
17
|
-
"version": "2.
|
|
17
|
+
"version": "2.2.0",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
20
20
|
},
|