@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 +85 -44
- package/mcp-erpnext.mjs +9605 -3259
- package/package.json +1 -1
- package/ui-dist/kanban-viewer/index.html +48 -48
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# @casys/mcp-erpnext
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://jsr.io/@casys/mcp-erpnext)
|
|
4
|
+
[](https://www.npmjs.com/package/@casys/mcp-erpnext)
|
|
5
|
+
[](https://github.com/Casys-AI/mcp-erpnext/actions/workflows/test.yml)
|
|
6
|
+
[](https://modelcontextprotocol.io)
|
|
7
|
+
[](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
|
-
##
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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 & 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 (
|
|
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** |
|
|
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** |
|
|
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
|
-
|
|
339
|
+
Releases are manual and explicit:
|
|
297
340
|
|
|
298
|
-
1.
|
|
299
|
-
2.
|
|
300
|
-
3.
|
|
301
|
-
|
|
302
|
-
|
|
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
|
-
|
|
308
|
-
|
|
348
|
+
The package name stays `@casys/mcp-erpnext`; releases only bump the package
|
|
349
|
+
version.
|
|
309
350
|
|
|
310
351
|
## License
|
|
311
352
|
|