@casys/mcp-erpnext 2.3.0 → 2.4.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/README.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # @casys/mcp-erpnext
2
2
 
3
- MCP server for [ERPNext](https://erpnext.com) / Frappe ERP — **120 tools**
3
+ [![JSR](https://jsr.io/badges/@casys/mcp-erpnext)](https://jsr.io/@casys/mcp-erpnext)
4
+ [![npm](https://img.shields.io/npm/v/@casys/mcp-erpnext?logo=npm&color=cb3837)](https://www.npmjs.com/package/@casys/mcp-erpnext)
5
+ [![CI](https://github.com/Casys-AI/mcp-erpnext/actions/workflows/test.yml/badge.svg)](https://github.com/Casys-AI/mcp-erpnext/actions/workflows/test.yml)
6
+ [![MCP](https://img.shields.io/badge/MCP-server-1f6feb?logo=modelcontextprotocol&logoColor=white)](https://modelcontextprotocol.io)
7
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
8
+
9
+ MCP server for [ERPNext](https://erpnext.com) / Frappe ERP — **122 tools**
4
10
  across **14 categories**, with **7 interactive UI viewers**.
5
11
 
6
12
  Connect any MCP-compatible AI agent (Claude Desktop, Claude Code, VS Code
@@ -9,22 +15,59 @@ Copilot, custom) to your ERPNext instance via the
9
15
 
10
16
  Works with **self-hosted** and **ERPNext Cloud** (frappe.cloud) instances.
11
17
 
12
- ## What's New in v2.1
13
-
14
- - **Cross-viewer navigation** click a row in any list to drill down, click a
15
- button to open related documents in another viewer via `sendMessage`
16
- - **Inline detail panels** — expand any row in doclist/stock viewers to see full
17
- document details + action buttons (Submit, Cancel, Payments)
18
- - **Interactive charts** — click bar/pie/line data points to drill into
19
- underlying documents
20
- - **KPI drill-down** click the big number or sparkline to explore exceptions
21
- or trends
22
- - **Funnel redesign** — trapezoid stages with gradient fills, conversion badges,
23
- click-through navigation
24
- - **Better error messages** Frappe API errors are now surfaced with full
25
- detail instead of generic "Tool execution failed"
26
- - **VS Code Copilot fix** — schema validation issue with `erpnext_doc_list`
27
- filters resolved (#2)
18
+ ## Screenshots
19
+
20
+ Interactive viewers rendered inside an MCP host, driven entirely by tool
21
+ results.
22
+
23
+ <table>
24
+ <tr>
25
+ <td width="50%" align="center">
26
+ <img src="docs/assets/doclist-viewer.png" alt="Document list viewer with chip filters and inline detail" width="100%"><br>
27
+ <sub><b>doclist-viewer</b> — any DocType as a sortable table with chip filters and an inline detail panel</sub>
28
+ </td>
29
+ <td width="50%" align="center">
30
+ <img src="docs/assets/invoice-viewer.png" alt="Invoice viewer with line items and actions" width="100%"><br>
31
+ <sub><b>invoice-viewer</b> invoice with parties, line items, item drill-down and Submit/Cancel/Payments</sub>
32
+ </td>
33
+ </tr>
34
+ <tr>
35
+ <td width="50%" align="center">
36
+ <img src="docs/assets/funnel-viewer.png" alt="Sales funnel viewer" width="100%"><br>
37
+ <sub><b>funnel-viewer</b> — Lead → Opportunity → Quotation → Order with conversion rates</sub>
38
+ </td>
39
+ <td width="50%" align="center">
40
+ <img src="docs/assets/kpi-viewer.png" alt="KPI viewer with sparkline" width="100%"><br>
41
+ <sub><b>kpi-viewer</b> — big-number KPI with delta vs last period and a sparkline</sub>
42
+ </td>
43
+ </tr>
44
+ <tr>
45
+ <td width="50%" align="center">
46
+ <img src="docs/assets/chart-viewer.png" alt="Chart viewer" width="100%"><br>
47
+ <sub><b>chart-viewer</b> — universal Recharts renderer (here: stock levels)</sub>
48
+ </td>
49
+ <td width="50%" align="center">
50
+ <img src="docs/assets/stock-viewer.png" alt="Stock balance viewer" width="100%"><br>
51
+ <sub><b>stock-viewer</b> — stock balance with color-coded quantity badges</sub>
52
+ </td>
53
+ </tr>
54
+ <tr>
55
+ <td width="50%" align="center">
56
+ <img src="docs/assets/kanban-viewer.png" alt="Read-write kanban board" width="100%"><br>
57
+ <sub><b>kanban-viewer</b> — read-write board (Task / Opportunity / Issue) with inline edit</sub>
58
+ </td>
59
+ <td width="50%" align="center">
60
+ <img src="docs/assets/profit-loss.png" alt="Profit and loss composed chart" width="100%"><br>
61
+ <sub><b>chart-viewer</b> — composed dual-axis chart (here: profit &amp; loss)</sub>
62
+ </td>
63
+ </tr>
64
+ </table>
65
+
66
+ ## What's New
67
+
68
+ See the [CHANGELOG](CHANGELOG.md) for the full release history, or the
69
+ [latest release](https://github.com/Casys-AI/mcp-erpnext/releases/latest) for
70
+ the current version's highlights.
28
71
 
29
72
  ## Quick Start
30
73
 
@@ -177,28 +220,28 @@ npm install
177
220
  node build-all.mjs
178
221
  ```
179
222
 
180
- ## Tools (120)
223
+ ## Tools (122)
181
224
 
182
225
  **14 categories** covering the full ERPNext surface. Each `_list` tool returns
183
226
  interactive results in the doclist-viewer with row click, inline detail, and
184
227
  cross-viewer navigation.
185
228
 
186
- | Category | Tools | Viewer | Key capabilities |
187
- | ----------------- | ----- | -------------------- | -------------------------------------------------------------------- |
188
- | **Sales** | 17 | doclist / invoice | Customers, Sales Orders, Invoices, Quotations — CRUD + Submit/Cancel |
189
- | **Purchasing** | 11 | doclist / invoice | Suppliers, Purchase Orders, Invoices, Receipts |
190
- | **Inventory** | 9 | doclist / stock | Items, Stock Balance, Warehouses, Stock Entries |
191
- | **Accounting** | 6 | doclist | Accounts, Journal Entries, Payment Entries |
192
- | **HR** | 12 | doclist | Employees, Attendance, Leave, Salary, Expenses |
193
- | **Project** | 9 | doclist | Projects, Tasks, Timesheets |
194
- | **Delivery** | 5 | doclist | Delivery Notes, Shipments |
195
- | **Manufacturing** | 7 | doclist | BOMs, Work Orders, Job Cards |
196
- | **CRM** | 8 | doclist | Leads, Opportunities, Contacts, Campaigns |
197
- | **Assets** | 8 | doclist | Assets, Movements, Maintenance, Categories |
198
- | **Operations** | 7 | doclist | Generic CRUD for **any** DocType (`erpnext_doc_*`) |
199
- | **Kanban** | 2 | kanban | Task/Opportunity/Issue boards with drag-and-drop |
200
- | **Analytics** | 17 | chart / kpi / funnel | 12 chart types, 5 KPIs, sales funnel |
201
- | **Setup** | 2 | — | Company creation |
229
+ | Category | Tools | Viewer | Key capabilities |
230
+ | ----------------- | ----- | -------------------- | ---------------------------------------------------------------------- |
231
+ | **Sales** | 17 | doclist / invoice | Customers, Sales Orders, Invoices, Quotations — CRUD + Submit/Cancel |
232
+ | **Purchasing** | 11 | doclist / invoice | Suppliers, Purchase Orders, Invoices, Receipts |
233
+ | **Inventory** | 9 | doclist / stock | Items, Stock Balance, Warehouses, Stock Entries |
234
+ | **Accounting** | 6 | doclist | Accounts, Journal Entries, Payment Entries |
235
+ | **HR** | 12 | doclist | Employees, Attendance, Leave, Salary, Expenses |
236
+ | **Project** | 9 | doclist | Projects, Tasks, Timesheets |
237
+ | **Delivery** | 5 | doclist | Delivery Notes, Shipments |
238
+ | **Manufacturing** | 7 | doclist | BOMs, Work Orders, Job Cards |
239
+ | **CRM** | 8 | doclist | Leads, Opportunities, Contacts, Campaigns |
240
+ | **Assets** | 8 | doclist | Assets, Movements, Maintenance, Categories |
241
+ | **Operations** | 8 | doclist | Generic CRUD + native assignment for **any** DocType (`erpnext_doc_*`) |
242
+ | **Kanban** | 2 | kanban | Task/Opportunity/Issue boards with drag-and-drop |
243
+ | **Analytics** | 17 | chart / kpi / funnel | 12 chart types, 5 KPIs, sales funnel |
244
+ | **Setup** | 3 | — | Company creation, assignable user listing |
202
245
 
203
246
  > Full tool reference with all parameters: [`docs/tools.md`](docs/tools.md)
204
247
 
@@ -293,19 +336,17 @@ cd src/ui && npm run dev:kanban
293
336
 
294
337
  ## Release Flow
295
338
 
296
- Release is intentionally GitHub-driven:
339
+ Releases are manual and explicit:
297
340
 
298
- 1. Run `deno task release:check` locally before publishing work.
299
- 2. Push or merge to `main`.
300
- 3. Release Please opens or updates the release PR with the semver bump,
301
- `CHANGELOG.md`, `deno.json`, and `server.ts`.
302
- 4. Merge the Release Please PR.
303
- 5. `.github/workflows/release-please.yml` creates the GitHub release, then calls
304
- `.github/workflows/publish.yml` to publish the released version to JSR and
341
+ 1. Update `deno.json`, `server.ts`, and `CHANGELOG.md`.
342
+ 2. Run `deno task release:check` locally.
343
+ 3. Commit and push the release commit to `main`.
344
+ 4. Create the GitHub release/tag, for example `v2.3.0`.
345
+ 5. Run the `Publish` workflow manually to publish the same version to JSR and
305
346
  npm.
306
347
 
307
- Do not bump versions manually unless bypassing Release Please for an emergency
308
- release.
348
+ The package name stays `@casys/mcp-erpnext`; releases only bump the package
349
+ version.
309
350
 
310
351
  ## License
311
352