@casys/mcp-erpnext 3.0.1 → 3.0.3
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 +27 -28
- package/mcp-erpnext.mjs +26353 -18410
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,14 +6,12 @@ English | [繁體中文](README.zh-TW.md)
|
|
|
6
6
|
[](https://www.npmjs.com/package/@casys/mcp-erpnext)
|
|
7
7
|
[](https://github.com/Casys-AI/mcp-erpnext/actions/workflows/test.yml)
|
|
8
8
|
[](https://modelcontextprotocol.io)
|
|
9
|
+
[](https://m8ven.ai/mcp/casys-ai-mcp-erpnext-1kev4k)
|
|
9
10
|
[](LICENSE)
|
|
10
11
|
|
|
11
|
-
MCP
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Connect any MCP-compatible AI agent (Claude Desktop, Claude Code, VS Code
|
|
15
|
-
Copilot, custom) to your ERPNext instance via the
|
|
16
|
-
[Model Context Protocol](https://modelcontextprotocol.io).
|
|
12
|
+
Let any MCP-compatible AI agent operate your [ERPNext](https://erpnext.com) /
|
|
13
|
+
Frappe instance — documents, workflows, and interactive viewers inside the host
|
|
14
|
+
(Claude Desktop, Claude Code, VS Code Copilot, or custom).
|
|
17
15
|
|
|
18
16
|
Works with **self-hosted** and **ERPNext Cloud** (frappe.cloud) instances.
|
|
19
17
|
|
|
@@ -222,32 +220,32 @@ npm install
|
|
|
222
220
|
node build-all.mjs
|
|
223
221
|
```
|
|
224
222
|
|
|
225
|
-
## Tools
|
|
223
|
+
## Tools
|
|
226
224
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
navigation.
|
|
225
|
+
Each `_list` tool returns interactive results via the doclist-viewer with row
|
|
226
|
+
click, inline detail, and cross-viewer navigation.
|
|
230
227
|
|
|
231
|
-
- **Sales**
|
|
232
|
-
|
|
233
|
-
- **Purchasing**
|
|
234
|
-
|
|
235
|
-
- **Inventory**
|
|
236
|
-
- **Accounting**
|
|
237
|
-
- **HR**
|
|
228
|
+
- **Sales** — Customers, Sales Orders, Invoices, and Quotations with full CRUD,
|
|
229
|
+
Submit, and Cancel.
|
|
230
|
+
- **Purchasing** — Suppliers, Purchase Orders, Purchase Invoices, Receipts, and
|
|
231
|
+
Supplier Quotations.
|
|
232
|
+
- **Inventory** — Items, Stock Balance, Warehouses, and Stock Entries.
|
|
233
|
+
- **Accounting** — Chart of Accounts, Journal Entries, and Payment Entries.
|
|
234
|
+
- **HR** — Employees, Attendance, Leave Applications, Salary Slips, Payroll
|
|
238
235
|
Entries, and Expense Claims.
|
|
239
|
-
- **Project**
|
|
240
|
-
- **Delivery**
|
|
241
|
-
- **Manufacturing**
|
|
242
|
-
- **CRM**
|
|
243
|
-
- **Assets**
|
|
244
|
-
- **Operations**
|
|
245
|
-
|
|
246
|
-
|
|
236
|
+
- **Project** — Projects, Tasks (with native assignment), and Timesheets.
|
|
237
|
+
- **Delivery** — Delivery Notes and Shipments.
|
|
238
|
+
- **Manufacturing** — BOMs, Work Orders, and Job Cards.
|
|
239
|
+
- **CRM** — Leads, Opportunities, Contacts, and Campaigns.
|
|
240
|
+
- **Assets** — Assets, Movements, Maintenance records, and Categories.
|
|
241
|
+
- **Operations** — Generic CRUD, native assignment, file upload, and
|
|
242
|
+
deny-by-default Frappe method calls (`erpnext_doc_*`, `erpnext_file_upload`,
|
|
243
|
+
`erpnext_method_call`).
|
|
244
|
+
- **Kanban** — Read-write boards for Task, Opportunity, and Issue with
|
|
247
245
|
drag-and-drop.
|
|
248
|
-
- **Analytics**
|
|
249
|
-
|
|
250
|
-
- **Setup**
|
|
246
|
+
- **Analytics** — Charts (bar, area, treemap, radar, scatter, P&L…), KPIs with
|
|
247
|
+
sparklines, and a sales funnel.
|
|
248
|
+
- **Setup** — Company creation and assignable user listing.
|
|
251
249
|
|
|
252
250
|
Full per-tool reference with parameters: [`docs/tools.md`](docs/tools.md).
|
|
253
251
|
|
|
@@ -259,6 +257,7 @@ Full per-tool reference with parameters: [`docs/tools.md`](docs/tools.md).
|
|
|
259
257
|
| `ERPNEXT_API_KEY` | Yes | API Key from User Settings |
|
|
260
258
|
| `ERPNEXT_API_SECRET` | Yes | API Secret from User Settings |
|
|
261
259
|
| `ERPNEXT_MAX_UPLOAD_BYTES` | No | Maximum decoded file-upload size in bytes (positive integer; default: 10 MiB) |
|
|
260
|
+
| `ERPNEXT_METHOD_ALLOWLIST` | No | Comma-separated exact method paths or `prefix.*`; unset means `erpnext_method_call` denies every method, while `*` allows all |
|
|
262
261
|
| `MCP_MRTR_SIGNING_KEY` | No | Exactly 64 lowercase hex characters; enables signed ambiguous-link elicitation. **Single-instance deployments only** — see below |
|
|
263
262
|
|
|
264
263
|
MRTR is opt-in. Without this key, or when the client does not advertise
|