@velaro/mcp-server 2.0.93 → 2.0.95
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 +34 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velaro/mcp-server",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.95",
|
|
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
|
@@ -2563,6 +2563,21 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
2563
2563
|
description: 'Set the order revenue attribution window in days (1-30). Applies to orders attributed from now on.',
|
|
2564
2564
|
inputSchema: { type: 'object', properties: { windowDays: { type: 'number', description: '1 to 30' } }, required: ['windowDays'] },
|
|
2565
2565
|
},
|
|
2566
|
+
{
|
|
2567
|
+
name: 'site_email_sender_get',
|
|
2568
|
+
description: "Get this account's default From name and address per mail source (campaign, ticket, notification), the effective sender and where it comes from (source, account, velaro-default, built-in), and the verified sending domains an address may use.",
|
|
2569
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
name: 'site_email_sender_set',
|
|
2573
|
+
description: "Set this account's From name and/or address for a mail source. The address must be a plain email on one of the account's verified sending domains. A blank value clears that field.",
|
|
2574
|
+
inputSchema: { type: 'object', properties: { source: { type: 'string', description: 'Mail source: campaign, ticket or notification' }, fromName: { type: 'string' }, fromAddress: { type: 'string', description: 'Plain email, e.g. news@yourcompany.com' } }, required: ['source'] },
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
name: 'site_email_sender_reset',
|
|
2578
|
+
description: 'Reset a mail source back to the account default sender.',
|
|
2579
|
+
inputSchema: { type: 'object', properties: { source: { type: 'string', description: 'Mail source: campaign, ticket or notification' } }, required: ['source'] },
|
|
2580
|
+
},
|
|
2566
2581
|
{
|
|
2567
2582
|
name: 'report_campaign_deliverability',
|
|
2568
2583
|
description: 'Deliverability health check — bounce rate, complaint rate, unsubscribe rate, open rate. Each metric has a traffic-light status (green/yellow/red) and actionable recommendations.',
|
|
@@ -7486,6 +7501,25 @@ reply: ${r?.reply}`;
|
|
|
7486
7501
|
return `Revenue attribution window set to ${r.windowDays} days.`;
|
|
7487
7502
|
}
|
|
7488
7503
|
|
|
7504
|
+
case 'site_email_sender_get': {
|
|
7505
|
+
const r = await api('GET', '/SiteSenderSettings');
|
|
7506
|
+
const lines = (r.sources || []).map(s => `${s.source}: ${s.effective.fromName} <${s.effective.fromAddress}> (from ${s.effective.origin}${s.isOverridden ? ', overridden' : ''})`);
|
|
7507
|
+
return lines.join('\n') + `\nVerified sending domains: ${(r.verifiedDomains || []).join(', ') || 'none'}`;
|
|
7508
|
+
}
|
|
7509
|
+
|
|
7510
|
+
case 'site_email_sender_set': {
|
|
7511
|
+
const body = {};
|
|
7512
|
+
if (args.fromName !== undefined) body.fromName = args.fromName;
|
|
7513
|
+
if (args.fromAddress !== undefined) body.fromAddress = args.fromAddress;
|
|
7514
|
+
const r = await api('PUT', `/SiteSenderSettings/${encodeURIComponent(args.source)}`, body);
|
|
7515
|
+
return `Sender for ${r.source} is now ${r.effective.fromName} <${r.effective.fromAddress}>.`;
|
|
7516
|
+
}
|
|
7517
|
+
|
|
7518
|
+
case 'site_email_sender_reset': {
|
|
7519
|
+
const r = await api('DELETE', `/SiteSenderSettings/${encodeURIComponent(args.source)}`);
|
|
7520
|
+
return `Sender for ${r.source} reset to the account default (${r.effective.fromAddress}).`;
|
|
7521
|
+
}
|
|
7522
|
+
|
|
7489
7523
|
case 'report_campaign_deliverability': {
|
|
7490
7524
|
const days = args.days ?? 30;
|
|
7491
7525
|
const r = await api('GET', `/CampaignReports/Deliverability?days=${days}`);
|