A Model Context Protocol server
A Model Context Protocol server
This is a TypeScript-based MCP server that provides integration with ERPNext/Frappe API. It enables AI assistants to interact with ERPNext data and functionality through the Model Context Protocol.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| get_doctypes | Get a list of all available DocTypes |
| get_doctype_fields | Get fields list for a specific DocType |
| get_documents | Get a list of documents for a specific doctype |
| get_document | Get a single document by name, including all child tables |
| create_document | Create a new document in ERPNext |
| update_document | Update an existing document in ERPNext |
| delete_document | Permanently delete a document |
| submit_document | Submit a document (set docstatus to 1) |
| cancel_document | Cancel a submitted document (set docstatus to 2) |
| call_method | Call an ERPNext/Frappe whitelisted server-side API method |
| run_report | Run an ERPNext report |
{
"mcpServers": {
"erpnext": {
"command": "node",
"args": [
"/path/to/erpnext-server/build/index.js"
],
"env": {
"ERPNEXT_URL": "http://your-erpnext-instance.com",
"ERPNEXT_API_KEY": "YOUR_ERPNEXT_API_KEY",
"ERPNEXT_API_SECRET": "YOUR_ERPNEXT_API_SECRET"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| ERPNEXT_URL | Declared in the maintainer’s client configuration. | Check documentation |
| ERPNEXT_API_KEY | Declared in the maintainer’s client configuration. | Optional |
| ERPNEXT_API_SECRET | Declared in the maintainer’s client configuration. | Optional |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Global B2B intelligence for AI agents: 35M+ companies, 1.6M sanctions, KYB pack. 78 tools.
MCP server for analyzing images using OpenRouter vision models
The `postinstall` script helper for handling native bindings in legacy `npm` versions
Install this MCP server by adding the following JSON code to your JSON config file