Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP host.0.0.0.0
PORTNoHTTP port.3000
MCP_PATHNoPath of the MCP endpoint./mcp
LOG_LEVELNoLog level: debug, info, warn, or error.info
MCP_TOOL_MODENoTool mode: dynamic or full.dynamic
MCP_TRANSPORTNoTransport: http (default) or stdio.http
MEDUSA_API_KEYNoSecret API key (sk_…). Recommended; use instead of MEDUSA_ADMIN_EMAIL and MEDUSA_ADMIN_PASSWORD.
MCP_AUTH_TOKENSNoComma-separated bearer tokens. Required for HTTP transport (the default); not needed for stdio.
MEDUSA_BASE_URLYesMedusa backend URL, e.g. https://api.shop.com.
MCP_CORS_ORIGINSNoAllowed origins for browser clients; * allows all.
MEDUSA_READ_ONLYNoAllow only GET operations.false
MEDUSA_TIMEOUT_MSNoTimeout for Medusa requests in milliseconds.30000
MEDUSA_ADMIN_EMAILNoAdmin email, used with MEDUSA_ADMIN_PASSWORD instead of MEDUSA_API_KEY.
MEDUSA_EXCLUDE_TAGSNoComma-separated tag deny-list, e.g. Users,Api Keys,Invites.
MEDUSA_INCLUDE_TAGSNoComma-separated tag allow-list, e.g. Products,Orders,Customers,Inventory Items.
MEDUSA_OPENAPI_PATHNoPath to your own OpenAPI file (YAML/JSON) for a different Medusa version or custom routes.
MEDUSA_EXTRA_HEADERSNoJSON object of extra headers for Medusa requests.
MCP_ALLOW_QUERY_TOKENNoAlso accept ?token=… in the URL for clients that cannot set headers.false
MEDUSA_ADMIN_PASSWORDNoAdmin password, used with MEDUSA_ADMIN_EMAIL instead of MEDUSA_API_KEY.
MCP_MAX_RESPONSE_CHARSNoResponses longer than this are truncated.60000
MCP_ALLOW_UNAUTHENTICATEDNoAllow unauthenticated HTTP access. Local testing only.false
MEDUSA_ALLOW_RAW_REQUESTSNoAllow method + path calls for /admin/*; the filters above still apply.true
MEDUSA_EXCLUDE_OPERATIONSNoComma-separated operation deny-list, e.g. DeleteProductsId,DeleteOrdersId.

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