Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The port for the remote server (e.g., '8888'). | |
| tools | Yes | Specify the tools to enable (e.g., 'all', 'all.read', or specific tools like 'products.read,products.create'). | |
| apiUrl | Yes | The commercetools API URL. | |
| remote | No | Set to 'true' to enable the Streamable HTTP (remote) server. | |
| authUrl | Yes | The commercetools Auth URL. | |
| isAdmin | No | Set to 'true' and use with --tools=all to load all available tools. | |
| authType | No | The authentication method to use: 'client_credentials' (default) or 'auth_token'. | client_credentials |
| clientId | No | The commercetools Client ID (required for 'client_credentials' authentication). | |
| stateless | No | Set to 'true' to make the MCP server stateless. | |
| projectKey | Yes | The commercetools Project Key. | |
| accessToken | No | The commercetools Access Token (required for 'auth_token' authentication). | |
| clientSecret | No | The commercetools Client Secret (required for 'client_credentials' authentication). | |
| dynamicToolLoadingThreshold | No | The number of tools threshold to switch to dynamic tool loading (default: 30). This can also be set via the DYNAMIC_TOOL_LOADING_THRESHOLD environment variable. |
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 | |