@velaro/mcp-server 2.0.61 → 2.0.62
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 +29 -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.62",
|
|
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
|
@@ -1382,6 +1382,25 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
1382
1382
|
},
|
|
1383
1383
|
},
|
|
1384
1384
|
|
|
1385
|
+
// ── Moshky change access ('Moshky can make changes') ─────────────────────
|
|
1386
|
+
{
|
|
1387
|
+
name: 'moshky_write_access_get',
|
|
1388
|
+
description: "Show whether 'Moshky can make changes' is on for this site, plus the consent wording and its version.",
|
|
1389
|
+
inputSchema: { type: 'object', properties: {}, required: [] },
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
name: 'moshky_write_access_set',
|
|
1393
|
+
description: "Turn 'Moshky can make changes' on or off for this site (account administrators only; audit-logged). Turning it on requires acknowledged=true and the consentVersion returned by moshky_write_access_get, meaning the customer has read and accepted the consent text.",
|
|
1394
|
+
inputSchema: {
|
|
1395
|
+
type: 'object',
|
|
1396
|
+
properties: {
|
|
1397
|
+
enabled: { type: 'boolean' },
|
|
1398
|
+
acknowledged: { type: 'boolean', description: 'Customer accepted the consent text (required when enabling)' },
|
|
1399
|
+
consentVersion: { type: 'string', description: 'consentVersion from moshky_write_access_get (required when enabling)' },
|
|
1400
|
+
},
|
|
1401
|
+
required: ['enabled'],
|
|
1402
|
+
},
|
|
1403
|
+
},
|
|
1385
1404
|
// ── Copilot Studio / Azure AI Agent connections ──────────────────────────
|
|
1386
1405
|
{
|
|
1387
1406
|
name: 'copilot_studio_list',
|
|
@@ -5864,6 +5883,16 @@ async function handleTool(name, args) {
|
|
|
5864
5883
|
}
|
|
5865
5884
|
|
|
5866
5885
|
// ── Copilot Studio / Azure AI Agent connections ────────────────────────
|
|
5886
|
+
case 'moshky_write_access_get': {
|
|
5887
|
+
return JSON.stringify(await api('GET', '/Copilot/WriteAccess'), null, 2);
|
|
5888
|
+
}
|
|
5889
|
+
case 'moshky_write_access_set': {
|
|
5890
|
+
return JSON.stringify(await api('PUT', '/Copilot/WriteAccess', {
|
|
5891
|
+
enabled: !!args.enabled,
|
|
5892
|
+
acknowledged: !!args.acknowledged,
|
|
5893
|
+
consentVersion: args.consentVersion || '',
|
|
5894
|
+
}), null, 2);
|
|
5895
|
+
}
|
|
5867
5896
|
case 'copilot_studio_list': {
|
|
5868
5897
|
const configs = await api('GET', '/CopilotStudio/configs');
|
|
5869
5898
|
if (!Array.isArray(configs) || !configs.length) {
|