Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_BACKENDNoBackend to use. Defaults to 'direct'. Can be 'direct' or 'rest' (rest only supports stdio).direct
MCP_PROFILENoProfile for public tools. Defaults to 'sales'. Accepted values: sales, purchase, accounts, all.sales
MCP_TRANSPORTNoTransport to use. Defaults to 'stdio'. Can be 'stdio' or 'streamable-http'.stdio
ERPNEXT_API_KEYNoAPI key for ERPNext REST API. Required when MCP_BACKEND is rest.
MCP_CANCEL_MODENoServer-only availability gate for document cancel. Defaults to 'disabled'. Can be 'approval_required'.disabled
MCP_CREATE_MODENoServer-only availability gate for document create. Defaults to 'disabled'. Can be 'approval_required' or 'direct'.disabled
MCP_DELETE_MODENoServer-only availability gate for document delete. Defaults to 'disabled'. Can be 'approval_required'.disabled
MCP_FRAPPE_SITENoThe Frappe site to connect to. Required for direct backend.
MCP_FRAPPE_USERNoThe Frappe user for stdio direct backend. Required for direct backend with stdio transport.
MCP_UPDATE_MODENoServer-only availability gate for document update. Defaults to 'disabled'. Can be 'approval_required'.disabled
ERPNEXT_BASE_URLNoBase URL for ERPNext REST API. Required when MCP_BACKEND is rest.
MCP_APPROVAL_MODENoServer-only approval mode. Defaults to 'agent_delegated'. Can be 'trusted_human'.agent_delegated
ERPNEXT_API_SECRETNoAPI secret for ERPNext REST API. Required when MCP_BACKEND is rest.
MCP_HTTP_AUTH_MODENoAuthentication mode for streamable-http. Defaults to 'trusted_header'. Can be 'trusted_header' or 'oauth'.trusted_header
MCP_OAUTH_ISSUER_URLNoOAuth issuer URL. Required when MCP_HTTP_AUTH_MODE is oauth.
MCP_HTTP_SHARED_SECRETNoShared secret for trusted_header auth. Must be at least 32 characters. Required when MCP_HTTP_AUTH_MODE is trusted_header.
MCP_OAUTH_REQUIRED_SCOPESNoOAuth required scopes. Required when MCP_HTTP_AUTH_MODE is oauth.
MCP_OAUTH_FRAPPE_CLIENT_IDNoOAuth Frappe client ID. Required when MCP_HTTP_AUTH_MODE is oauth.
MCP_REST_ALLOW_INSECURE_HTTPNoSet to 1 to allow insecure HTTP for REST backend on loopback. Optional. Defaults to 0.0
MCP_OAUTH_RESOURCE_SERVER_URLNoOAuth 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

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

Maintenance

ActivityMaintained
ResponsivenessNo issues