@casys/mcp-erpnext 3.1.0-beta.4 → 3.1.0-beta.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.
package/README.md CHANGED
@@ -6,15 +6,17 @@ English | [繁體中文](README.zh-TW.md)
6
6
  [![npm](https://img.shields.io/npm/v/@casys/mcp-erpnext?logo=npm&color=cb3837)](https://www.npmjs.com/package/@casys/mcp-erpnext)
7
7
  [![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)
8
8
  [![MCP](https://img.shields.io/badge/MCP-server-1f6feb?logo=modelcontextprotocol&logoColor=white)](https://modelcontextprotocol.io)
9
+ [![M8ven Score](https://m8ven.ai/badge/mcp/casys-ai-mcp-erpnext-1kev4k)](https://m8ven.ai/mcp/casys-ai-mcp-erpnext-1kev4k)
9
10
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
10
11
 
11
12
  > [!IMPORTANT]
12
- > **Installing the 3.1 beta:** pin the prerelease while this UX is being
13
- > validated. For npm/Node use `npx -y @casys/mcp-erpnext@3.1.0-beta.3`; for Deno
14
- > use `deno run -A jsr:@casys/mcp-erpnext@3.1.0-beta.3/server`. The moving npm
15
- > alias is `@next`. The beta adds the generic document viewer and attachment
16
- > workflows, so test it with the MCP host your users actually run before
17
- > replacing a stable deployment.
13
+ > **Installing the 3.1 beta:** for npm/Node use
14
+ > `npx -y @casys/mcp-erpnext@next`; for Deno use
15
+ > `deno run -A jsr:@casys/mcp-erpnext@^3.1.0-beta/server`. Both follow the
16
+ > current prerelease JSR has no dist-tags, hence the range there. Exact
17
+ > versions are in the [CHANGELOG](CHANGELOG.md). The beta adds the generic
18
+ > document viewer and attachment workflows, so test it with the MCP host your
19
+ > users actually run before replacing a stable deployment.
18
20
 
19
21
  Let any MCP-compatible AI agent operate your [ERPNext](https://erpnext.com) /
20
22
  Frappe instance — documents, workflows, and interactive viewers inside the host
@@ -266,9 +268,9 @@ Quotation, which retain the specialized invoice surface.
266
268
  - **Manufacturing** — BOMs, Work Orders, and Job Cards.
267
269
  - **CRM** — Leads, Opportunities, Contacts, and Campaigns.
268
270
  - **Assets** — Assets, Movements, Maintenance records, and Categories.
269
- - **Operations** — Generic CRUD, native assignment, and attachment listing,
270
- upload, or host-mediated download for any DocType (`erpnext_doc_*`,
271
- `erpnext_file_*`).
271
+ - **Operations** — Generic CRUD, native assignment, attachment listing, upload,
272
+ host-mediated download, and deny-by-default Frappe method calls
273
+ (`erpnext_doc_*`, `erpnext_file_*`, `erpnext_method_call`).
272
274
  - **Kanban** — Read-write boards for Task, Opportunity, and Issue with
273
275
  drag-and-drop.
274
276
  - **Analytics** — Charts (bar, area, treemap, radar, scatter, P&L…), KPIs with
@@ -286,6 +288,7 @@ Full per-tool reference with parameters: [`docs/tools.md`](docs/tools.md).
286
288
  | `ERPNEXT_API_SECRET` | Yes | API Secret from User Settings |
287
289
  | `ERPNEXT_MAX_UPLOAD_BYTES` | No | Maximum decoded file-upload size in bytes (positive integer; default: 10 MiB) |
288
290
  | `ERPNEXT_MAX_DOWNLOAD_BYTES` | No | Maximum attachment-download size in bytes (positive integer; default: 10 MiB) |
291
+ | `ERPNEXT_METHOD_ALLOWLIST` | No | Comma-separated exact method paths or `prefix.*`; unset means `erpnext_method_call` denies every method, while `*` allows all |
289
292
  | `MCP_MRTR_SIGNING_KEY` | No | Exactly 64 lowercase hex characters; enables signed ambiguous-link elicitation. **Single-instance deployments only** — see below |
290
293
 
291
294
  MRTR is opt-in. Without this key, or when the client does not advertise