ERPNext MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ERPNEXT_URL | Yes | The base URL of your ERPNext instance | |
| ERPNEXT_API_KEY | No | API key for authentication (optional) | |
| ERPNEXT_API_SECRET | No | API secret for authentication (optional) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_doctypesA | Get a list of all available DocTypes |
| get_doctype_fieldsB | Get fields list for a specific DocType |
| get_documentsA | Get a list of documents for a specific doctype |
| create_documentC | Create a new document in ERPNext |
| update_documentC | Update an existing document in ERPNext |
| run_reportC | Run an ERPNext report |
| create_doctypeC | Create a new DocType in ERPNext (unified – use |
| create_smart_doctypeA | [DEPRECATED] Use create_doctype with mode='smart' instead – kept for backward compatibility |
| create_child_tableC | Create a new Child Table DocType in ERPNext |
| add_child_table_to_doctypeC | Add a child table field to an existing DocType |
| get_doctype_metaB | Get detailed metadata for a specific DocType including fields definition |
| create_moduleC | Create a new Module in ERPNext |
| create_dashboardB | Create a new Dashboard in ERPNext (unified – use |
| create_workflowC | Create a new Workflow in ERPNext (unified – use |
| create_server_scriptC | Create a new Server Script in ERPNext (unified – use |
| create_client_scriptB | Create a new Client Script in ERPNext (unified – use |
| create_webhookB | Create a new Webhook in ERPNext (unified – use |
| create_smart_webhookC | [DEPRECATED] Use create_webhook with mode='smart' instead – kept for backward compatibility |
| create_hookC | Create a new Hook (custom app hook) in ERPNext |
| create_reportC | Create a new Report in ERPNext (unified – use |
| create_chartC | Create a new Chart in ERPNext |
| create_webpageC | Create a new Web Page in ERPNext |
| delete_documentC | Delete a document by doctype and name |
| clone_documentC | Clone a document (optionally override fields) |
| export_documentsC | Export documents as JSON |
| import_documentsC | Import documents from JSON |
| bulk_create_documentsC | Bulk create documents |
| bulk_update_documentsC | Bulk update documents |
| bulk_delete_documentsD | Bulk delete documents |
| search_documentsC | Advanced search for documents |
| get_permissionsC | Get permissions for a DocType |
| set_permissionsB | Set permissions for a DocType |
| smart_set_permissionsC | Set permissions for a DocType with enhanced validation and error handling |
| share_documentB | Share a document with a user |
| validate_doctypeC | Validate a DocType definition (basic checks) |
| validate_workflowC | Validate a Workflow definition (basic checks) |
| validate_scriptC | Validate a script definition (basic checks) |
| preview_scriptC | Preview a script (syntax check only) |
| get_document_historyC | Get version history for a document |
| rollback_documentC | Rollback a document to a previous version |
| scaffold_appC | Scaffold a new custom app (returns structure) |
| scaffold_moduleC | Scaffold a new module (returns structure) |
| generate_form_schemaC | Generate a form schema for a DocType |
| generate_dashboard_schemaC | Generate a dashboard schema for a Dashboard |
| lint_scriptB | Lint a script (syntax check only) |
| test_scriptB | Test a script (syntax check only) |
| create_notificationC | Create a notification/alert |
| create_scheduled_jobD | Create a scheduled job |
| generate_doctype_docsC | Generate documentation for a DocType |
| generate_workflow_docsC | Generate documentation for a Workflow |
| register_integrationC | Register a new integration service |
| manage_integrationD | Update/manage an integration service |
| create_smart_workflowA | [DEPRECATED] Use create_workflow with mode='smart' instead – kept for backward compatibility |
| create_smart_server_scriptB | [DEPRECATED] Use create_server_script with mode='smart' instead – kept for backward compatibility |
| create_smart_client_scriptB | [DEPRECATED] Use create_client_script with mode='smart' instead – kept for backward compatibility |
| create_smart_webhookC | Create a new Webhook with automatic validation and security features |
| create_smart_reportB | [DEPRECATED] Use create_report with mode='smart' instead – kept for backward compatibility |
| create_smart_dashboardC | Create a new Dashboard with automatic chart and report integration |
| bulk_smart_create_documentsB | Bulk create documents with validation, error handling, and progress tracking |
| smart_import_documentsC | Import documents with validation, conflict resolution, and detailed reporting |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| All DocTypes | List of all available DocTypes in the ERPNext instance |
TDQS
Scored across 59 tools
Several tools are near-duplicates that will confuse selection: create_smart_client_script vs create_client_script, create_smart_doctype vs create_doctype, create_smart_webhook vs create_webhook, smart_set_permissions vs set_permissions, and smart_import_documents vs import_documents. Additionally validate_script, lint_script, test_script, and preview_script are all described as syntax checks, making them nearly indistinguishable.
The set overwhelmingly follows a consistent snake_case verb_noun pattern (get_doctype_fields, create_document, bulk_delete_documents, generate_workflow_docs). The main deviation is the 'smart_' prefix variants that shadow base tools, but these are still readable and patterned.
At 59 tools the surface is heavily overloaded for practical selection, well beyond a comfortable 3-15 range. A large fraction of the count is inflated by deprecated 'smart_' duplicates and near-identical validation tools rather than genuinely distinct capabilities.
Coverage is broad for the ERPNext domain: document CRUD, bulk/import/export, doctype and child-table management, permissions, workflows, scripts, reports, dashboards, and integrations are all represented. Only minor gaps remain, which agents can work around.