ERPNext MCP Server
by yash-shayona
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_BACKEND | No | Backend to use. Defaults to 'direct'. Can be 'direct' or 'rest' (rest only supports stdio). | direct |
| MCP_PROFILE | No | Profile for public tools. Defaults to 'sales'. Accepted values: sales, purchase, accounts, all. | sales |
| MCP_TRANSPORT | No | Transport to use. Defaults to 'stdio'. Can be 'stdio' or 'streamable-http'. | stdio |
| ERPNEXT_API_KEY | No | API key for ERPNext REST API. Required when MCP_BACKEND is rest. | |
| MCP_CANCEL_MODE | No | Server-only availability gate for document cancel. Defaults to 'disabled'. Can be 'approval_required'. | disabled |
| MCP_CREATE_MODE | No | Server-only availability gate for document create. Defaults to 'disabled'. Can be 'approval_required' or 'direct'. | disabled |
| MCP_DELETE_MODE | No | Server-only availability gate for document delete. Defaults to 'disabled'. Can be 'approval_required'. | disabled |
| MCP_FRAPPE_SITE | No | The Frappe site to connect to. Required for direct backend. | |
| MCP_FRAPPE_USER | No | The Frappe user for stdio direct backend. Required for direct backend with stdio transport. | |
| MCP_UPDATE_MODE | No | Server-only availability gate for document update. Defaults to 'disabled'. Can be 'approval_required'. | disabled |
| ERPNEXT_BASE_URL | No | Base URL for ERPNext REST API. Required when MCP_BACKEND is rest. | |
| MCP_APPROVAL_MODE | No | Server-only approval mode. Defaults to 'agent_delegated'. Can be 'trusted_human'. | agent_delegated |
| ERPNEXT_API_SECRET | No | API secret for ERPNext REST API. Required when MCP_BACKEND is rest. | |
| MCP_HTTP_AUTH_MODE | No | Authentication mode for streamable-http. Defaults to 'trusted_header'. Can be 'trusted_header' or 'oauth'. | trusted_header |
| MCP_OAUTH_ISSUER_URL | No | OAuth issuer URL. Required when MCP_HTTP_AUTH_MODE is oauth. | |
| MCP_HTTP_SHARED_SECRET | No | Shared secret for trusted_header auth. Must be at least 32 characters. Required when MCP_HTTP_AUTH_MODE is trusted_header. | |
| MCP_OAUTH_REQUIRED_SCOPES | No | OAuth required scopes. Required when MCP_HTTP_AUTH_MODE is oauth. | |
| MCP_OAUTH_FRAPPE_CLIENT_ID | No | OAuth Frappe client ID. Required when MCP_HTTP_AUTH_MODE is oauth. | |
| MCP_REST_ALLOW_INSECURE_HTTP | No | Set to 1 to allow insecure HTTP for REST backend on loopback. Optional. Defaults to 0. | 0 |
| MCP_OAUTH_RESOURCE_SERVER_URL | No | OAuth resource server URL. Required when MCP_HTTP_AUTH_MODE is oauth. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues