@velaro/mcp-server 2.0.112 → 2.0.113
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 +20 -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.113",
|
|
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
|
@@ -5052,6 +5052,20 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
5052
5052
|
// ── Booking defaults and presets ──────────────────────────────────────────────
|
|
5053
5053
|
// Backend: server/Velaro.Messaging/Controllers/BookingDefaultsController.cs at /BookingDefaults.
|
|
5054
5054
|
// SiteId derives from the caller's auth context, never a tool argument (IDOR).
|
|
5055
|
+
{
|
|
5056
|
+
name: 'scheduler_selection_get',
|
|
5057
|
+
description: 'Show which scheduler receives new bookings for this site (writeTargetSlug; empty means the first connected calendar).',
|
|
5058
|
+
inputSchema: { type: 'object', properties: {}, required: [] },
|
|
5059
|
+
},
|
|
5060
|
+
{
|
|
5061
|
+
name: 'scheduler_selection_update',
|
|
5062
|
+
description: 'Choose which scheduler receives new bookings. Pass writeTargetSlug: GoogleCalendar, OutlookCalendar, MicrosoftBookings, Calendly, Acuity, CalCom, or null for Velaro.',
|
|
5063
|
+
inputSchema: {
|
|
5064
|
+
type: 'object',
|
|
5065
|
+
properties: { writeTargetSlug: { type: ['string', 'null'], description: 'Provider slug or null' } },
|
|
5066
|
+
required: ['writeTargetSlug'],
|
|
5067
|
+
},
|
|
5068
|
+
},
|
|
5055
5069
|
{
|
|
5056
5070
|
name: 'booking_defaults_get',
|
|
5057
5071
|
description: 'Get this site\'s booking defaults (default provider, preset, length, meeting type, location, time zone, which contact fields are pre-filled) and its booking presets ("Demo 30 min" style choices offered on every channel). A site with nothing saved returns the built-in defaults and an empty preset list.',
|
|
@@ -9821,6 +9835,12 @@ ${JSON.stringify(result, null, 2)}`;
|
|
|
9821
9835
|
}
|
|
9822
9836
|
|
|
9823
9837
|
// -- Booking defaults and presets --
|
|
9838
|
+
case 'scheduler_selection_get': {
|
|
9839
|
+
return JSON.stringify(await messagingGet('/Appointments/Settings'), null, 2);
|
|
9840
|
+
}
|
|
9841
|
+
case 'scheduler_selection_update': {
|
|
9842
|
+
return JSON.stringify(await messagingPost('/Appointments/Settings', { writeTargetSlug: args.writeTargetSlug ?? null }), null, 2);
|
|
9843
|
+
}
|
|
9824
9844
|
case 'booking_defaults_get': {
|
|
9825
9845
|
const result = await messagingGet('/BookingDefaults');
|
|
9826
9846
|
return JSON.stringify(result, null, 2);
|