@velaro/mcp-server 2.0.55 → 2.0.56

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 +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.55",
3
+ "version": "2.0.56",
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
@@ -1607,6 +1607,11 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
1607
1607
  description: 'Reset a team to the Dynamics default (removes its override).',
1608
1608
  inputSchema: { type: 'object', properties: { configId: { type: 'number' }, teamId: { type: 'number' } }, required: ['configId', 'teamId'] },
1609
1609
  },
1610
+ {
1611
+ name: 'dynamics_copy_mappings',
1612
+ description: 'Copy field mappings and activity type from one Dynamics connection (sourceConfigId) to another (configId) on the same site, e.g. a QA org to a prod org. Never copies credentials, tenant or org URL. Set includeTeamOverrides to also replace the target\'s per-group overrides with the source\'s. Returns copiedMappings, copiedOverrides, previous (the replaced values, for undo) and unknownFields/unknownFieldsChecked.',
1613
+ inputSchema: { type: 'object', properties: { configId: { type: 'number', description: 'Target Dynamics config id' }, sourceConfigId: { type: 'number', description: 'Source Dynamics config id' }, includeTeamOverrides: { type: 'boolean' } }, required: ['configId', 'sourceConfigId'] },
1614
+ },
1610
1615
 
1611
1616
  // ── Teams ─────────────────────────────────────────────────────────────────
1612
1617
  {
@@ -6097,6 +6102,9 @@ reply: ${r?.reply}`;
6097
6102
  return await api('PUT', `/Dynamics/Configs/${Number(args.configId)}/team-overrides/${Number(args.teamId)}`, body);
6098
6103
  }
6099
6104
 
6105
+ case 'dynamics_copy_mappings':
6106
+ return await api('POST', `/Dynamics/Configs/${Number(args.configId)}/copy-mappings-from/${Number(args.sourceConfigId)}`, { includeTeamOverrides: args.includeTeamOverrides === true });
6107
+
6100
6108
  case 'dynamics_team_overrides_reset':
6101
6109
  return await api('DELETE', `/Dynamics/Configs/${Number(args.configId)}/team-overrides/${Number(args.teamId)}`);
6102
6110