mcp-zenskar 1.0.13 → 1.1.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,118 @@
1
+ # Changelog
2
+
3
+ ## v1.1.0 — 2026-03-06
4
+
5
+ Added 61 new tools (42 → 103 total) covering contracts, invoices, credit notes, payments, accounting, products, plans, quotes, contacts, business entities, and more.
6
+
7
+ ### All Tools
8
+
9
+ | Tool | Description |
10
+ |---|---|
11
+ | `listCustomers` | List customers with search, filtering, and pagination |
12
+ | `getCustomerById` | Get a customer by ID |
13
+ | `createCustomer` | Create a customer with address and tax info |
14
+ | `updateCustomer` | Update customer details (partial update) |
15
+ | `listContacts` | List contacts with pagination |
16
+ | `getContactById` | Get a contact by ID |
17
+ | `createContact` | Create a contact for a customer |
18
+ | `updateContact` | Update a contact's details |
19
+ | `listContracts` | List contracts with filtering by status, customer, dates |
20
+ | `getContractById` | Get a contract with phases, pricings, and customer details |
21
+ | `createContract` | Create a contract with phases and pricing |
22
+ | `updateContract` | Update contract terms, status, pricing, or renewal policy |
23
+ | `deleteContract` | Delete a draft contract |
24
+ | `getContractAmendments` | Get amendment history for a contract |
25
+ | `createContractPhase` | Add a phase to a contract (add-ons, expansions) |
26
+ | `createContractPhasePricing` | Add pricing to a contract phase |
27
+ | `expireContract` | Expire an active contract |
28
+ | `createContractPrompt` | Create a contract prompt |
29
+ | `extractContractFromRaw` | Extract contract data from raw text using AI |
30
+ | `listInvoices` | List invoices with filtering by customer, status, dates |
31
+ | `getInvoiceById` | Get an invoice by ID |
32
+ | `getInvoiceByExternalId` | Get an invoice by external ID |
33
+ | `getInvoiceGenerationStatus` | Check invoice generation status |
34
+ | `downloadInvoice` | Download invoice in JSON format |
35
+ | `getInvoiceContractJsonActuals` | Get contract actuals for an invoice |
36
+ | `getInvoicePayments` | Get payments for an invoice |
37
+ | `getInvoicePaymentsById` | Get a specific payment on an invoice |
38
+ | `getInvoicePaymentsWithoutRefunds` | Get invoice payments excluding refunds |
39
+ | `getInvoiceLineItems` | Get invoice line items and pricing details |
40
+ | `getInvoiceSummary` | Get invoice summary |
41
+ | `getAllInvoiceTags` | Get all available invoice tags |
42
+ | `generateInvoicePaymentLink` | Generate a payment link for an invoice |
43
+ | `payInvoice` | Initiate payment for an invoice |
44
+ | `approveInvoice` | Approve an invoice for billing |
45
+ | `voidInvoice` | Void an approved unpaid invoice |
46
+ | `generateInvoice` | Generate an invoice for a contract and date range |
47
+ | `createInvoiceCreditNote` | Create a credit note against an invoice |
48
+ | `createInvoiceCharge` | Auto-charge an invoice via payment gateway |
49
+ | `listAllPayments` | List all payments with filtering and sorting |
50
+ | `getPaymentById` | Get a payment by ID |
51
+ | `createPayment` | Record a payment against an invoice |
52
+ | `updatePayment` | Update a payment's status or details |
53
+ | `deleteManualPayment` | Delete a manual payment |
54
+ | `editManualPayment` | Edit a manual payment's amount or method |
55
+ | `refundPayment` | Refund a payment (full or partial) |
56
+ | `listCreditNotes` | List credit notes with pagination |
57
+ | `getCreditNoteById` | Get a credit note by ID |
58
+ | `createCreditNote` | Create a standalone credit note |
59
+ | `listProducts` | List products in the catalog |
60
+ | `getProductById` | Get a product by ID |
61
+ | `createProduct` | Create a product |
62
+ | `updateProduct` | Update a product's details |
63
+ | `getProductPricings` | Get pricing configs for a product |
64
+ | `createProductPricing` | Create a pricing config for a product |
65
+ | `listPlans` | List plan templates |
66
+ | `getPlanById` | Get a plan by ID with phases and pricing |
67
+ | `createPlan` | Create a plan template |
68
+ | `addProductsToPlan` | Add products to an existing plan |
69
+ | `previewPlanEstimate` | Preview estimated billing for a plan |
70
+ | `listAggregates` | List billable metrics with filtering |
71
+ | `getAggregateSchemas` | Get all billable metric schemas |
72
+ | `getAggregateEstimates` | Get billable metric estimates |
73
+ | `getAggregateById` | Get a billable metric by ID |
74
+ | `getAggregateLogs` | Get logs for a billable metric |
75
+ | `listRawMetrics` | List usage events with filtering |
76
+ | `createRawMetric` | Create a usage event schema |
77
+ | `getRawMetricById` | Get a usage event by ID |
78
+ | `getRawMetricLogs` | Get logs for a usage event |
79
+ | `getRawMetricBySlug` | Get a usage event by API slug |
80
+ | `ingestRawMetricEvent` | Ingest a usage event |
81
+ | `getChartOfAccounts` | Get the full chart of accounts |
82
+ | `listAccounts` | List GL accounts with filtering |
83
+ | `createAccount` | Create a GL account |
84
+ | `listJournalEntries` | List journal entries with filtering |
85
+ | `createJournalEntry` | Create a manual journal entry |
86
+ | `getJournalEntry` | Get a journal entry by ID with all lines |
87
+ | `listJournalLines` | List journal lines across all entries |
88
+ | `getBalanceSheet` | Get the balance sheet report |
89
+ | `getIncomeStatement` | Get the income statement (P&L) |
90
+ | `getAccountBalance` | Get balance for a specific GL account |
91
+ | `recogniseRevenue` | Trigger revenue recognition up to a date |
92
+ | `createQuote` | Create a quote/proposal |
93
+ | `previewQuoteEstimate` | Preview estimated billing for a quote |
94
+ | `getQuoteById` | Get a quote by ID |
95
+ | `acceptQuote` | Accept a quote, converting to a contract |
96
+ | `listCustomAttributes` | List custom attribute definitions |
97
+ | `createCustomAttribute` | Create a custom attribute definition |
98
+ | `listTaxCategories` | List tax categories |
99
+ | `createTaxCategory` | Create a tax category |
100
+ | `listJobs` | List async jobs (invoice gen, rev rec, etc.) |
101
+ | `getJobById` | Get a job by ID to check status |
102
+ | `listBusinessEntities` | List business entities |
103
+ | `getBusinessEntityById` | Get a business entity by ID |
104
+ | `createBusinessEntity` | Create a business entity |
105
+ | `updateBusinessEntity` | Update a business entity |
106
+ | `listCustomerAddresses` | List addresses for a customer |
107
+ | `createCustomerAddress` | Add an address to a customer |
108
+ | `updateCustomerAddress` | Update a customer address |
109
+ | `listPaymentMethods` | List payment methods for a customer |
110
+ | `attachPaymentMethod` | Attach a payment method to a customer |
111
+ | `createEntitlement` | Create an entitlement |
112
+ | `getCustomerPortalConfiguration` | Get customer portal config |
113
+ | `getCurrentDateTime` | Get current date/time in multiple formats |
114
+
115
+ ### Code Changes
116
+
117
+ - `src/mcp-config.json` — 61 new tool definitions added
118
+ - `src/server.js` — 1 line: added `updateCustomer` to address nesting logic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-zenskar",
3
- "version": "1.0.13",
3
+ "version": "1.1.0",
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": {