@dexmond/mcp-server 2.0.0 → 2.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.
- package/index.mjs +112 -3
- package/package.json +5 -5
- package/server.json +34 -18
- package/smithery.yaml +3 -3
package/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* Official Dexmond Technologies MCP Server v2.0 (Zero-Dependency stdio JSON-RPC 2.0)
|
|
4
|
-
* Exposes the Full Dexmond Commercial API Suite (
|
|
4
|
+
* Exposes the Full Dexmond Commercial API Suite (22 tools) to Claude, Cursor, Antigravity & AI Agents.
|
|
5
5
|
*
|
|
6
6
|
* Environment variables:
|
|
7
7
|
* DEXMOND_API_KEY (required: dx_live_... key from https://dexmond.com/dashboard.html#developer)
|
|
@@ -216,6 +216,46 @@ async function invokeDexmond(tool, args) {
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
const SERVER_VERSION = '2.1.0';
|
|
220
|
+
|
|
221
|
+
const PROMPTS = [
|
|
222
|
+
{
|
|
223
|
+
name: 'audit-pr-diff',
|
|
224
|
+
description: 'Run a full Dexmond zero-trust security review on a pull request diff (DLP secrets, CWE static audit, and SQL/RLS checks).',
|
|
225
|
+
arguments: [{ name: 'diff', description: 'Git diff or changed code snippet to audit', required: true }],
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: 'audit-sql-migration',
|
|
229
|
+
description: 'Audit a PostgreSQL / Supabase SQL migration for SQLi, COPY PROGRAM RCE, permissive USING(true) policies, and missing ENABLE/FORCE RLS.',
|
|
230
|
+
arguments: [{ name: 'sql', description: 'SQL migration or schema DDL', required: true }],
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: 'gdpr-ai-act-review',
|
|
234
|
+
description: 'Screen a privacy policy, feature spec, or data-processing flow against EU GDPR (Arts. 6–44) and EU AI Act (Art. 5 & Annex III).',
|
|
235
|
+
arguments: [{ name: 'document', description: 'Policy text or product specification', required: true }],
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: 'compile-zero-trust-firewall',
|
|
239
|
+
description: 'Validate firewall rules and compile hardened nftables (ct state invalid drop) + Kubernetes NetworkPolicy YAML via Sentinel 2.0.',
|
|
240
|
+
arguments: [{ name: 'rules_json', description: 'JSON array of firewall rules (action, protocol, port, source_cidr)', required: true }],
|
|
241
|
+
},
|
|
242
|
+
];
|
|
243
|
+
|
|
244
|
+
const RESOURCES = [
|
|
245
|
+
{
|
|
246
|
+
uri: 'dexmond://catalog/tools',
|
|
247
|
+
name: 'Dexmond MCP Tool Catalog (22 Tools)',
|
|
248
|
+
description: 'Live JSON catalog of all 22 EU-hosted security, AI firewall, SQL, GDPR/AI Act, malware, and DevSecOps tools.',
|
|
249
|
+
mimeType: 'application/json',
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
uri: 'dexmond://security/benchmark',
|
|
253
|
+
name: 'Dexmond Adversarial Benchmark Metrics',
|
|
254
|
+
description: 'Verified CI benchmark metrics (132 assertions, 25/25 Prompt Guard @ 0% FPR, 25/25 DLP @ 0% FPR, 17 CWE rules).',
|
|
255
|
+
mimeType: 'application/json',
|
|
256
|
+
},
|
|
257
|
+
];
|
|
258
|
+
|
|
219
259
|
const rl = readline.createInterface({ input: process.stdin, crlfDelay: Infinity });
|
|
220
260
|
rl.on('line', async (line) => {
|
|
221
261
|
const trimmed = line.trim();
|
|
@@ -232,8 +272,8 @@ rl.on('line', async (line) => {
|
|
|
232
272
|
id,
|
|
233
273
|
result: {
|
|
234
274
|
protocolVersion: '2024-11-05',
|
|
235
|
-
serverInfo: { name: 'dexmond-mcp', version:
|
|
236
|
-
capabilities: { tools: {} },
|
|
275
|
+
serverInfo: { name: 'dexmond-mcp', version: SERVER_VERSION },
|
|
276
|
+
capabilities: { tools: {}, prompts: {}, resources: {} },
|
|
237
277
|
},
|
|
238
278
|
});
|
|
239
279
|
}
|
|
@@ -242,6 +282,75 @@ rl.on('line', async (line) => {
|
|
|
242
282
|
return;
|
|
243
283
|
}
|
|
244
284
|
|
|
285
|
+
if (method === 'prompts/list') {
|
|
286
|
+
return send({ jsonrpc: '2.0', id, result: { prompts: PROMPTS } });
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
if (method === 'prompts/get') {
|
|
290
|
+
const pName = msg.params?.name;
|
|
291
|
+
const pArgs = msg.params?.arguments || {};
|
|
292
|
+
const promptDef = PROMPTS.find((p) => p.name === pName);
|
|
293
|
+
if (!promptDef) {
|
|
294
|
+
return send({ jsonrpc: '2.0', id, error: { code: -32602, message: `Unknown prompt: ${pName}` } });
|
|
295
|
+
}
|
|
296
|
+
const templates = {
|
|
297
|
+
'audit-pr-diff': `Audit the following PR diff using Dexmond MCP tools in sequence:\n1. Call dexmond_dlp_scan on the diff to detect leaked secrets/keys/PII.\n2. Call dexmond_ai_security_review to detect OWASP/CWE vulnerabilities.\n3. If SQL is present, call dexmond_sql_audit.\nSummarize findings by severity with exact remediations.\n\nDIFF:\n${pArgs.diff || ''}`,
|
|
298
|
+
'audit-sql-migration': `Call dexmond_sql_audit on the SQL below and report security_score, grade, missing ENABLE/FORCE RLS tables, permissive USING(true) policies, and RCE sinks:\n\n${pArgs.sql || ''}`,
|
|
299
|
+
'gdpr-ai-act-review': `Call dexmond_gdpr_screen on the document below and summarize GDPR article gaps, EU AI Act Art. 5 prohibited practices, Annex III high-risk triggers, and concrete compliance fixes:\n\n${pArgs.document || ''}`,
|
|
300
|
+
'compile-zero-trust-firewall': `Call dexmond_sentinel_policy with default_inbound="deny" and these rules, then present warnings alongside both the compiled nftables_config and kubernetes_network_policy_yaml:\n\n${pArgs.rules_json || '[]'}`,
|
|
301
|
+
};
|
|
302
|
+
return send({
|
|
303
|
+
jsonrpc: '2.0',
|
|
304
|
+
id,
|
|
305
|
+
result: {
|
|
306
|
+
description: promptDef.description,
|
|
307
|
+
messages: [{ role: 'user', content: { type: 'text', text: templates[pName] } }],
|
|
308
|
+
},
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
if (method === 'resources/list') {
|
|
313
|
+
return send({ jsonrpc: '2.0', id, result: { resources: RESOURCES } });
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (method === 'resources/read') {
|
|
317
|
+
const uri = msg.params?.uri;
|
|
318
|
+
if (uri === 'dexmond://catalog/tools') {
|
|
319
|
+
return send({
|
|
320
|
+
jsonrpc: '2.0',
|
|
321
|
+
id,
|
|
322
|
+
result: {
|
|
323
|
+
contents: [{
|
|
324
|
+
uri,
|
|
325
|
+
mimeType: 'application/json',
|
|
326
|
+
text: JSON.stringify({ server: 'dexmond-mcp', version: SERVER_VERSION, tool_count: TOOLS.length, tools: TOOLS.map(({ name, service, operation, description }) => ({ name, service, operation, description })) }, null, 2),
|
|
327
|
+
}],
|
|
328
|
+
},
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
if (uri === 'dexmond://security/benchmark') {
|
|
332
|
+
return send({
|
|
333
|
+
jsonrpc: '2.0',
|
|
334
|
+
id,
|
|
335
|
+
result: {
|
|
336
|
+
contents: [{
|
|
337
|
+
uri,
|
|
338
|
+
mimeType: 'application/json',
|
|
339
|
+
text: JSON.stringify({
|
|
340
|
+
total_assertions: 132,
|
|
341
|
+
prompt_guard_v2: { attacks_caught: '25/25', benign_fpr: '0.0%' },
|
|
342
|
+
shield_dlp_v2: { detectors: 62, recall: '25/25', benign_fpr: '0.0%' },
|
|
343
|
+
mie_malware_hashes: 29737,
|
|
344
|
+
ai_security_review_v2_cwe_rules: 17,
|
|
345
|
+
docs_url: 'https://dexmond.com/compare.html',
|
|
346
|
+
}, null, 2),
|
|
347
|
+
}],
|
|
348
|
+
},
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
return send({ jsonrpc: '2.0', id, error: { code: -32602, message: `Unknown resource URI: ${uri}` } });
|
|
352
|
+
}
|
|
353
|
+
|
|
245
354
|
if (method === 'tools/list') {
|
|
246
355
|
return send({
|
|
247
356
|
jsonrpc: '2.0',
|
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 22 EU-hosted security
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "Official zero-dependency Dexmond Technologies MCP Server — exposes 22 EU-hosted security tools, 4 built-in slash prompts & 2 resources to Claude Code, Cursor, Windsurf, and MCP agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"dexmond-mcp": "./index.mjs"
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"homepage": "https://dexmond.com/integrations.html",
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "https://github.com/Dexmond-Technologies/
|
|
40
|
-
"directory": "mcp
|
|
39
|
+
"url": "https://github.com/Dexmond-Technologies/dexmond-sdk.git",
|
|
40
|
+
"directory": "packages/mcp-server"
|
|
41
41
|
},
|
|
42
42
|
"bugs": {
|
|
43
|
-
"url": "https://github.com/Dexmond-Technologies/dexmond-
|
|
43
|
+
"url": "https://github.com/Dexmond-Technologies/dexmond-sdk/issues"
|
|
44
44
|
}
|
|
45
45
|
}
|
package/server.json
CHANGED
|
@@ -1,25 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
|
|
2
3
|
"name": "com.dexmond/dexmond-mcp",
|
|
3
|
-
"title": "Dexmond Commercial API MCP Server (22 Security,
|
|
4
|
-
"description": "Zero-dependency official MCP server exposing 22
|
|
5
|
-
"version": "2.
|
|
6
|
-
"homepage": "https://dexmond.com/
|
|
4
|
+
"title": "Dexmond Commercial API MCP Server (22 Security, Malware, SQL/RLS & Compliance Tools)",
|
|
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.1.0",
|
|
7
|
+
"homepage": "https://dexmond.com/integrations.html",
|
|
8
|
+
"repository": {
|
|
9
|
+
"url": "https://github.com/Dexmond-Technologies/dexmond-sdk",
|
|
10
|
+
"source": "github",
|
|
11
|
+
"subfolder": "packages/mcp-server"
|
|
12
|
+
},
|
|
13
|
+
"packages": [
|
|
14
|
+
{
|
|
15
|
+
"registryType": "npm",
|
|
16
|
+
"identifier": "@dexmond/mcp-server",
|
|
17
|
+
"version": "2.1.0",
|
|
18
|
+
"transport": {
|
|
19
|
+
"type": "stdio"
|
|
20
|
+
},
|
|
21
|
+
"environmentVariables": [
|
|
22
|
+
{
|
|
23
|
+
"name": "DEXMOND_API_KEY",
|
|
24
|
+
"description": "Dexmond dx_live_... API key from https://dexmond.com/dashboard.html#developer (250 free starter credits included)",
|
|
25
|
+
"isRequired": true,
|
|
26
|
+
"isSecret": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "DEXMOND_API_URL",
|
|
30
|
+
"description": "Optional gateway override (default: https://dexmond.com/api/v1/commerce.php)",
|
|
31
|
+
"isRequired": false,
|
|
32
|
+
"isSecret": false
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
7
37
|
"pricing": "https://dexmond.com/pricing.html",
|
|
8
38
|
"trustCenter": "https://dexmond.com/security-trust.html",
|
|
9
39
|
"license": "MIT",
|
|
10
|
-
"runtime": "node>=18",
|
|
11
|
-
"transport": "stdio",
|
|
12
|
-
"command": "node",
|
|
13
|
-
"args": ["index.mjs"],
|
|
14
|
-
"env": {
|
|
15
|
-
"DEXMOND_API_KEY": {
|
|
16
|
-
"required": true,
|
|
17
|
-
"description": "Customer dx_live_... API key from https://dexmond.com/dashboard.html#developer (250 free starter credits included)"
|
|
18
|
-
},
|
|
19
|
-
"DEXMOND_API_URL": {
|
|
20
|
-
"required": false,
|
|
21
|
-
"default": "https://dexmond.com/api/v1/commerce.php"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
40
|
"toolCount": 22
|
|
25
41
|
}
|
package/smithery.yaml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Smithery / MCP Directory Manifest for
|
|
1
|
+
# Smithery / MCP Directory Manifest for @dexmond/mcp-server v2.0.1
|
|
2
2
|
startCommand:
|
|
3
3
|
type: stdio
|
|
4
4
|
configSchema:
|
|
@@ -16,8 +16,8 @@ startCommand:
|
|
|
16
16
|
description: "Dexmond Commercial Gateway URL"
|
|
17
17
|
commandFunction: |-
|
|
18
18
|
(config) => ({
|
|
19
|
-
command: '
|
|
20
|
-
args: ['
|
|
19
|
+
command: 'npx',
|
|
20
|
+
args: ['-y', '@dexmond/mcp-server'],
|
|
21
21
|
env: {
|
|
22
22
|
DEXMOND_API_KEY: config.dexmondApiKey,
|
|
23
23
|
DEXMOND_API_URL: config.dexmondApiUrl || 'https://dexmond.com/api/v1/commerce.php'
|