MCP server/cloud

commercetools Commerce MCP Server

Interact with commercetools APIs to manage products, categories, and orders.

★ 1commercetools/commerce-mcp ↗by commercetoolsupdated
1

Add it to Claude Code

claude mcp add -e "CLIENT_ID=${CLIENT_ID}" -e "CLIENT_SECRET=${CLIENT_SECRET}" -e "PROJECT_KEY=${PROJECT_KEY}" -e "AUTH_URL=${AUTH_URL}" -e "API_URL=${API_URL}" commercetools-commerce -- npx -y @commercetools/commerce-mcp@latest --tools=all --clientId=CLIENT_ID --clientSecret=CLIENT_SECRET --authUrl=AUTH_URL --projectKey=PROJECT_KEY --apiUrl=API_URL --dynamicToolLoadingThreshold=30
Required:CLIENT_IDCLIENT_SECRETPROJECT_KEYAUTH_URLAPI_URL
2

Make your agent remember this setup

commercetools-commerce's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Comprehensive management of products, categories, orders, and carts
  • Support for both read-only and full-access operations
  • Secure authentication via client credentials or access tokens
  • Dynamic tool loading for optimized performance
  • Compatible with various MCP clients and agent frameworks

Tools 2

products.readRead product data from commercetools
products.createCreate new products in commercetools

Environment Variables

CLIENT_IDrequiredThe commercetools API client ID
CLIENT_SECRETrequiredThe commercetools API client secret
PROJECT_KEYrequiredThe commercetools project key
AUTH_URLrequiredThe commercetools authentication URL
API_URLrequiredThe commercetools API URL

Try it

Fetch the details for the product with SKU 'winter-jacket-001'.
Create a new product draft for a summer t-shirt with the specified attributes.
List all categories currently defined in the commercetools project.
Retrieve the current status of order number 12345.
Original README from commercetools/commerce-mcp

License and Scope of Use for Commerce MCP

Commerce MCP is provided under a dual-tier usage model based on the highly permissive MIT License with specific limitations on commercial use.

Permitted Use

Access to and use of Commerce MCP is governed by the following terms:

  • Non-Commercial Use (No Charge): The use of Commerce MCP is permitted for development, evaluation, and testing purposes at no charge. This non-commercial use is subject to a hard cap of 1,000,000 (one million) total tool invocations.
  • Commercial/Production Use (Required License): Any use of Commerce MCP in a production environment or for any other commercial purpose requires a paid license or subscription.

License Enforcement

While the underlying code adheres to the principles of the MIT License, the terms above constitute the binding agreement for utilizing Commerce MCP. commercetools reserves the right to review how customers are using Commerce MCP and to restrict or terminate access for unlicensed production use or for any non-commercial use that exceeds the stated 1,000,000 invocation limit.

commercetools Commerce MCP

This repository contains both an MCP server (which you can integrate with many MCP clients) and commerce agent that can be used from within agent frameworks.

commercetools Model Context Protocol

Setup

To run the commercetools MCP server using npx, use the following command:

Client Credentials Authentication (Default)

# To set up all available tools (authType is optional, defaults to client_credentials)
npx -y @commercetools/commerce-mcp --tools=all --clientId=CLIENT_ID --clientSecret=CLIENT_SECRET --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL

# Explicitly specify client_credentials (optional)
npx -y @commercetools/commerce-mcp --tools=all --authType=client_credentials --clientId=CLIENT_ID --clientSecret=CLIENT_SECRET --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL

# To set up all read-only tools
npx -y @commercetools/commerce-mcp --tools=all.read --clientId=CLIENT_ID --clientSecret=CLIENT_SECRET --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL
# To set up specific tools
npx -y @commercetools/commerce-mcp --tools=products.read,products.create --clientId=CLIENT_ID --clientSecret=CLIENT_SECRET --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL

Access Token Authentication

# To set up all available tools with access token
npx -y @commercetools/commerce-mcp --tools=all --authType=auth_token --accessToken=ACCESS_TOKEN --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL

# To set up all read-only tools with access token
npx -y @commercetools/commerce-mcp --tools=all.read --authType=auth_token --accessToken=ACCESS_TOKEN --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL

Make sure to replace CLIENT_ID, CLIENT_SECRET, PROJECT_KEY, AUTH_URL, API_URL, and ACCESS_TOKEN with your actual values. If using the customerId parameter, replace CUSTOMER_ID with the actual customer ID. Alternatively, you could set the API_KEY in your environment variables.

Authentication Options

The MCP server supports two authentication methods:

Authentication Type Required Arguments Description
client_credentials (default) --clientId, --clientSecret Uses API client credentials for authentication. --authType=client_credentials is optional since this is the default
auth_token --accessToken, (optional --clientId, --clientSecret) Uses a pre-existing access token for authentication. Requires --authType=auth_token and optional --clientId and --clientSecret

Usage with Claude Desktop

Add the following to your claude_desktop_config.json. See here for more details.

Client Credentials Authentication
{
  "mcpServers": {
    "commercetools": {
      "command": "npx",
      "args": [
        "-y",
        "@commercetools/commerce-mcp@latest",
        "--tools=all",
        "--clientId=CLIENT_ID",
        "--clientSecret=CLIENT_SECRET",
        "--authUrl=AUTH_URL",
        "--projectKey=PROJECT_KEY",
        "--apiUrl=API_URL",
        "--dynamicToolLoadingThreshold=30"
      ]
    }
  }
}

Note: You can optionally add "--authType=client_credentials" to be explicit, but it's not required since this is the default.

Access Token Authentication
{
  "mcpServers": {
    "commercetools": {
      "command": "npx",
      "

Frequently Asked Questions

What are the key features of commercetools Commerce MCP?

Comprehensive management of products, categories, orders, and carts. Support for both read-only and full-access operations. Secure authentication via client credentials or access tokens. Dynamic tool loading for optimized performance. Compatible with various MCP clients and agent frameworks.

What can I use commercetools Commerce MCP for?

Automating product catalog updates for ecommerce managers. Assisting customer support agents in retrieving order status via AI. Streamlining category management for merchandising teams. Integrating commercetools data into AI-driven business intelligence workflows.

How do I install commercetools Commerce MCP?

Install commercetools Commerce MCP by running: npx -y @commercetools/commerce-mcp --tools=all --clientId=CLIENT_ID --clientSecret=CLIENT_SECRET --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL

What MCP clients work with commercetools Commerce MCP?

commercetools Commerce MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep commercetools Commerce MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest