MCP Capabilities
Server admin
Tools 14
shopware-tool-search
Description: Search the allowed Shopware MCP tool catalogue by free-text query and return the most relevant tool definitions inline. Use this when a needed tool is not visible in tools/list.
Handler: Shopware\Core\Framework\Mcp\Tool\ToolSearchTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
query |
string | Yes | - | - |
maxResults |
integer | No |
3
|
- |
Full Schema
array:3 [ "type" => "object" "properties" => array:2 [ "query" => array:1 [ "type" => "string" ] "maxResults" => array:2 [ "type" => "integer" "default" => 3 ] ] "required" => array:1 [ 0 => "query" ] ] |
shopware-entity-schema
Description: Get the field and association schema of a Shopware entity definition: field names, types, and associations for building shopware-entity-search criteria. Many-to-many associations name their mappingEntity (e.g. "product_category"), which shopware-entity-delete uses to remove a link. Returns {success, data: {fields: [...], associations: [...]}}. See shopware://entities resource for all available entity names.
Handler: Shopware\Core\Framework\Mcp\Tool\EntitySchemaTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entity |
string | Yes | - | - |
Full Schema
array:3 [ "type" => "object" "properties" => array:1 [ "entity" => array:1 [ "type" => "string" ] ] "required" => array:1 [ 0 => "entity" ] ] |
shopware-entity-search
Description: Search, list and filter Shopware entities of any type — orders, products, customers, categories and the rest. Use this to LIST or page through records ("the last 10 orders", "all customers in Berlin"), and to look one up by productNumber or any other exact field value, including as the first step in Storefront cart/checkout workflows. Sort with criteria.sort, e.g. [{"field":"orderDateTime","order":"DESC"}]. For count/sum/average reporting, use shopware-entity-aggregate instead (the _meta.total here is pagination metadata, not a reporting count). Accepts Admin API criteria JSON. Returns {success, data: [...], _meta: {total, page, limit}}. If you don't already know the field names, shopware-entity-schema will tell you.
Handler: Shopware\Core\Framework\Mcp\Tool\EntitySearchTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entity |
string | Yes | - | Entity name to search, e.g. "order", "product" or "customer". See the shopware://entities resource for the full list. |
criteria |
string | No |
{}
|
A JSON OBJECT of Admin API criteria, as a string — "filter", "sort", "associations", "includes". E.g. {"sort":[{"field":"orderDateTime","order":"DESC"}]} for the most recent first, or {"filter":[{"type":"equals","field":"productNumber","value":"SW10001"}]} to look one up. Defaults to no criteria. |
limit |
integer | No |
25
|
Records per page, starting at 1. The upper bound is the shop's configured Admin API limit (shopware.api.max_limit); exceeding it returns an error naming the real maximum. |
page |
integer | No |
1
|
Page number, starting at 1. |
term |
string | No |
|
Free-text search across the entity's searchable fields. Prefer an exact "filter" in `criteria` when you know the field. |
Full Schema
array:3 [ "type" => "object" "properties" => array:5 [ "entity" => array:2 [ "type" => "string" "description" => "Entity name to search, e.g. "order", "product" or "customer". See the shopware://entities resource for the full list." ] "criteria" => array:3 [ "type" => "string" "default" => "{}" "description" => "A JSON OBJECT of Admin API criteria, as a string — "filter", "sort", "associations", "includes". E.g. {"sort":[{"field":"orderDateTime","order":"DESC"}]} for the most recent first, or {"filter":[{"type":"equals","field":"productNumber","value":"SW10001"}]} to look one up. Defaults to no criteria." ] "limit" => array:3 [ "type" => "integer" "default" => 25 "description" => "Records per page, starting at 1. The upper bound is the shop's configured Admin API limit (shopware.api.max_limit); exceeding it returns an error naming the real maximum." ] "page" => array:3 [ "type" => "integer" "default" => 1 "description" => "Page number, starting at 1." ] "term" => array:3 [ "type" => "string" "default" => "" "description" => "Free-text search across the entity's searchable fields. Prefer an exact "filter" in `criteria` when you know the field." ] ] "required" => array:1 [ 0 => "entity" ] ] |
shopware-entity-aggregate
Description: The correct tool for count, sum, average, and other aggregate questions. Use this — not shopware-entity-search — for any 'how many', 'total value', or 'average' query. Note: entity-search's _meta.total is pagination metadata, not a reporting count. Supports: count, avg, sum, min, max, terms, date-histogram. Returns only aggregation results, no entity rows. Pass aggregation definitions as Admin API criteria JSON.
Handler: Shopware\Core\Framework\Mcp\Tool\EntityAggregateTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entity |
string | Yes | - | Entity name to aggregate over, e.g. "order" or "product". See the shopware://entities resource for the full list. |
aggregations |
string | Yes | - | A JSON ARRAY of Admin API aggregation definitions, as a string. Each element needs "name" and "type"; every type except "filter" also needs "field" — e.g. [{"name":"order_count","type":"count","field":"id"}] to count orders, or [{"name":"revenue","type":"sum","field":"amountTotal"}] to total them. A "filter" element takes no "field": it wraps another aggregation, so it needs "filter" (an array of filter definitions) and "aggregation" (the nested definition to apply inside it). A bare object rather than an array is the most common mistake and is rejected. |
filters |
string | No |
[]
|
A JSON array of Admin API filter definitions, as a string, narrowing what is aggregated — e.g. [{"type":"equals","field":"stateId","value":"..."}]. Defaults to no filter. |
Full Schema
array:3 [ "type" => "object" "properties" => array:3 [ "entity" => array:2 [ "type" => "string" "description" => "Entity name to aggregate over, e.g. "order" or "product". See the shopware://entities resource for the full list." ] "aggregations" => array:2 [ "type" => "string" "description" => "A JSON ARRAY of Admin API aggregation definitions, as a string. Each element needs "name" and "type"; every type except "filter" also needs "field" — e.g. [{"name":"order_count","type":"count","field":"id"}] to count orders, or [{"name":"revenue","type":"sum","field":"amountTotal"}] to total them. A "filter" element takes no "field": it wraps another aggregation, so it needs "filter" (an array of filter definitions) and "aggregation" (the nested definition to apply inside it). A bare object rather than an array is the most common mistake and is rejected." ] "filters" => array:3 [ "type" => "string" "default" => "[]" "description" => "A JSON array of Admin API filter definitions, as a string, narrowing what is aggregated — e.g. [{"type":"equals","field":"stateId","value":"..."}]. Defaults to no filter." ] ] "required" => array:2 [ 0 => "entity" 1 => "aggregations" ] ] |
shopware-entity-read
Description: Read a single Shopware entity by its UUID. Use when you already have an entity ID. For searching by other fields, use shopware-entity-search instead. Returns {success, data: {id, ...fields}, _meta: {}}. Pass criteria JSON to include associations or select fields.
Handler: Shopware\Core\Framework\Mcp\Tool\EntityReadTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entity |
string | Yes | - | Entity name to read, e.g. "order" or "product". See the shopware://entities resource for the full list. |
id |
string | Yes | - | The entity's UUID (32-character hex). To find a record by any other field, use shopware-entity-search instead. |
criteria |
string | No |
{}
|
A JSON OBJECT of Admin API criteria, as a string — most usefully "associations" to include related data, e.g. {"associations":{"lineItems":{}}} on an order, and "includes" to trim the response. Defaults to no criteria. |
Full Schema
array:3 [ "type" => "object" "properties" => array:3 [ "entity" => array:2 [ "type" => "string" "description" => "Entity name to read, e.g. "order" or "product". See the shopware://entities resource for the full list." ] "id" => array:2 [ "type" => "string" "description" => "The entity's UUID (32-character hex). To find a record by any other field, use shopware-entity-search instead." ] "criteria" => array:3 [ "type" => "string" "default" => "{}" "description" => "A JSON OBJECT of Admin API criteria, as a string — most usefully "associations" to include related data, e.g. {"associations":{"lineItems":{}}} on an order, and "includes" to trim the response. Defaults to no criteria." ] ] "required" => array:2 [ 0 => "entity" 1 => "id" ] ] |
shopware-system-config-read
Description: Read Shopware application configuration values in the core.* namespace. Pass a domain prefix (e.g. "core.listing") to get all keys, or a full dotted key to read a single value. For theme appearance settings (colors, logos, fonts), use shopware-theme-config instead. Optionally scope to a sales channel.
Handler: Shopware\Core\Framework\Mcp\Tool\SystemConfigReadTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
key |
string | Yes | - | - |
salesChannelId |
null|string | No |
|
- |
Full Schema
array:3 [ "type" => "object" "properties" => array:2 [ "key" => array:1 [ "type" => "string" ] "salesChannelId" => array:2 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null ] ] "required" => array:1 [ 0 => "key" ] ] |
shopware-entity-upsert
Description: Create or update Shopware entity data. Always use dryRun=true (default) first to validate, then set dryRun=false to persist. If you don't already know the required fields, shopware-entity-schema will tell you. Returns validation result in dryRun mode, or the written entity data on commit. Many-to-many links (e.g. product categories) can only be added here. To remove one, use shopware-entity-delete on the mapping entity; a "remove" flag inside "categories" would be written to the category itself.
Handler: Shopware\Core\Framework\Mcp\Tool\EntityUpsertTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entity |
string | Yes | - | Entity name to write, e.g. "product" or "category". See the shopware://entities resource for the full list. |
payload |
string | Yes | - | The entity's fields as a JSON string: one OBJECT, or an ARRAY of objects to write several records in a single call. Include "id" on a record to UPDATE it, omit it to CREATE one — e.g. {"id":"...","name":"Summer Sale"} renames an existing category, and [{...},{...}] upserts both. shopware-entity-schema lists the field names and which are required. |
dryRun |
boolean | No |
1
|
Validate without writing. Leave true first, then call again with false to persist. |
Full Schema
array:3 [ "type" => "object" "properties" => array:3 [ "entity" => array:2 [ "type" => "string" "description" => "Entity name to write, e.g. "product" or "category". See the shopware://entities resource for the full list." ] "payload" => array:2 [ "type" => "string" "description" => "The entity's fields as a JSON string: one OBJECT, or an ARRAY of objects to write several records in a single call. Include "id" on a record to UPDATE it, omit it to CREATE one — e.g. {"id":"...","name":"Summer Sale"} renames an existing category, and [{...},{...}] upserts both. shopware-entity-schema lists the field names and which are required." ] "dryRun" => array:3 [ "type" => "boolean" "default" => true "description" => "Validate without writing. Leave true first, then call again with false to persist." ] ] "required" => array:2 [ 0 => "entity" 1 => "payload" ] ] |
shopware-entity-delete
Description: Delete Shopware entities by their UUIDs. Also the way to REMOVE a many-to-many link without deleting either side: delete the mapping entity, e.g. entity "product_category" with ids [{"productId":"...","categoryId":"..."}] removes a category from a product, "product_property" with [{"productId":"...","optionId":"..."}] removes a property option. shopware-entity-upsert can only add such links. Always use dryRun=true (default) first to preview cascade effects, then set dryRun=false to execute. Returns each affected entity with its operation: delete, or update for the entities a removed link belonged to.
Handler: Shopware\Core\Framework\Mcp\Tool\EntityDeleteTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entity |
string | Yes | - | Entity name to delete from, e.g. "product", or a mapping entity such as "product_category" to remove a many-to-many link. See the shopware://entities resource for the full list. |
ids |
string | Yes | - | What to delete. For normal entities: a JSON array of UUIDs (["..."]) or a comma-separated list. For mapping entities with a composite primary key: a JSON array of objects naming every key field, e.g. [{"productId":"...","categoryId":"..."}]. shopware-entity-schema lists the key fields. |
dryRun |
boolean | No |
1
|
Preview without deleting. Leave true first, then call again with false to delete. |
Full Schema
array:3 [ "type" => "object" "properties" => array:3 [ "entity" => array:2 [ "type" => "string" "description" => "Entity name to delete from, e.g. "product", or a mapping entity such as "product_category" to remove a many-to-many link. See the shopware://entities resource for the full list." ] "ids" => array:2 [ "type" => "string" "description" => "What to delete. For normal entities: a JSON array of UUIDs (["..."]) or a comma-separated list. For mapping entities with a composite primary key: a JSON array of objects naming every key field, e.g. [{"productId":"...","categoryId":"..."}]. shopware-entity-schema lists the key fields." ] "dryRun" => array:3 [ "type" => "boolean" "default" => true "description" => "Preview without deleting. Leave true first, then call again with false to delete." ] ] "required" => array:2 [ 0 => "entity" 1 => "ids" ] ] |
shopware-system-config-write
Description: Modify or overwrite a Shopware system configuration value — use this whenever the user wants to change, set, or update a config key. Provide the full dotted key (e.g. 'core.basicInformation.shopName') and the new value. dryRun=true (default) shows a before/after diff without saving; set dryRun=false to persist. Optionally scope to a sales channel.
Handler: Shopware\Core\Framework\Mcp\Tool\SystemConfigWriteTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
key |
string | Yes | - | - |
value |
string | Yes | - | - |
salesChannelId |
null|string | No |
|
- |
dryRun |
boolean | No |
1
|
- |
Full Schema
array:3 [ "type" => "object" "properties" => array:4 [ "key" => array:1 [ "type" => "string" ] "value" => array:1 [ "type" => "string" ] "salesChannelId" => array:2 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null ] "dryRun" => array:2 [ "type" => "boolean" "default" => true ] ] "required" => array:2 [ 0 => "key" 1 => "value" ] ] |
shopware-order-state
Description: Change the state of an order, its transactions, and/or its deliveries in one call. Looks up the order by orderNumber or orderId. Provide at least one of orderAction, transactionAction, or deliveryAction. Common actions: cancel, process, complete, reopen, paid, refund, ship, retour. Always use dryRun=true (default) to preview available transitions before executing with dryRun=false. See shopware://state-machines resource for all valid states and transitions.
Handler: Shopware\Core\Framework\Mcp\Tool\OrderStateTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
orderNumber |
string | No |
|
- |
orderId |
string | No |
|
- |
orderAction |
string | No |
|
- |
transactionAction |
string | No |
|
- |
deliveryAction |
string | No |
|
- |
dryRun |
boolean | No |
1
|
- |
Full Schema
array:2 [ "type" => "object" "properties" => array:6 [ "orderNumber" => array:2 [ "type" => "string" "default" => "" ] "orderId" => array:2 [ "type" => "string" "default" => "" ] "orderAction" => array:2 [ "type" => "string" "default" => "" ] "transactionAction" => array:2 [ "type" => "string" "default" => "" ] "deliveryAction" => array:2 [ "type" => "string" "default" => "" ] "dryRun" => array:2 [ "type" => "boolean" "default" => true ] ] ] |
shopware-media-upload
Description: Upload any image or file — including product cover images — to Shopware's media library from a URL. url is the only required parameter; productId, fileName, and mediaFolderId are all optional. Call this tool immediately with just the URL whenever the user asks to upload, import, or add an image. Returns the new mediaId.
Handler: Shopware\Core\Framework\Mcp\Tool\MediaUploadTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
url |
string | Yes | - | - |
fileName |
string | No |
|
- |
mediaFolderId |
string | No |
|
- |
productId |
string | No |
|
- |
Full Schema
array:3 [ "type" => "object" "properties" => array:4 [ "url" => array:1 [ "type" => "string" ] "fileName" => array:2 [ "type" => "string" "default" => "" ] "mediaFolderId" => array:2 [ "type" => "string" "default" => "" ] "productId" => array:2 [ "type" => "string" "default" => "" ] ] "required" => array:1 [ 0 => "url" ] ] |
shopware-toolsets-list
Description: List the MCP toolsets and whether each is enabled for the current session, either in the connect URL or with shopware-toolset-enable. Use this when no advertised tool fits the task: a toolset's tools become available once you enable it.
Handler: Shopware\Core\Framework\Mcp\Tool\ToolsetsListTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|
Full Schema
array:2 [ "type" => "object" "properties" => {#11259} ] |
shopware-toolset-enable
Description: Enable one MCP toolset for the current session and ask the client to refresh tools/list. The toolset remains enabled only for this MCP session.
Handler: Shopware\Core\Framework\Mcp\Tool\ToolsetEnableTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
toolset |
string | Yes | - | - |
Full Schema
array:3 [ "type" => "object" "properties" => array:1 [ "toolset" => array:1 [ "type" => "string" ] ] "required" => array:1 [ 0 => "toolset" ] ] |
shopware-theme-config
Description: Read or update theme appearance settings (colors, logos, fonts) for a sales channel. Use action "get" to read the current theme config. Use action "update" with a config JSON to change values; dryRun=true (default) previews changes. salesChannelId accepts either the sales channel UUID or its name as shown in the admin, e.g. "Storefront". See shopware://sales-channels for the full list.
Handler: Shopware\Storefront\Mcp\Tool\ThemeConfigTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
salesChannelId |
string | No |
|
The sales channel's UUID, or its name as shown in the admin, e.g. "Storefront". See the shopware://sales-channels resource. |
action |
string | No |
get
|
"get" to read the current theme config, "update" to change it. |
config |
string | No |
{}
|
A JSON OBJECT of theme config values to write, as a string — keyed by config field name, e.g. {"sw-color-brand-primary":{"value":"#189eff"}}. Only read by action "update"; call "get" first to see the field names and their current shape. |
dryRun |
boolean | No |
1
|
Preview the change without writing. Leave true first, then call again with false to persist. |
Full Schema
array:2 [ "type" => "object" "properties" => array:4 [ "salesChannelId" => array:3 [ "type" => "string" "default" => "" "description" => "The sales channel's UUID, or its name as shown in the admin, e.g. "Storefront". See the shopware://sales-channels resource." ] "action" => array:3 [ "type" => "string" "default" => "get" "description" => ""get" to read the current theme config, "update" to change it." ] "config" => array:3 [ "type" => "string" "default" => "{}" "description" => "A JSON OBJECT of theme config values to write, as a string — keyed by config field name, e.g. {"sw-color-brand-primary":{"value":"#189eff"}}. Only read by action "update"; call "get" first to see the field names and their current shape." ] "dryRun" => array:3 [ "type" => "boolean" "default" => true "description" => "Preview the change without writing. Leave true first, then call again with false to persist." ] ] ] |
Prompts 1
shopware-context
Description: System prompt providing context about Shopware, its data model, and best practices for AI tool interaction.
Handler: Shopware\Core\Framework\Mcp\Prompt\ShopwareContextPrompt::__invoke()
This prompt has no arguments.
Resources 8
shopware-entity-list
| URI | shopware://entities |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\EntityListResource::__invoke() |
| Description | List of all registered Shopware entity names |
shopware-business-events
| URI | shopware://business-events |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\BusinessEventsResource::__invoke() |
| Description | All registered Shopware business events that can trigger flows and event actions. |
shopware-flow-actions
| URI | shopware://flow-actions |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\FlowActionsResource::__invoke() |
| Description | All registered Shopware flow actions (core and app-provided) available in Flow Builder automations. |
shopware-sales-channels
| URI | shopware://sales-channels |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\SalesChannelListResource::__invoke() |
| Description | All sales channels with their IDs, names, types, and domains. |
shopware-currencies
| URI | shopware://currencies |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\CurrencyListResource::__invoke() |
| Description | All configured currencies with ISO codes, symbols, and conversion factors. |
shopware-languages
| URI | shopware://languages |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\LanguageListResource::__invoke() |
| Description | All configured languages with locale codes. |
shopware-state-machines
| URI | shopware://state-machines |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\StateMachineResource::__invoke() |
| Description | All state machines with their states and transitions. Use this to understand valid actions for shopware-order-state. |
shopware-extensions
| URI | shopware://extensions |
|---|---|
| Handler | Shopware\Core\Framework\Mcp\Resource\ExtensionsResource::__invoke() |
| Description | Optional MCP capability plugins. Read this when a requested tool is not available to find the right extension and its install command. |
Resource Templates 1
tool-result
| URI Template | shopware://tool-result/{id} |
|---|---|
| Handler | Shopware\Core\System\SalesChannel\Mcp\Resource\StoreApiToolResultResource::__invoke() |
| Description | A large tool result that a previous tool call stored instead of returning it inline. Tool results point here with a resource_link. The link expires after an hour. |
| MIME Type | application/json |
Server store_api
Tools 4
shopware-store-api-context
Description: Read the current Store API sales-channel context for this MCP session, including sales channel, language, currency, context token, and whether a customer is authenticated.
Handler: Shopware\Core\System\SalesChannel\Mcp\Tool\StoreApiContextTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|
Full Schema
array:2 [ "type" => "object" "properties" => {#11260} ] |
shopware-tool-search
Description: Search the Store API MCP tool catalogue by free-text query and return the most relevant tool definitions inline. Use this when a needed tool is not visible in tools/list.
Handler: Shopware\Core\System\SalesChannel\Mcp\Tool\StoreApiToolSearchTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
query |
string | Yes | - | - |
maxResults |
integer | No |
3
|
- |
Full Schema
array:3 [ "type" => "object" "properties" => array:2 [ "query" => array:1 [ "type" => "string" ] "maxResults" => array:2 [ "type" => "integer" "default" => 3 ] ] "required" => array:1 [ 0 => "query" ] ] |
shopware-toolsets-list
Description: List the MCP toolsets and whether each is enabled for the current session, either in the connect URL or with shopware-toolset-enable. Use this when no advertised tool fits the task: a toolset's tools become available once you enable it.
Handler: Shopware\Core\System\SalesChannel\Mcp\Tool\StoreApiToolsetsListTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|
Full Schema
array:2 [ "type" => "object" "properties" => {#11261} ] |
shopware-toolset-enable
Description: Enable one MCP toolset for the current session and ask the client to refresh tools/list. The toolset remains enabled only for this MCP session.
Handler: Shopware\Core\System\SalesChannel\Mcp\Tool\StoreApiToolsetEnableTool::__invoke()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
toolset |
string | Yes | - | - |
Full Schema
array:3 [ "type" => "object" "properties" => array:1 [ "toolset" => array:1 [ "type" => "string" ] ] "required" => array:1 [ 0 => "toolset" ] ] |
Prompts 0
No prompts were registered.
Resources 0
No resources were registered.
Resource Templates 1
tool-result
| URI Template | shopware://tool-result/{id} |
|---|---|
| Handler | Shopware\Core\System\SalesChannel\Mcp\Resource\StoreApiToolResultResource::__invoke() |
| Description | A large tool result that a previous tool call stored instead of returning it inline. Tool results point here with a resource_link. The link expires after an hour. |
| MIME Type | application/json |