@velaro/mcp-server 2.0.71 → 2.0.72

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 +24 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.71",
3
+ "version": "2.0.72",
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
@@ -1475,6 +1475,16 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
1475
1475
  },
1476
1476
 
1477
1477
  // ── Monday.com field mapping / CRM search ────────────────────────────────
1478
+ {
1479
+ name: 'make_get_payload_fields',
1480
+ description: 'Show the Payload Fields declared for the Make integration. Declared fields are the required keys the AI sends in the data object; the AI is told the exact keys and a call with other keys is returned to it so it can retry. Empty means the AI chooses its own keys.',
1481
+ inputSchema: { type: 'object', properties: {}, required: [] },
1482
+ },
1483
+ {
1484
+ name: 'make_set_payload_fields',
1485
+ description: 'Replace the Make integration Payload Fields (complete list; empty array clears). Names: letters, numbers, underscore, hyphen, max 100 chars.',
1486
+ inputSchema: { type: 'object', properties: { fields: { type: 'array', items: { type: 'string' }, description: 'Complete list of payload field names.' } }, required: ['fields'] },
1487
+ },
1478
1488
  {
1479
1489
  name: 'monday_get_board_columns',
1480
1490
  description: 'List a Monday.com board\'s real custom columns (status, people, dropdown, date, numbers, text, etc.) with type and parsed options (status/dropdown label sets). Use this before monday_set_field_mapping to see what columns exist to map to.',
@@ -6097,6 +6107,20 @@ reply: ${r?.reply}`;
6097
6107
  return [`=== Field mapping (board ${result.boardId}) ===`, ...entries.map(([k, v]) => ` ${k} -> ${v}`)].join('\n');
6098
6108
  }
6099
6109
 
6110
+ case 'make_get_payload_fields': {
6111
+ const r = await api('GET', '/Make/attribute-allowlist?kind=data');
6112
+ const keys = Array.isArray(r?.allowedKeys) ? r.allowedKeys : [];
6113
+ return keys.length ? `Make Payload Fields (${keys.length}): ${keys.join(', ')}` : 'No Payload Fields declared: the AI chooses its own keys.';
6114
+ }
6115
+
6116
+ case 'make_set_payload_fields': {
6117
+ if (!Array.isArray(args.fields)) return 'fields is required: an array of field names.';
6118
+ const bad = args.fields.find(k => typeof k !== 'string' || !/^[A-Za-z0-9_-]{1,100}$/.test(k.trim()));
6119
+ if (bad !== undefined) return `Invalid field name "${bad}": letters, numbers, underscore and hyphen only (max 100).`;
6120
+ await api('PUT', '/Make/attribute-allowlist?kind=data', { allowedKeys: args.fields.map(k => k.trim()) });
6121
+ return `Saved ${args.fields.length} Make Payload Field(s).`;
6122
+ }
6123
+
6100
6124
  case 'monday_set_field_mapping': {
6101
6125
  if (!args.mapping || typeof args.mapping !== 'object') return 'mapping is required — an object of Velaro field -> Monday column id.';
6102
6126
  const result = await api('PUT', '/Monday/FieldMapping', { mapping: args.mapping });