[Home](/index.md) › [MCP servers](/mcp.md) › commercetools docs MCP

# commercetools docs MCP

MCP server

- 6 callable tools
- Read only
- 6 capabilities

[Installation guide](https://docs.commercetools.com/apis/mcp)

## Overview

commercetools publishes this remote MCP server for searching its documentation and validating GraphQL and REST API requests against its schemas. It works with the commercetools platform.

### Capabilities

- Search commercetools documentation
- Fetch documentation entries by ID
- Retrieve partial GraphQL schemas for commercetools resources
- Retrieve partial OpenAPI specs for commercetools resources
- Validate GraphQL queries and mutations against the public schema
- Validate REST API requests against commercetools OpenAPI specs

## Works with

The products your agent can work with through this server.

- [commercetools](/tools/commercetools.md): Agentic headless commerce

## Tools

The callable functions your agent uses to work with this server.

### `commercetools-documentation-search`

Retrieves documentation content chunks that are semantically similar to the input.

### `commercetools-graphql-schemata`

Fetches a partial commercetools GraphQL schema for a given resource.

### `commercetools-graphql-validate`

Validates a GraphQL query or mutation against the official commercetools public schema, returning syntax and schema errors with line/column locations.

### `commercetools-oas-schemata`

Fetches a partial commercetools OpenAPI spec for a given commercetools resource.

### `commercetools-documentation-by-id`

Fetches a single documentation content entry from the commercetools documentation content API by its ID.

### `commercetools-rest-validate`

Validates REST API requests (method + path + body) against commercetools OpenAPI specifications offline.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add commercetools docs MCP to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http commercetools-docs https://docs.commercetools.com/apis/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add commercetools docs MCP to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=commercetools-docs&config=eyJ1cmwiOiJodHRwczovL2RvY3MuY29tbWVyY2V0b29scy5jb20vYXBpcy9tY3AifQ%3D%3D)

```json
{
  "mcpServers": {
    "commercetools-docs": {
      "url": "https://docs.commercetools.com/apis/mcp"
    }
  }
}
```

### Add commercetools docs MCP to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "commercetools-docs": {
      "type": "http",
      "url": "https://docs.commercetools.com/apis/mcp"
    }
  }
}
```

### Add commercetools docs MCP to Codex

Run this in your terminal:

```sh
codex mcp add commercetools-docs --url https://docs.commercetools.com/apis/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.commercetools-docs]
url = "https://docs.commercetools.com/apis/mcp"
```

If the server uses OAuth, sign in with `codex mcp login commercetools-docs`.

### Add commercetools docs MCP to Claude

Add it as a custom connector with this URL:

```
https://docs.commercetools.com/apis/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add commercetools docs MCP to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://docs.commercetools.com/apis/mcp
```

[Read the installation guide](https://docs.commercetools.com/apis/mcp)
