commercetools Knowledge MCP 服务器是官方的吗?
是的。它由 commercetools 运营,从 docs.commercetools.com 提供服务,并在 commercetools 开发者文档站点中有说明。
@commercetools Knowledge MCP
基本信息
commercetools Knowledge MCP 是 commercetools 官方托管的 MCP 服务器,提供开发者文档和 API 规范。AI 代理和 IDE 可以进行语义文档搜索,按资源获取 GraphQL 模式和 OpenAPI 规范,并校验 GraphQL 查询和 REST 请求。它免费、无需认证,并按 IP 进行速率限制。
https://docs.commercetools.com/apis/mcpclaude mcp add commercetools-knowledge --transport http https://docs.commercetools.com/apis/mcpRetrieves documentation content chunks that are semantically similar to the input. Use this tool to find domain concepts, business behavior explanations, and reference material from the commercetools documentation. Inline links in the content use markdown format [text](url). The URL usually points to the commercetools documentation portal but can also point to API reference docs or external resources. Relative links resolve against "https://docs.commercetools.com". Appending ".md" to a documentation URL fetches the markdown source of that page. Example: a relative link "./api/predicates/query" resolves to "https://docs.commercetools.com/api/predicates/query.md" If you are requesting only one specific content type, pass the same value for crowding and limit. The mean size of a documentation chunk returned is in the range of 500-600 tokens.
Fetches a partial commercetools GraphQL schema for a given resource. Use this tool to retrieve the GraphQL type definitions needed to construct queries or mutations against commercetools. Each resource name is prefixed with the GraphQL SDL it belongs to (e.g. `gql-sphere-Product` for sphere API, `gql-il-Cart` for integration layer API), reflected in the "resourceName" enum. For each stubbed type in the schema, the full schema for that type can be fetched by invoking the tool again with the resource name specified in the comment related to the stubbed type. The comment looks like this: Stub of the `{nameOfStubbedResource}` resource. fetch the full subschema via the MCP resource name `{nameOfTheResource}`. The returned schema contains descriptions but no "implements" Interface information and no deprecated query types. Conventions and predicate examples for commercetools GraphQL are available in the `commercetools-developer-tips` MCP prompt.
Validates a GraphQL query or mutation against the official commercetools public schema, returning syntax and schema errors with line/column locations. Doesn't validate project-specific schema.
Fetches a partial commercetools OpenAPI spec for a given commercetools resource. Use this tool when you need the detailed REST schema of a resource to construct requests or generate a REST client. The returned spec is self-contained and valid for everything regarding that resource. It contains descriptions but they are not comprehensive. Each resource may be available as a read variant, write variant, or unified spec, reflected in the "resourceName" enum. Conventions and predicate examples for commercetools REST APIs are available in the `commercetools-developer-tips` MCP prompt.
Fetches a single documentation content entry from the commercetools documentation content API by its ID. Use this tool when you already have a content ID (for example, one returned by `commercetools-documentation-search`) and want to retrieve the raw content as a string.
Validates REST API requests (method + path + body) against commercetools OpenAPI specifications offline. Returns detailed errors with suggestions for invalid requests. This tool checks: - Path exists in the API - HTTP method is allowed for that path - Request body matches the expected schema (types, required fields, enums, etc.) - Discriminator fields (like 'action' in update requests) are valid Use this before making actual API calls to catch errors early.
commercetools Knowledge MCP Server 是 commercetools 官方提供的免费 MCP 服务器,面向开发者文档和 API 规范:AI 代理可以搜索文档、获取 GraphQL 和 OpenAPI 模式,并校验查询和 REST 请求,无需任何认证。
commercetools 提供两个 MCP 服务器。Commerce MCP 操作你 Project 中的 Cart、Order 等资源,需要 API 客户端凭据。本文介绍的 Knowledge MCP 是一个无状态服务器,只提供公开的文档和 API 模式内容,因此无需访问任何 commercetools Project 即可使用。它的目标是缩短上手时间,帮助 AI 编码助手写出正确的 commercetools 代码,而不是猜测字段名。
该服务器仅通过 Streamable HTTP 提供(没有本地 stdio,也没有 SSE),地址为:
https://docs.commercetools.com/apis/mcp
不需要 API 密钥、登录或 Project。commercetools 建议使用 commercetools-knowledge 作为本地服务器名称。
claude mcp add --transport http commercetools-knowledge https://docs.commercetools.com/apis/mcp
进入 Customize > Connectors > Add custom connector,名称填写 commercetools-knowledge,远程 MCP 服务器 URL 填写 https://docs.commercetools.com/apis/mcp。
在 Cursor Settings > Tools & MCP > New MCP Server 中添加:
{
"mcpServers": {
"commercetools-knowledge": {
"type": "http",
"url": "https://docs.commercetools.com/apis/mcp"
}
}
}
将其添加到用户级 mcp.json 或工作区的 .vscode/mcp.json:
{
"servers": {
"commercetools-knowledge": {
"type": "http",
"url": "https://docs.commercetools.com/apis/mcp"
}
}
}
对于只支持本地 stdio 服务器的客户端,commercetools 文档给出了用 mcp-remote 包装端点的方式:
"commercetools-knowledge": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://docs.commercetools.com/apis/mcp"]
}
JetBrains IDE 可以通过支持 MCP 的插件(例如 AI Assistant)连接。
commercetools-developer-tips 提示词:加载 key 与 id、centAmount 最小货币单位、LocalizedString、查询谓词、排序和常见陷阱等约定。该服务器提供六个工具,分为三组。
commercetools-documentation-search 返回与你的问题语义相近的文档片段;commercetools-documentation-by-id 在你已知内容 ID(例如 ctp:api:type:ProductProjection)时获取完整条目。commercetools-graphql-schemata 返回某个资源(如 Cart)的部分 GraphQL 模式;commercetools-oas-schemata 返回某个资源(如 api-Customer-write)的自包含 OpenAPI 规范。commercetools-graphql-validate 检查查询或变更,并返回带行号和列号的错误;commercetools-rest-validate 检查方法、路径和请求体,包括更新操作的判别字段。两者都是只读的,校验依据是公开模式,而不是你 Project 的配置。官方推荐的流程是:先搜索,再获取模式,然后校验,最后生成代码或执行调用。
changeEmail 更新操作。”Retry-After 头中给出的时间。input 改得更宽泛或更具体,并放宽 contentTypes 或 products 过滤条件。resourceName 取值。europe-west1,其他地区可能延迟更高。是的。它由 commercetools 运营,从 docs.commercetools.com 提供服务,并在 commercetools 开发者文档站点中有说明。
免费。commercetools 称其完全免费使用,限制为每个 IP 地址每 15 分钟 100 次请求。
不需要。它无需认证,只提供公开的文档和模式内容,因此不需要任何 Project 访问权限。
不会。它从不连接你的 Project,校验工具也不会执行查询。如需操作 Cart、Order 等资源,请使用 commercetools Commerce MCP,它使用 API 客户端凭据。
支持。commercetools 文档提供了 VS Code、Cursor、Claude Desktop 和 Claude Code 的配置方法,还介绍了 JetBrains IDE 以及通过 `mcp-remote` 连接的 stdio 客户端。
对于高负载或企业级需求,commercetools 建议自行构建 MCP 服务器。
commercetools Knowledge MCP 的远程 MCP 服务器是一个托管的 Model Context Protocol 端点,地址是 https://docs.commercetools.com/apis/mcp,AI 助手无需在本地安装或运行任何东西即可连接。
把端点 https://docs.commercetools.com/apis/mcp 添加到任意支持 MCP 的客户端,比如 Claude Code、Cursor 或 VS Code。本页的接入代码块可以一步配置好每个客户端。
此收录尚未确认 commercetools Knowledge MCP 的认证要求。连接前请查阅提供方文档。
commercetools Knowledge MCP 暴露的是 streamable-http 端点,这是远程 MCP 服务器普遍使用、主流客户端都支持的传输方式。
Write, schedule and publish LinkedIn posts in your own voice, reply to comments and read your analytics, all from your AI assistant. Remote MCP server with OAuth sign-in.
Ideate, create, and deliver with Adobe pro tools
Official 42min MCP server: let Claude, ChatGPT, Cursor or any MCP client manage your meeting scheduling. Check availability, find free slots, book, cancel and reschedule meetings, manage recurring series, secret booking
Pharmaceutical drug & clinical trial intelligence
Discover, evaluate, and buy solutions for the cloud
评论