@velaro/mcp-server 2.0.107 → 2.0.108
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velaro/mcp-server",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.108",
|
|
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": {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// velaro automation-addon (customer): status, limits and usage of the Automation and API add-on, and pause / resume.
|
|
2
|
+
// Parity module (CLI group -> MCP tools). The site comes from the credential; pausing needs a site administrator and keeps all configuration.
|
|
3
|
+
|
|
4
|
+
export const tools = [
|
|
5
|
+
{
|
|
6
|
+
name: 'automation_addon_get',
|
|
7
|
+
description: 'Show whether the Automation and API add-on (API keys, webhooks, Zapier, n8n, Make, Power Automate and workflow triggers) is active, paused or not added for your site, with its limits and current usage.',
|
|
8
|
+
inputSchema: { type: 'object', properties: {} },
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
name: 'automation_addon_set',
|
|
12
|
+
description: 'Pause (enabled=false) or resume (enabled=true) the Automation and API add-on on your site. Site administrators only. Pausing keeps every API key, webhook and setting; resuming restores them. 404 when your site does not have the add-on.',
|
|
13
|
+
inputSchema: { type: 'object', properties: { enabled: { type: 'boolean', description: 'false to pause, true to resume' } }, required: ['enabled'] },
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
export const handlers = {
|
|
18
|
+
automation_addon_get: async (_a, ctx) => ctx.api('GET', '/AutomationAddon'),
|
|
19
|
+
automation_addon_set: async (a, ctx) => {
|
|
20
|
+
if (typeof a.enabled !== 'boolean') throw new Error('enabled must be true or false');
|
|
21
|
+
return ctx.api('PUT', '/AutomationAddon', { enabled: a.enabled });
|
|
22
|
+
},
|
|
23
|
+
};
|