Skip to main content
Glama
Snovel993

ERPNext MCP Server

by Snovel993

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_BACKENDNoBackend to use. Defaults to direct. rest is also implemented but supports only stdio.direct
MCP_PROFILENoSelects one public inventory per process. Omitted means sales.sales
MCP_TRANSPORTNoTransport to use. Defaults to stdio. streamable-http requires MCP_BACKEND=direct.stdio
ERPNEXT_API_KEYNoAPI key for the remote ERPNext site. Required for MCP_BACKEND=rest.
MCP_CANCEL_MODENoAvailability gate for Cancel. Defaults to disabled; opt in with approval_required.disabled
MCP_DELETE_MODENoAvailability gate for Delete. Defaults to disabled; opt in with approval_required.disabled
MCP_FRAPPE_SITENoThe Frappe site to connect to. Required for MCP_BACKEND=direct.
MCP_FRAPPE_USERNoThe Frappe user to validate and use for stdio transport with MCP_BACKEND=direct. Required for MCP_BACKEND=direct and MCP_TRANSPORT=stdio.
MCP_UPDATE_MODENoAvailability gate for Document Update. Defaults to disabled; opt in with approval_required.disabled
ERPNEXT_BASE_URLNoBase URL for the remote ERPNext site. Required for MCP_BACKEND=rest.
MCP_APPROVAL_MODENoServer-only approval mode. Defaults to agent_delegated. trusted_human requires an independently verified, internally recorded approval.agent_delegated
ERPNEXT_API_SECRETNoAPI secret for the remote ERPNext site. Required for MCP_BACKEND=rest.
MCP_HTTP_AUTH_MODENoHTTP authentication mode. Defaults to trusted_header. oauth is implemented for Streamable HTTP.trusted_header
MCP_OAUTH_ISSUER_URLNoOAuth issuer URL. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=oauth.
MCP_HTTP_SHARED_SECRETNoServer-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_SCOPESNoRequired OAuth scopes. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=oauth.
MCP_OAUTH_FRAPPE_CLIENT_IDNoFrappe OAuth client ID. Required when MCP_TRANSPORT=streamable-http and MCP_HTTP_AUTH_MODE=oauth.
MCP_REST_ALLOW_INSECURE_HTTPNoSet to 1 to allow insecure HTTP for REST backend loopback development origin. Defaults to 0.0
MCP_OAUTH_RESOURCE_SERVER_URLNoOAuth 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources