@velaro/mcp-server 2.0.33 → 2.0.34

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.33",
3
+ "version": "2.0.34",
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": {
@@ -0,0 +1,14 @@
1
+ // velaro support-tickets (customer): the support tickets of your site ("My tickets").
2
+ // Parity module (CLI group -> MCP tools). The site comes from the credential; never an argument.
3
+
4
+ export const tools = [
5
+ {
6
+ name: 'support_tickets_list',
7
+ description: 'List the support tickets of your site, newest first (ticket number, subject, status, where it was opened, and how the requester was verified). The site comes from your credential.',
8
+ inputSchema: { type: 'object', properties: { take: { type: 'integer', description: 'Rows to return (default 200, max 500)' } } },
9
+ },
10
+ ];
11
+
12
+ export const handlers = {
13
+ support_tickets_list: async (a, ctx) => ctx.api('GET', '/SupportTickets' + (a && Number(a.take) > 0 ? '?take=' + Math.min(500, Math.floor(Number(a.take))) : '')),
14
+ };