@velaro/mcp-server 0.6.68 → 0.6.69
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 +70 -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.69",
|
|
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
|
@@ -2756,6 +2756,59 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
2756
2756
|
},
|
|
2757
2757
|
},
|
|
2758
2758
|
|
|
2759
|
+
// ── Velaro Avatar (first-party provider) — library, personalities, site/group inheritance ──
|
|
2760
|
+
{
|
|
2761
|
+
name: 'avatar_list_library',
|
|
2762
|
+
description: 'List Velaro Avatar library entries (realistic and character) with id slug, name, kind, hasImage, default personality. Lives in velaro-messaging — requires VELARO_MESSAGING_API.',
|
|
2763
|
+
inputSchema: { type: 'object', properties: { kind: { type: 'string', description: '"realistic" or "character". Omit for all.' } } },
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
name: 'avatar_list_personalities',
|
|
2767
|
+
description: 'List Velaro Avatar personality presets (tone/style) that can be selected at site or group level.',
|
|
2768
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
name: 'avatar_set_site_default',
|
|
2772
|
+
description: 'Set the calling site\'s default avatar provider, avatar and personality (applies to all groups without an override). Provider "velaro" is the default Velaro-owned avatar; "simli", "d-id", "heygen", "none" also valid.',
|
|
2773
|
+
inputSchema: {
|
|
2774
|
+
type: 'object',
|
|
2775
|
+
properties: {
|
|
2776
|
+
providerSlug: { type: 'string', description: 'velaro | simli | d-id | heygen | none' },
|
|
2777
|
+
avatarId: { type: 'string', description: 'Library slug when provider is velaro, else the provider avatar id.' },
|
|
2778
|
+
personalityPresetSlug: { type: 'string', description: 'Personality preset slug.' },
|
|
2779
|
+
},
|
|
2780
|
+
},
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
name: 'avatar_get_group_effective',
|
|
2784
|
+
description: 'Show the effective avatar settings for a group (group override field, else site default) and whether an override exists.',
|
|
2785
|
+
inputSchema: { type: 'object', properties: { groupId: { type: 'number' } }, required: ['groupId'] },
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
name: 'avatar_set_group_override',
|
|
2789
|
+
description: 'Override avatar/personality/provider for one group. Omitted fields inherit the site default.',
|
|
2790
|
+
inputSchema: {
|
|
2791
|
+
type: 'object',
|
|
2792
|
+
properties: {
|
|
2793
|
+
groupId: { type: 'number' },
|
|
2794
|
+
providerSlug: { type: 'string' },
|
|
2795
|
+
avatarId: { type: 'string' },
|
|
2796
|
+
personalityPresetSlug: { type: 'string' },
|
|
2797
|
+
},
|
|
2798
|
+
required: ['groupId'],
|
|
2799
|
+
},
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
name: 'avatar_reset_group',
|
|
2803
|
+
description: 'Reset one group to the site default avatar settings (removes its override).',
|
|
2804
|
+
inputSchema: { type: 'object', properties: { groupId: { type: 'number' } }, required: ['groupId'] },
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
name: 'avatar_reset_all_overrides',
|
|
2808
|
+
description: 'Reset ALL group overrides for the calling site back to the site default.',
|
|
2809
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2810
|
+
},
|
|
2811
|
+
|
|
2759
2812
|
// ── Calendly integration management (superadmin) ──────────────────────────
|
|
2760
2813
|
{
|
|
2761
2814
|
name: 'calendly_get_status',
|
|
@@ -7488,6 +7541,23 @@ async function handleTool(name, args) {
|
|
|
7488
7541
|
return `✓ AI Video Avatar updated for site ${args.siteId}. Provider: ${res.providerSlug}, enabled: ${res.enabled}`;
|
|
7489
7542
|
}
|
|
7490
7543
|
|
|
7544
|
+
case 'avatar_list_library':
|
|
7545
|
+
return JSON.stringify(await messagingRequest('GET', `/avatar/library${args.kind ? `?kind=${encodeURIComponent(args.kind)}` : ''}`), null, 2);
|
|
7546
|
+
case 'avatar_list_personalities':
|
|
7547
|
+
return JSON.stringify(await messagingRequest('GET', '/avatar/personalities'), null, 2);
|
|
7548
|
+
case 'avatar_set_site_default':
|
|
7549
|
+
return JSON.stringify(await messagingRequest('POST', '/avatar/site-default', {
|
|
7550
|
+
providerSlug: args.providerSlug, avatarId: args.avatarId, personalityPresetSlug: args.personalityPresetSlug }), null, 2);
|
|
7551
|
+
case 'avatar_get_group_effective':
|
|
7552
|
+
return JSON.stringify(await messagingRequest('GET', `/avatar/groups/${Number(args.groupId)}/effective`), null, 2);
|
|
7553
|
+
case 'avatar_set_group_override':
|
|
7554
|
+
return JSON.stringify(await messagingRequest('PUT', `/avatar/groups/${Number(args.groupId)}/override`, {
|
|
7555
|
+
providerSlug: args.providerSlug, avatarId: args.avatarId, personalityPresetSlug: args.personalityPresetSlug }), null, 2);
|
|
7556
|
+
case 'avatar_reset_group':
|
|
7557
|
+
return JSON.stringify(await messagingRequest('DELETE', `/avatar/groups/${Number(args.groupId)}/override`), null, 2);
|
|
7558
|
+
case 'avatar_reset_all_overrides':
|
|
7559
|
+
return JSON.stringify(await messagingRequest('POST', '/avatar/group-overrides/reset-all', {}), null, 2);
|
|
7560
|
+
|
|
7491
7561
|
case 'calendly_get_status': {
|
|
7492
7562
|
// `env`, when given, targets one specific admin API environment instead of whatever
|
|
7493
7563
|
// VELARO_ADMIN_API this server process happens to be configured with — see ADMIN_API_HOSTS
|