# Managed MCP Servers

## GraphQL partial SDLs

This is a graphql reference page. In the llms.txt variant, those components link to the shared partial SDL key list instead of trying to resolve inline GraphQL reference content.

Fetch all available partial SDL keys first:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:returnTypesList
```

Then fetch the one or more relevant partial SDL with a key from that list by calling the same endpoint with a schema ID:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:schema:<key>
```

The response body is a JSON object keyed by the requested content ID. For example, the key-list request returns a `ctp:gql-sphere:returnTypesList` field and a schema request returns a `ctp:gql-sphere:schema:<key>` field.

**Queries and mutations for managing Managed MCP Servers in the platform.**

## Queries

### Query MCP Servers

[fetch SDL for query mcpServers](#graphql-partial-sdls).

### Query MCP Server types

[fetch SDL for query mcpServerTypes](#graphql-partial-sdls).

### Get MCP Server

[fetch SDL for query mcpServer](#graphql-partial-sdls).

### Get MCP Server type

[fetch SDL for query mcpServerType](#graphql-partial-sdls).

### Get MCP Server limits

[fetch SDL for query mcpServerLimits](#graphql-partial-sdls).

## Mutations

### Create MCP Server

[fetch SDL for mutation createMcpServer](#graphql-partial-sdls).

### Update MCP Server

[fetch SDL for mutation updateMcpServer](#graphql-partial-sdls).

### Delete MCP Server

[fetch SDL for mutation deleteMcpServer](#graphql-partial-sdls).

## Output types

### McpServer

[fetch SDL for type McpServer](#graphql-partial-sdls).

### McpServerQueryResult

[fetch SDL for type McpServerQueryResult](#graphql-partial-sdls).

### McpServerTypeCatalogEntry

[fetch SDL for type McpServerTypeCatalogEntry](#graphql-partial-sdls).

### McpServerLimits

[fetch SDL for type McpServerLimits](#graphql-partial-sdls).

### McpServerType

[fetch SDL for type McpServerType](#graphql-partial-sdls).

## Input types

### McpServerDraft

[fetch SDL for type McpServerDraft](#graphql-partial-sdls).

### McpServerUpdateAction

[fetch SDL for type McpServerUpdateAction](#graphql-partial-sdls).

### Update actions

#### Add Tool

[fetch SDL for type AddMcpServerTool](#graphql-partial-sdls).

#### Add Tool Customization

[fetch SDL for type AddMcpServerToolCustomization](#graphql-partial-sdls).

#### Remove Tool

[fetch SDL for type RemoveMcpServerTool](#graphql-partial-sdls).

#### Remove Tool Customization

[fetch SDL for type RemoveMcpServerToolCustomization](#graphql-partial-sdls).

#### Set Authentication Mode

[fetch SDL for type SetMcpServerAuthenticationMode](#graphql-partial-sdls).

#### Set Country

[fetch SDL for type SetMcpServerCountry](#graphql-partial-sdls).

#### Set Currency Code

[fetch SDL for type SetMcpServerCurrencyCode](#graphql-partial-sdls).

#### Set Description

[fetch SDL for type SetMcpServerDescription](#graphql-partial-sdls).

#### Set Distribution Channel

[fetch SDL for type SetMcpServerDistributionChannel](#graphql-partial-sdls).

#### Set Inventory Mode

[fetch SDL for type SetMcpServerInventoryMode](#graphql-partial-sdls).

#### Set JSON Output Filtering

[fetch SDL for type SetMcpServerJsonOutputFiltering](#graphql-partial-sdls).

#### Set Locale

[fetch SDL for type SetMcpServerLocale](#graphql-partial-sdls).

#### Set Name

[fetch SDL for type SetMcpServerName](#graphql-partial-sdls).

#### Set Require Stock For Channel

[fetch SDL for type SetMcpServerRequireStockForChannel](#graphql-partial-sdls).

#### Set State

[fetch SDL for type SetMcpServerState](#graphql-partial-sdls).

#### Set Store

[fetch SDL for type SetMcpServerStore](#graphql-partial-sdls).

#### Set Supply Channel

[fetch SDL for type SetMcpServerSupplyChannel](#graphql-partial-sdls).

#### Set Tool Customizations

[fetch SDL for type SetMcpServerToolCustomizations](#graphql-partial-sdls).

#### Set Tool Output Formatting

[fetch SDL for type SetMcpServerToolOutputFormatting](#graphql-partial-sdls).

#### Set Tools

[fetch SDL for type SetMcpServerTools](#graphql-partial-sdls).

## Related pages

- [Area overview page with navigation](/api.md)
- [Previous page: REST](/api/projects/managed-mcp-servers.md)
- [Search documentation and API specs](/search.md)