@casys/mcp-erpnext 3.1.0-beta.9 → 3.2.0-beta.1
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 +37 -22
- package/mcp-erpnext.mjs +1551 -1373
- package/package.json +1 -1
- package/ui-dist/buy-evidence-viewer/index.html +31 -31
- package/ui-dist/chart-viewer/index.html +55 -55
- package/ui-dist/doc-viewer/index.html +29 -29
- package/ui-dist/doclist-viewer/index.html +43 -43
- package/ui-dist/funnel-viewer/index.html +41 -41
- package/ui-dist/invoice-viewer/index.html +39 -39
- package/ui-dist/kanban-viewer/index.html +40 -40
- package/ui-dist/kpi-viewer/index.html +40 -40
- package/ui-dist/stock-viewer/index.html +31 -31
package/README.md
CHANGED
|
@@ -4,19 +4,20 @@ English | [繁體中文](README.zh-TW.md)
|
|
|
4
4
|
|
|
5
5
|
[](https://jsr.io/@casys/mcp-erpnext)
|
|
6
6
|
[](https://www.npmjs.com/package/@casys/mcp-erpnext)
|
|
7
|
-
[](https://github.com/superWorldSavior/mcp-erpnext/actions/workflows/test.yml)
|
|
8
8
|
[](https://modelcontextprotocol.io)
|
|
9
9
|
[](https://m8ven.ai/mcp/casys-ai-mcp-erpnext-1kev4k)
|
|
10
10
|
[](LICENSE)
|
|
11
11
|
|
|
12
12
|
> [!IMPORTANT]
|
|
13
|
-
> **Installing the 3.
|
|
13
|
+
> **Installing the 3.2 beta:** for npm/Node use
|
|
14
14
|
> `npx -y @casys/mcp-erpnext@next`; for Deno use
|
|
15
|
-
> `deno run -A jsr:@casys/mcp-erpnext
|
|
16
|
-
> current prerelease
|
|
17
|
-
>
|
|
18
|
-
> document viewer and attachment workflows, so
|
|
19
|
-
> users actually run before replacing a stable
|
|
15
|
+
> `deno run -A jsr:@casys/mcp-erpnext@3.2.0-beta.1/server`. npm's `next` tag
|
|
16
|
+
> follows the current prerelease; the JSR command pins this exact beta because
|
|
17
|
+
> JSR has no dist-tags. Stable **3.1.0** is available through npm's `latest`
|
|
18
|
+
> tag. The beta retains the generic document viewer and attachment workflows, so
|
|
19
|
+
> test it with the MCP host your users actually run before replacing a stable
|
|
20
|
+
> deployment. See the [CHANGELOG](CHANGELOG.md) for release history.
|
|
20
21
|
|
|
21
22
|
Let any MCP-compatible AI agent operate your [ERPNext](https://erpnext.com) /
|
|
22
23
|
Frappe instance — documents, workflows, and interactive viewers inside the host
|
|
@@ -24,9 +25,10 @@ Frappe instance — documents, workflows, and interactive viewers inside the hos
|
|
|
24
25
|
|
|
25
26
|
Works with **self-hosted** and **ERPNext Cloud** (frappe.cloud) instances.
|
|
26
27
|
|
|
27
|
-
> Built on
|
|
28
|
-
>
|
|
29
|
-
>
|
|
28
|
+
> Built on
|
|
29
|
+
> **[@casys/mcp-server](https://github.com/superWorldSavior/mcp-platform)** —
|
|
30
|
+
> the MCP server framework (concurrency, auth, MCP Apps, observability) that
|
|
31
|
+
> powers this project.
|
|
30
32
|
|
|
31
33
|
## Screenshots
|
|
32
34
|
|
|
@@ -79,16 +81,16 @@ results.
|
|
|
79
81
|
## What's New
|
|
80
82
|
|
|
81
83
|
See the [CHANGELOG](CHANGELOG.md) for the full release history, or the
|
|
82
|
-
[latest release](https://github.com/
|
|
83
|
-
the current version's highlights.
|
|
84
|
+
[latest release](https://github.com/superWorldSavior/mcp-erpnext/releases/latest)
|
|
85
|
+
for the current version's highlights.
|
|
84
86
|
|
|
85
|
-
> **3.1
|
|
86
|
-
>
|
|
87
|
-
>
|
|
88
|
-
>
|
|
89
|
-
>
|
|
90
|
-
>
|
|
91
|
-
> live ERP.
|
|
87
|
+
> **3.2.0-beta.1 preview:** the beta includes the creation-error guidance,
|
|
88
|
+
> ERPNext 16 Opportunity compatibility and calendar-date fixes carried into
|
|
89
|
+
> stable 3.1.0, alongside its generic document viewer, child tables,
|
|
90
|
+
> attachments, in-view navigation and recorded Buy evidence. KPI percentage
|
|
91
|
+
> changes, funnel currencies and context clearing on unsupported hosts are also
|
|
92
|
+
> corrected. Features remain capability-gated by the MCP host; Buy evidence does
|
|
93
|
+
> not purchase or qualify a live ERP.
|
|
92
94
|
|
|
93
95
|
## Documentation
|
|
94
96
|
|
|
@@ -242,7 +244,7 @@ tool is never replayed automatically. Overlapping or stale responses are ignored
|
|
|
242
244
|
when a newer host payload or mutation has already won. A confirmed document
|
|
243
245
|
change marks every potentially derived snapshot in the current navigation stack
|
|
244
246
|
as stale; each marker is removed only when that surface has actually been read
|
|
245
|
-
again. Separate MCP Apps are not synchronized automatically in the 3.
|
|
247
|
+
again. Separate MCP Apps are not synchronized automatically in the 3.2 beta.
|
|
246
248
|
|
|
247
249
|
### Building UI viewers
|
|
248
250
|
|
|
@@ -265,7 +267,7 @@ live ERPNext instance.
|
|
|
265
267
|
caller cannot pass `sourceInstance`, URL, credentials, `capturedAt`, or a
|
|
266
268
|
digest. Digital Thread stores those bytes in its own CAS; this server does not
|
|
267
269
|
keep a second CAS.
|
|
268
|
-
- App: `io.casys.mcp-erpnext.buy-evidence` `3.
|
|
270
|
+
- App: `io.casys.mcp-erpnext.buy-evidence` `3.2.0-beta.1`, resource
|
|
269
271
|
`ui://mcp-erpnext/buy-evidence-viewer` (`text/html;profile=mcp-app`), manifest
|
|
270
272
|
`ui://mcp-erpnext/buy-evidence-manifest` (`application/json`),
|
|
271
273
|
`acceptedActions` = `viewer.session.apply` only. Complete, partial,
|
|
@@ -274,8 +276,12 @@ live ERPNext instance.
|
|
|
274
276
|
Digital Thread artefact (`provenance.bundleRef`), not a hash of the displayed
|
|
275
277
|
projection.
|
|
276
278
|
- Schemas: `io.casys.mcp-erpnext.buy-source-capture/1.0`,
|
|
277
|
-
`io.casys.mcp-erpnext.buy-recorded-result/1.0`,
|
|
279
|
+
`io.casys.mcp-erpnext.buy-recorded-result/1.0` and `/2.0`,
|
|
278
280
|
`io.casys.mcp-erpnext.buy-recorded-session/1.0`.
|
|
281
|
+
- Result `/2.0` carries bounded `excludedLines` metadata for selected lines
|
|
282
|
+
absent from priced `lines`: exact line ID, quantity, unit, and stated reason.
|
|
283
|
+
It carries no amount, currency, or price source; covered subtotals remain
|
|
284
|
+
sealed values and unresolved lines remain visible.
|
|
279
285
|
- The viewer is built with the other MCP Apps
|
|
280
286
|
(`cd src/ui && npm ci && node
|
|
281
287
|
build-all.mjs`). Published JSR/npm artifacts
|
|
@@ -369,3 +375,12 @@ started, and [AGENTS.md](AGENTS.md) for the full architecture and conventions.
|
|
|
369
375
|
## License
|
|
370
376
|
|
|
371
377
|
MIT
|
|
378
|
+
|
|
379
|
+
Viewers and Buy result fields use the host locale: English, French, Simplified
|
|
380
|
+
Chinese, Traditional Chinese, Hindi, Bengali, Tamil and Urdu. Chinese script
|
|
381
|
+
tags take precedence over region tags; `zh-TW`, `zh-HK` and `zh-MO` select
|
|
382
|
+
Traditional Chinese when no script is specified. Urdu uses right-to-left
|
|
383
|
+
document direction, and a later host locale change updates the language and
|
|
384
|
+
direction without reloading the viewer. App-level waiting and rejection screens
|
|
385
|
+
retain English labels in this beta; host-context support for those shared
|
|
386
|
+
surface screens remains an upstream MCP View follow-up.
|