@velaro/mcp-server 0.6.84 → 0.6.85
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/package.json +1 -1
- package/server.js +37 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velaro/mcp-server",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.85",
|
|
4
4
|
"description": "Velaro MCP server — connect Claude and other AI agents directly to your Velaro account: KB, workflows, bots, conversations, contacts, routing, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/server.js
CHANGED
|
@@ -2290,6 +2290,21 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
2290
2290
|
},
|
|
2291
2291
|
|
|
2292
2292
|
// ── Campaign Deliverability Intelligence ─────────────────────────────────
|
|
2293
|
+
{
|
|
2294
|
+
name: 'sender_domain_health',
|
|
2295
|
+
description: 'Health of your email sending domains: registration expiry date, DNS records present/missing, email-provider verification, open notices with what to do, and recent history.',
|
|
2296
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
name: 'sender_domain_health_settings',
|
|
2300
|
+
description: 'View or change sender-domain health warning days and the grace days after expiry before sending pauses (per-site override; reset=true returns to the account default).',
|
|
2301
|
+
inputSchema: { type: 'object', properties: { thresholds: { type: 'string', description: 'Comma-separated days, e.g. 60,30,14,7,3,1' }, graceDays: { type: 'number' }, reset: { type: 'boolean' } } },
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
name: 'sender_domain_health_dismiss',
|
|
2305
|
+
description: 'Dismiss a sender-domain health notice by event id (do not remind me). It clears on its own once resolved.',
|
|
2306
|
+
inputSchema: { type: 'object', properties: { eventId: { type: 'number' } }, required: ['eventId'] },
|
|
2307
|
+
},
|
|
2293
2308
|
{
|
|
2294
2309
|
name: 'campaign_sender_auth',
|
|
2295
2310
|
description: 'Check SPF, DKIM, DMARC, BIMI, and MX DNS records for a sending domain. Returns pass/warn/fail per record with details and an overall auth score 0-100.',
|
|
@@ -7567,6 +7582,28 @@ async function handleTool(name, args) {
|
|
|
7567
7582
|
}
|
|
7568
7583
|
|
|
7569
7584
|
// ── Campaign Deliverability Intelligence ─────────────────────────────
|
|
7585
|
+
case 'sender_domain_health': {
|
|
7586
|
+
const r = await api('GET', '/SenderDomains/Health');
|
|
7587
|
+
const lines = (r.domains || []).map(d => `${d.domainName} [${d.healthStatus}] status=${d.status} expires=${d.registrationExpiresOn ? d.registrationExpiresOn.slice(0, 10) + ' (' + d.daysToExpiry + 'd)' : 'unknown'}${d.healthDetail ? '\n ' + d.healthDetail : ''}`);
|
|
7588
|
+
for (const n of (r.notices || [])) lines.push(`ACTION NEEDED ${n.domainName}: ${n.message} | ${n.remedy}`);
|
|
7589
|
+
lines.push(`Warnings at ${r.settings.thresholds.join('/')} days; sending pauses ${r.settings.graceDays}d after expiry.`);
|
|
7590
|
+
return lines.join('\n');
|
|
7591
|
+
}
|
|
7592
|
+
|
|
7593
|
+
case 'sender_domain_health_settings': {
|
|
7594
|
+
if (args.reset || args.thresholds || args.graceDays !== undefined) {
|
|
7595
|
+
const r = await api('PUT', '/SenderDomains/Health/Settings', { thresholds: args.thresholds, graceDays: args.graceDays, reset: args.reset });
|
|
7596
|
+
return JSON.stringify(r);
|
|
7597
|
+
}
|
|
7598
|
+
const h = await api('GET', '/SenderDomains/Health');
|
|
7599
|
+
return JSON.stringify(h.settings);
|
|
7600
|
+
}
|
|
7601
|
+
|
|
7602
|
+
case 'sender_domain_health_dismiss': {
|
|
7603
|
+
if (!args.eventId) return 'Error: eventId required';
|
|
7604
|
+
return JSON.stringify(await api('POST', `/SenderDomains/Health/Events/${args.eventId}/Dismiss`, {}));
|
|
7605
|
+
}
|
|
7606
|
+
|
|
7570
7607
|
case 'campaign_sender_auth': {
|
|
7571
7608
|
const domain = args.domain;
|
|
7572
7609
|
if (!domain) return 'Error: domain required';
|