Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

ERPNext MCP server

by rakeshgangwar/erpnext-mcp-serverMIT licenceAudited 7 Oct 2026 · source d6fcc7b6bb0b

npm erpnext-server 0.1.0stdio★ 122
✓SAFEGrade B · 89/100 · 7 Oct 2026 · d6fcc7b
122GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 11 tools: 4 read, 6 write and 1 destructive. The audit recorded 3 findings (0 critical, 0 high, 1 medium, 1 low). Maintainer's description: Connect AI assistants to your ERPNext instance via the Model Context Protocol (MCP) using the official Frappe API.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “ERPNext MCP server (rakeshgangwar/erpnext-mcp-server)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/rakeshgangwar/erpnext

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium1 low1 info

3 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared1 observation
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainPASS 1 finding
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner rakeshgangwarUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmerpnext-server at version 0.1.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push5 months agoActivity of the repository when we read it.
  • Source commit readd6fcc7b6bb0bThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory11 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (3)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_document
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, zod, @types/node, typescript
Why
5 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · docs/security-and-authentication.md:277
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
// Load environment variables from .env file if it exists
Why
asks the agent to read credentials
Fix
—

Tools it exposes

11 declared in source · 1 destructive

4 read6 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_documentdestructivePermanently delete a document from ERPNext. This action cannot be undone. Submitted documents must be cancelled before deletion.
call_methodwriteCall an ERPNext/Frappe whitelisted server-side API method. Can invoke any whitelisted method — use with caution. Args are passed as JSON body (POST) or query params (GET).
cancel_documentwriteCancel a submitted document (set docstatus to 2). Cancelled documents cannot be modified — use amend workflow to create a corrected copy.
create_documentwriteCreate a new document in ERPNext
run_reportwriteRun an ERPNext report
submit_documentwriteSubmit a document (set docstatus to 1). Only works on submittable doctypes. Submitted documents can only be cancelled, not reverted to draft.
update_documentwriteUpdate an existing document in ERPNext
get_doctype_fieldsreadGet fields list for a specific DocType
get_doctypesreadGet a list of all available DocTypes
get_documentreadGet a single document by DocType and name, including all child tables and linked data
get_documentsreadGet a list of documents for a specific doctype

Install

Package version 0.1.0 · audited commit d6fcc7b

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.0. The audit covers commit d6fcc7b only.

claude mcp add erpnext-server --env ERPNEXT_API_KEY=${ERPNEXT_API_KEY} --env ERPNEXT_API_SECRET=${ERPNEXT_API_SECRET} -- npx -y [email protected]

The command pins the package version recorded in the source (0.1.0); the audit covers commit d6fcc7b6bb0b. Transport: stdio. Reads these environment variables: ERPNEXT_API_KEY, ERPNEXT_API_SECRET. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · d6fcc7b6bb0b

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/rakeshgangwar/erpnext/badge.svg)](https://modelsatlas.com/mcp/rakeshgangwar/erpnext/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about ERPNext MCP server

What is the ERPNext MCP server?
Connect AI assistants to your ERPNext instance via the Model Context Protocol (MCP) using the official Frappe API.
What tools does ERPNext expose?
11 in total: 4 read-only, 6 that write, and 1 that can delete or overwrite (delete_document). Every one is listed on this page with its risk.
Is ERPNext safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does ERPNext need?
It reads ERPNEXT_API_KEY and ERPNEXT_API_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does ERPNext run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as erpnext-server at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (d6fcc7b6bb0b), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.