mcp-zenskar 1.1.4 → 1.1.6

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 +162 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-zenskar",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
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": {
@@ -3767,8 +3767,8 @@
3767
3767
  "position": "body"
3768
3768
  },
3769
3769
  {
3770
- "name": "account_type",
3771
- "description": "Type of account (e.g., 'asset', 'liability', 'revenue', 'expense', 'equity').",
3770
+ "name": "account_category",
3771
+ "description": "Category of account. Valid values: 'Assets', 'Liabilities', 'Equity', 'Income', 'Expenses'.",
3772
3772
  "type": "string",
3773
3773
  "required": true,
3774
3774
  "position": "body"
@@ -3851,12 +3851,19 @@
3851
3851
  "name": "description",
3852
3852
  "description": "Description/memo for the journal entry.",
3853
3853
  "type": "string",
3854
- "required": false,
3854
+ "required": true,
3855
3855
  "position": "body"
3856
3856
  },
3857
3857
  {
3858
- "name": "lines",
3859
- "description": "Array of journal lines. Each line: {account_id, debit, credit, description}.",
3858
+ "name": "currency",
3859
+ "description": "Three-letter ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP').",
3860
+ "type": "string",
3861
+ "required": true,
3862
+ "position": "body"
3863
+ },
3864
+ {
3865
+ "name": "journal_lines",
3866
+ "description": "Array of journal lines. Each line requires: {account_id, debits, credits, currency}. Use 'debits' and 'credits' (plural, integers in cents). Example: [{account_id:'...', debits:10000, credits:0, currency:'USD'}, {account_id:'...', debits:0, credits:10000, currency:'USD'}].",
3860
3867
  "type": "array",
3861
3868
  "required": true,
3862
3869
  "position": "body"
@@ -4212,7 +4219,7 @@
4212
4219
  "name": "pricing_data",
4213
4220
  "description": "Pricing data object. Must include 'pricing_type' discriminator matching pricing_model. For flat_fee: {pricing_type:'flat_fee', unit_amount:10000} (amount in cents). For per_unit: {pricing_type:'per_unit', unit_amount:500}.",
4214
4221
  "type": "object",
4215
- "required": false,
4222
+ "required": true,
4216
4223
  "position": "body"
4217
4224
  },
4218
4225
  {
@@ -4321,9 +4328,9 @@
4321
4328
  },
4322
4329
  {
4323
4330
  "name": "currency",
4324
- "description": "Currency code (e.g., 'USD').",
4331
+ "description": "Three-letter ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP').",
4325
4332
  "type": "string",
4326
- "required": false,
4333
+ "required": true,
4327
4334
  "position": "body"
4328
4335
  },
4329
4336
  {
@@ -5304,6 +5311,153 @@
5304
5311
  "responseTemplate": {
5305
5312
  "prependBody": "## Attached Payment Method\n\n"
5306
5313
  }
5314
+ },
5315
+ {
5316
+ "name": "deleteCustomer",
5317
+ "description": "Delete a customer by ID. This is permanent and cannot be undone. The customer must not have active contracts or unpaid invoices.",
5318
+ "args": [
5319
+ {
5320
+ "name": "customerId",
5321
+ "description": "The unique identifier (UUID) of the customer to delete.",
5322
+ "type": "string",
5323
+ "required": true,
5324
+ "position": "path"
5325
+ }
5326
+ ],
5327
+ "requestTemplate": {
5328
+ "url": "/customers/{customerId}",
5329
+ "method": "DELETE",
5330
+ "headers": {
5331
+ "Content-Type": "application/json"
5332
+ }
5333
+ },
5334
+ "responseTemplate": {
5335
+ "prependBody": "## Customer Deleted\n\n"
5336
+ }
5337
+ },
5338
+ {
5339
+ "name": "deleteContact",
5340
+ "description": "Delete a contact by ID.",
5341
+ "args": [
5342
+ {
5343
+ "name": "contactId",
5344
+ "description": "The unique identifier (UUID) of the contact to delete.",
5345
+ "type": "string",
5346
+ "required": true,
5347
+ "position": "path"
5348
+ }
5349
+ ],
5350
+ "requestTemplate": {
5351
+ "url": "/contacts/{contactId}",
5352
+ "method": "DELETE",
5353
+ "headers": {
5354
+ "Content-Type": "application/json"
5355
+ }
5356
+ },
5357
+ "responseTemplate": {
5358
+ "prependBody": "## Contact Deleted\n\n"
5359
+ }
5360
+ },
5361
+ {
5362
+ "name": "deletePaymentMethod",
5363
+ "description": "Delete a payment method from a customer.",
5364
+ "args": [
5365
+ {
5366
+ "name": "customerId",
5367
+ "description": "The unique identifier (UUID) of the customer.",
5368
+ "type": "string",
5369
+ "required": true,
5370
+ "position": "path"
5371
+ },
5372
+ {
5373
+ "name": "paymentMethodId",
5374
+ "description": "The unique identifier (UUID) of the payment method to delete.",
5375
+ "type": "string",
5376
+ "required": true,
5377
+ "position": "path"
5378
+ }
5379
+ ],
5380
+ "requestTemplate": {
5381
+ "url": "/customers/{customerId}/payment_methods/{paymentMethodId}",
5382
+ "method": "DELETE",
5383
+ "headers": {
5384
+ "Content-Type": "application/json"
5385
+ }
5386
+ },
5387
+ "responseTemplate": {
5388
+ "prependBody": "## Payment Method Deleted\n\n"
5389
+ }
5390
+ },
5391
+ {
5392
+ "name": "pauseContract",
5393
+ "description": "Pause an active contract. Requires a start_date for the pause and an unpause_extension_policy.",
5394
+ "args": [
5395
+ {
5396
+ "name": "contractId",
5397
+ "description": "The unique identifier (UUID) of the contract to pause.",
5398
+ "type": "string",
5399
+ "required": true,
5400
+ "position": "path"
5401
+ },
5402
+ {
5403
+ "name": "start_date",
5404
+ "description": "Date when the pause begins (ISO 8601 format, e.g. 2026-04-01T00:00:00).",
5405
+ "type": "string",
5406
+ "required": true,
5407
+ "position": "body"
5408
+ },
5409
+ {
5410
+ "name": "unpause_extension_policy",
5411
+ "description": "How to handle the contract end date when unpaused.",
5412
+ "type": "string",
5413
+ "required": true,
5414
+ "position": "body",
5415
+ "enum": [
5416
+ "extend",
5417
+ "overlap"
5418
+ ]
5419
+ },
5420
+ {
5421
+ "name": "end_date",
5422
+ "description": "Optional date when the pause ends and contract auto-resumes (ISO 8601).",
5423
+ "type": "string",
5424
+ "required": false,
5425
+ "position": "body"
5426
+ }
5427
+ ],
5428
+ "requestTemplate": {
5429
+ "url": "/contract_v2/{contractId}/pause",
5430
+ "method": "POST",
5431
+ "headers": {
5432
+ "Content-Type": "application/json"
5433
+ }
5434
+ },
5435
+ "responseTemplate": {
5436
+ "prependBody": "## Contract Paused\n\n"
5437
+ }
5438
+ },
5439
+ {
5440
+ "name": "resumeContract",
5441
+ "description": "Resume a paused contract. No request body needed.",
5442
+ "args": [
5443
+ {
5444
+ "name": "contractId",
5445
+ "description": "The unique identifier (UUID) of the contract to resume.",
5446
+ "type": "string",
5447
+ "required": true,
5448
+ "position": "path"
5449
+ }
5450
+ ],
5451
+ "requestTemplate": {
5452
+ "url": "/contract_v2/{contractId}/resume",
5453
+ "method": "PATCH",
5454
+ "headers": {
5455
+ "Content-Type": "application/json"
5456
+ }
5457
+ },
5458
+ "responseTemplate": {
5459
+ "prependBody": "## Contract Resumed\n\n"
5460
+ }
5307
5461
  }
5308
5462
  ]
5309
5463
  }