Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Port to listen on when using remote/streamable mode. | |
| tools | No | Tools to enable. Options: 'all', 'all.read', or specific tools like 'products.read,products.create'. | |
| apiUrl | No | The commercetools API URL. | |
| remote | No | Enable Streamable HTTP (remote) server mode. | |
| authUrl | No | The commercetools authentication URL. | |
| authType | No | Authentication method: 'client_credentials' (default) or 'auth_token'. | client_credentials |
| clientId | No | The commercetools client ID. Required for 'client_credentials' authentication. | |
| stateless | No | Make the MCP server stateless/stateful. | |
| projectKey | No | The commercetools project key. | |
| accessToken | No | A pre-existing access token for authentication. Required if authType is 'auth_token'. | |
| clientSecret | No | The commercetools client secret. Required for 'client_credentials' authentication. | |
| dynamicToolLoadingThreshold | No | The threshold of enabled tools to switch to dynamic tool loading (defaults to 30). | 30 |
| DYNAMIC_TOOL_LOADING_THRESHOLD | No | Environment variable to set the dynamic tool loading threshold (defaults to 30). | 30 |
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 | |