ERPNext MCP Server
by Snovel993
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_BACKEND | No | Backend to use. Defaults to direct. rest is also implemented but supports only stdio. | direct |
| MCP_PROFILE | No | Selects one public inventory per process. Omitted means sales. | sales |
| MCP_TRANSPORT | No | Transport to use. Defaults to stdio. streamable-http requires MCP_BACKEND=direct. | stdio |
| ERPNEXT_API_KEY | No | API key for the remote ERPNext site. Required for MCP_BACKEND=rest. | |
| MCP_CANCEL_MODE | No | Availability gate for Cancel. Defaults to disabled; opt in with approval_required. | disabled |
| MCP_DELETE_MODE | No | Availability gate for Delete. Defaults to disabled; opt in with approval_required. | disabled |
| MCP_FRAPPE_SITE | No | The Frappe site to connect to. Required for MCP_BACKEND=direct. | |
| MCP_FRAPPE_USER | No | The Frappe user to validate and use for stdio transport with MCP_BACKEND=direct. Required for MCP_BACKEND=direct and MCP_TRANSPORT=stdio. | |
| MCP_UPDATE_MODE | No | Availability gate for Document Update. Defaults to disabled; opt in with approval_required. | disabled |
| ERPNEXT_BASE_URL | No | Base URL for the remote ERPNext site. Required for MCP_BACKEND=rest. | |
| MCP_APPROVAL_MODE | No | Server-only approval mode. Defaults to agent_delegated. trusted_human requires an independently verified, internally recorded approval. | agent_delegated |
| ERPNEXT_API_SECRET | No | API secret for the remote ERPNext site. Required for MCP_BACKEND=rest. | |
| MCP_HTTP_AUTH_MODE | No | HTTP authentication mode. Defaults to trusted_header. oauth is implemented for Streamable HTTP. | trusted_header |
| MCP_OAUTH_ISSUER_URL | No | OAuth issuer URL. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=oauth. | |
| MCP_HTTP_SHARED_SECRET | No | Server-only shared secret of at least 32 characters for trusted_header authentication. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=trusted_header. | |
| MCP_OAUTH_REQUIRED_SCOPES | No | Required OAuth scopes. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=oauth. | |
| MCP_OAUTH_FRAPPE_CLIENT_ID | No | Frappe OAuth client ID. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=oauth. | |
| MCP_REST_ALLOW_INSECURE_HTTP | No | Set to 1 to allow insecure HTTP for REST backend loopback development origin. Defaults to 0. | 0 |
| MCP_OAUTH_RESOURCE_SERVER_URL | No | OAuth resource server URL. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=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