commercetools MCP Server
Published
At a glance
- Category
- Business & payments
- GitHub repository
- commercetools/commerce-mcp
- Watch out for
- With --tools=all the agent can create and change live products, orders, customers and prices, so read_all or a short tool list is safer outside test projects.
commercetools publishes Commerce MCP as an MIT-licensed repo that holds two things: an MCP server you run with npx as @commercetools/commerce-mcp, and a commerce agent library for LangChain, Vercel's AI SDK and custom MCP servers. It talks to the Composable Commerce API of a single project, authenticated with an API client.
The server runs over stdio by default and switches to Streamable HTTP with --remote=true. It needs Node.js 20 or newer and serves both the 2025-11-25 and 2026-07-28 protocol revisions from one /mcp endpoint. Under the newer revision there are no protocol sessions, so credentials travel with every request.
What stands out is how much of the API it covers and how you narrow it. Tools are switched on with --tools, either all of them, read_all for read-only work, or a named list. Past a threshold (30 by default) it moves to dynamic tool loading to keep the context small. The older commercetools/mcp-essentials repo is now archived, so this is the one to use.
How it connects
Your AI app
An assistant or agent that supports MCP
commercetools MCP Server
Runs as
- npx (Node.js)
Gives the agent
- Catalogue management
- Carts and orders
- Customers
- Pricing and discounts
- B2B quoting and approvals
- Project setup and checkout
commercetools
Signs in with
- Token
- App credentials
What it can do
- Catalogue management
- read_products, create_products and update_products work on products, alongside read_product_search, read_product_projections, read_categories and update_categories.
- Carts and orders
- read_carts, create_carts, update_carts and replicate_carts handle carts, while read_orders, create_orders, update_orders and the order edit tools such as apply_order_edits cover orders.
- Customers
- read_customers, create_customers, update_customers, read_customer_search and the customer group tools manage shopper records.
- Pricing and discounts
- Standalone prices, product discounts and cart discounts each have tools, for example read_standalone_prices, update_product_discounts and read_cart_discounts.
- B2B quoting and approvals
- read_quotes, create_quote_requests, update_staged_quotes, read_approval_rules, update_approval_flows and the associate role tools support quote and approval workflows.
- Project setup and checkout
- read_project, the channel, state and attribute group tools, plus read_applications and create_payment_integrations for commercetools Checkout.
Setting it up
Create an API client in your commercetools project and note its client ID, secret, project key, auth URL and API URL. The basic command is npx -y @commercetools/commerce-mcp --tools=all --clientId=CLIENT_ID --clientSecret=CLIENT_SECRET --projectKey=PROJECT_KEY --authUrl=AUTH_URL --apiUrl=API_URL; swap --tools=all for --tools=read_all to stay read-only, or list tools such as --tools=read_products,create_products. If you already have a token, use --authType=auth_token --accessToken=ACCESS_TOKEN instead of the client secret. For Claude Desktop, add a commercetools entry under mcpServers in claude_desktop_config.json with "command": "npx" and args starting "-y", "@commercetools/commerce-mcp@latest", followed by the same flags; the README example also passes --dynamicToolLoadingThreshold=30. To serve it over HTTP, add --remote=true, and with auth_token mode each request then carries its own Authorization: Bearer header. Adding --customerId=CUSTOMER_ID runs the server in customer self-service mode.
claude mcp add commercetools -- npx -y @commercetools/commerce-mcpRuns the @commercetools/commerce-mcp package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Look up a product by search terms and update its description or attributes in a staging project.
- Build a cart for a test customer, add items and turn it into an order to check a checkout flow.
- Review the cart and product discounts currently set up before a promotion goes live.
- Work through B2B quote requests and staged quotes, or inspect approval rules for a business unit.
- Give a support assistant a read_all view of orders and customers without write access.
Limitations and things to watch
- With --tools=all the agent can create and change live products, orders, customers and prices, so read_all or a short tool list is safer outside test projects.
- The API client must carry scopes that match the tools you enable, such as view_products for product reads.
- The underlying library is not exhaustive of the entire commercetools API, so some endpoints have no tool.
- Under the 2026 revision GET /mcp returns 405 and --stateless=false is deprecated, so older HTTP clients that rely on sessions need the legacy revision.
- Customer mode restricts customer-owned resources to safe operations, so quote updates there are limited to accept, decline or renegotiation requests.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /commercetools/commerce-mcp
- github.com /commercetools/commerce-mcp/blob/main/modelcontextprotocol/README.md
- registry.npmjs.org /@commercetools/commerce-mcp/latest
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.