Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
portNoPort to listen on when using remote/streamable mode.
toolsNoTools to enable. Options: 'all', 'all.read', or specific tools like 'products.read,products.create'.
apiUrlNoThe commercetools API URL.
remoteNoEnable Streamable HTTP (remote) server mode.
authUrlNoThe commercetools authentication URL.
authTypeNoAuthentication method: 'client_credentials' (default) or 'auth_token'.client_credentials
clientIdNoThe commercetools client ID. Required for 'client_credentials' authentication.
statelessNoMake the MCP server stateless/stateful.
projectKeyNoThe commercetools project key.
accessTokenNoA pre-existing access token for authentication. Required if authType is 'auth_token'.
clientSecretNoThe commercetools client secret. Required for 'client_credentials' authentication.
dynamicToolLoadingThresholdNoThe threshold of enabled tools to switch to dynamic tool loading (defaults to 30).30
DYNAMIC_TOOL_LOADING_THRESHOLDNoEnvironment variable to set the dynamic tool loading threshold (defaults to 30).30

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/commercetools/commerce-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server