mcp-zenskar 1.1.4 → 1.1.5

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/src/mcp-config.json +147 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-zenskar",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Model Context Protocol (MCP) server for Zenskar API - customer management, invoicing, and billing operations",
5
5
  "main": "src/server.js",
6
6
  "bin": {
@@ -5304,6 +5304,153 @@
5304
5304
  "responseTemplate": {
5305
5305
  "prependBody": "## Attached Payment Method\n\n"
5306
5306
  }
5307
+ },
5308
+ {
5309
+ "name": "deleteCustomer",
5310
+ "description": "Delete a customer by ID. This is permanent and cannot be undone. The customer must not have active contracts or unpaid invoices.",
5311
+ "args": [
5312
+ {
5313
+ "name": "customerId",
5314
+ "description": "The unique identifier (UUID) of the customer to delete.",
5315
+ "type": "string",
5316
+ "required": true,
5317
+ "position": "path"
5318
+ }
5319
+ ],
5320
+ "requestTemplate": {
5321
+ "url": "/customers/{customerId}",
5322
+ "method": "DELETE",
5323
+ "headers": {
5324
+ "Content-Type": "application/json"
5325
+ }
5326
+ },
5327
+ "responseTemplate": {
5328
+ "prependBody": "## Customer Deleted\n\n"
5329
+ }
5330
+ },
5331
+ {
5332
+ "name": "deleteContact",
5333
+ "description": "Delete a contact by ID.",
5334
+ "args": [
5335
+ {
5336
+ "name": "contactId",
5337
+ "description": "The unique identifier (UUID) of the contact to delete.",
5338
+ "type": "string",
5339
+ "required": true,
5340
+ "position": "path"
5341
+ }
5342
+ ],
5343
+ "requestTemplate": {
5344
+ "url": "/contacts/{contactId}",
5345
+ "method": "DELETE",
5346
+ "headers": {
5347
+ "Content-Type": "application/json"
5348
+ }
5349
+ },
5350
+ "responseTemplate": {
5351
+ "prependBody": "## Contact Deleted\n\n"
5352
+ }
5353
+ },
5354
+ {
5355
+ "name": "deletePaymentMethod",
5356
+ "description": "Delete a payment method from a customer.",
5357
+ "args": [
5358
+ {
5359
+ "name": "customerId",
5360
+ "description": "The unique identifier (UUID) of the customer.",
5361
+ "type": "string",
5362
+ "required": true,
5363
+ "position": "path"
5364
+ },
5365
+ {
5366
+ "name": "paymentMethodId",
5367
+ "description": "The unique identifier (UUID) of the payment method to delete.",
5368
+ "type": "string",
5369
+ "required": true,
5370
+ "position": "path"
5371
+ }
5372
+ ],
5373
+ "requestTemplate": {
5374
+ "url": "/customers/{customerId}/payment_methods/{paymentMethodId}",
5375
+ "method": "DELETE",
5376
+ "headers": {
5377
+ "Content-Type": "application/json"
5378
+ }
5379
+ },
5380
+ "responseTemplate": {
5381
+ "prependBody": "## Payment Method Deleted\n\n"
5382
+ }
5383
+ },
5384
+ {
5385
+ "name": "pauseContract",
5386
+ "description": "Pause an active contract. Requires a start_date for the pause and an unpause_extension_policy.",
5387
+ "args": [
5388
+ {
5389
+ "name": "contractId",
5390
+ "description": "The unique identifier (UUID) of the contract to pause.",
5391
+ "type": "string",
5392
+ "required": true,
5393
+ "position": "path"
5394
+ },
5395
+ {
5396
+ "name": "start_date",
5397
+ "description": "Date when the pause begins (ISO 8601 format, e.g. 2026-04-01T00:00:00).",
5398
+ "type": "string",
5399
+ "required": true,
5400
+ "position": "body"
5401
+ },
5402
+ {
5403
+ "name": "unpause_extension_policy",
5404
+ "description": "How to handle the contract end date when unpaused.",
5405
+ "type": "string",
5406
+ "required": true,
5407
+ "position": "body",
5408
+ "enum": [
5409
+ "extend",
5410
+ "overlap"
5411
+ ]
5412
+ },
5413
+ {
5414
+ "name": "end_date",
5415
+ "description": "Optional date when the pause ends and contract auto-resumes (ISO 8601).",
5416
+ "type": "string",
5417
+ "required": false,
5418
+ "position": "body"
5419
+ }
5420
+ ],
5421
+ "requestTemplate": {
5422
+ "url": "/contract_v2/{contractId}/pause",
5423
+ "method": "POST",
5424
+ "headers": {
5425
+ "Content-Type": "application/json"
5426
+ }
5427
+ },
5428
+ "responseTemplate": {
5429
+ "prependBody": "## Contract Paused\n\n"
5430
+ }
5431
+ },
5432
+ {
5433
+ "name": "resumeContract",
5434
+ "description": "Resume a paused contract. No request body needed.",
5435
+ "args": [
5436
+ {
5437
+ "name": "contractId",
5438
+ "description": "The unique identifier (UUID) of the contract to resume.",
5439
+ "type": "string",
5440
+ "required": true,
5441
+ "position": "path"
5442
+ }
5443
+ ],
5444
+ "requestTemplate": {
5445
+ "url": "/contract_v2/{contractId}/resume",
5446
+ "method": "PATCH",
5447
+ "headers": {
5448
+ "Content-Type": "application/json"
5449
+ }
5450
+ },
5451
+ "responseTemplate": {
5452
+ "prependBody": "## Contract Resumed\n\n"
5453
+ }
5307
5454
  }
5308
5455
  ]
5309
5456
  }