erpnext-mcp-server
by rakeshgangwar·★ 90·Score 47
Connect AI assistants to ERPNext/Frappe systems via MCP for document management and API calls.
Overview
This MCP server provides comprehensive integration between AI assistants and ERPNext business management systems. It exposes tools for creating, reading, updating, and deleting documents, as well as executing custom API methods and reports. The server uses the official Frappe API to securely connect to ERPNext instances, supporting both resource-based document access and direct tool calls for various operations. TypeScript implementation ensures type safety while the clean architecture makes it easy to extend functionality.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this if your team uses ERPNext and wants AI assistants to directly access and manipulate ERP data without custom development.
When NOT to choose this
Don't choose this if you need integration with non-ERPNext systems or if your ERPNext instance doesn't expose API access.
Tools this server exposes
11 tools extracted from the READMEget_doctypesGet a list of all available DocTypes
get_doctype_fieldsGet fields list for a specific DocType
get_documentsGet a list of documents for a specific doctype
get_documentGet a single document by name, including all child tables
create_documentCreate a new document in ERPNext
update_documentUpdate an existing document in ERPNext
delete_documentPermanently delete a document
submit_documentSubmit a document (set docstatus to 1)
cancel_documentCancel a submitted document (set docstatus to 2)
call_methodCall an ERPNext/Frappe whitelisted server-side API method
run_reportRun an ERPNext report
Comparable tools
Installation
Installation
Install dependencies:
npm installBuild the server:
npm run buildClaude Desktop Configuration
Add to your config file:
{
"mcpServers": {
"erpnext": {
"command": "node",
"args": ["/path/to/erpnext-server/build/index.js"],
"env": {
"ERPNEXT_URL": "http://your-erpnext-instance.com",
"ERPNEXT_API_KEY": "your-api-key",
"ERPNEXT_API_SECRET": "your-api-secret"
}
}
}
}FAQ
- What ERPNext versions are supported?
- This server uses the official Frappe API which is compatible with most recent ERPNext versions.
- How is authentication handled?
- Authentication is handled via API key and/or secret passed through environment variables.
Compare erpnext-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.