ERPNext MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ERPNEXT_URL | Yes | URL of the ERPNext instance | |
| ERPNEXT_DEBUG | No | Enable debug logging | false |
| ERPNEXT_API_KEY | Yes | ERPNext API key | |
| ERPNEXT_API_SECRET | Yes | ERPNext API secret |
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 | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| authenticate_erpnextB | Authenticate with ERPNext using username and password (alternative to API key) |
| get_documentA | Get a single document by DocType and name |
| get_documentsB | Get a list of documents for a specific DocType with optional filtering |
| create_documentB | Create a new document in ERPNext |
| update_documentC | Update an existing document in ERPNext |
| delete_documentC | Delete a document from ERPNext |
| submit_documentA | Submit a document (Draft → Submitted). Only works for submittable DocTypes. |
| cancel_documentB | Cancel a submitted document |
| get_doctypesB | Get a list of all available DocTypes in ERPNext |
| get_doctype_fieldsA | Get field definitions for a specific DocType |
| get_doctype_metaC | Get complete metadata for a DocType including all configuration |
| create_doctypeB | Create a new custom DocType in ERPNext |
| add_doctype_fieldC | Add a custom field to an existing DocType |
| create_custom_fieldB | Create a custom field that survives ERPNext updates |
| create_property_setterC | Override a DocType or field property |
| get_workflowB | Get the active workflow for a DocType |
| create_workflowB | Create a new workflow for a DocType |
| update_workflowC | Update an existing workflow |
| run_reportC | Execute an ERPNext report and get results |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| doctypes | List of all available DocTypes in ERPNext |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kai-Oesterling/erpnext-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server