@denik.me/mcp 0.4.1 → 0.5.0

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/dist/index.js +12 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49,6 +49,18 @@ const tools = [
49
49
  },
50
50
  handler: async (args) => denikGet("services", { intent: "public_url", serviceId: args.serviceId }),
51
51
  },
52
+ {
53
+ name: "list_customers",
54
+ description: "Lista los clientes de la org paginado (primeros 20 por default, orden alfabético). Útil para dar overview cuando el usuario pregunta '¿qué clientes tengo?' sin especificar. Retorna {total, hasMore, customers}.",
55
+ inputSchema: {
56
+ type: "object",
57
+ properties: {
58
+ limit: { type: "number", default: 20, description: "Máximo 100" },
59
+ offset: { type: "number", default: 0 },
60
+ },
61
+ },
62
+ handler: async (args) => denikGet("customers", { intent: "list", ...args }),
63
+ },
52
64
  {
53
65
  name: "find_customer",
54
66
  description: "Busca clientes por nombre, email o teléfono. Hasta 20 resultados.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@denik.me/mcp",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "Denik Agenda MCP stdio server — tools para operar una org desde un agente (p.ej. bot de WhatsApp).",
5
5
  "type": "module",
6
6
  "bin": {