@velaro/mcp-server 2.0.77 → 2.0.78

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.77",
3
+ "version": "2.0.78",
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
@@ -4485,6 +4485,11 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
4485
4485
  description: 'Manually trigger a Recruiting Bot job-feed sync for this site (the same code path the hourly scheduled sync uses, idempotent upsert by ExternalId). Requires the EnableRecruitingBot entitlement. Returns { success, error, added, updated, total }.',
4486
4486
  inputSchema: { type: 'object', properties: {}, required: [] },
4487
4487
  },
4488
+ {
4489
+ name: 'workforce_get_settings',
4490
+ description: 'Read-only: list the work schedules of this site with their Workforce Management settings (daily break allowance minutes, enforce availability, after-hours new-chat action). Requires the EnableWorkforceManagement entitlement to take effect. Writes are UI-only (Settings > Schedules) because the schedules save replaces the whole schedule set.',
4491
+ inputSchema: { type: 'object', properties: {}, required: [] },
4492
+ },
4488
4493
  {
4489
4494
  name: 'recruiting_get_config',
4490
4495
  description: 'Get this site\'s Recruiting Bot configuration (jobs feed URL, feed type, recruiter email, company name/description, enabled state).',
@@ -9123,6 +9128,17 @@ ${JSON.stringify(result, null, 2)}`;
9123
9128
  return JSON.stringify(result, null, 2);
9124
9129
  }
9125
9130
 
9131
+ case 'workforce_get_settings': {
9132
+ const rows = await messagingGet('/WorkSchedules');
9133
+ const list = Array.isArray(rows) ? rows : (rows?.schedules ?? []);
9134
+ return JSON.stringify(list.map(x => ({
9135
+ id: x.id, name: x.name, enabled: x.enabled,
9136
+ dailyBreakAllowanceMinutes: x.dailyBreakAllowanceMinutes ?? 0,
9137
+ enforceAvailability: x.enforceAvailability ?? false,
9138
+ afterHoursAction: x.afterHoursAction ?? 'None',
9139
+ })), null, 2);
9140
+ }
9141
+
9126
9142
  case 'recruiting_get_config': {
9127
9143
  const config = await messagingGet('/Recruiting/Config');
9128
9144
  return JSON.stringify(config, null, 2);