shopware-mcp
v0.11.1Query and safely manage a Shopware 6 shop: products, orders, customers, stock, audits, reports.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
shop_info Shop info
Get basic facts about the connected Shopware shop: version, edition (Community/Commercial), default currency and default language, plus whether write tools are enabled on this server. Use it first to orient yourself or to confirm the connection works. Returns one object.
shop_settings Shop settings
Read the shop's trading settings from Shopware's system configuration, for the whole shop or one sales channel with inheritance: basic information (shop name, contact, legal pages), login and registration (guest checkout, double opt-in, password rules), cart, listing (products per page, sorting, reviews), tax, newsletter, addresses and documents. Only these domains are readable; mail servers, licences and plugin secrets are not, and credential-like keys are dropped. Use it for 'is guest checkout on?' or 'what is the default tax?'. Returns { salesChannelId, inherited, settings: { <domain>: { ke…
| Parameter | Type | Description |
|---|---|---|
domains | array | core.basicInformation: shop name, contact, legal pages, currency and language defaults; core.loginRegistration: guest checkout, double opt-in, password rules, required fields; core.cart: quantities, w… |
salesChannelId | string | Sales channel UUID for its effective (inherited) values; omit for shop-wide |
sales_channels_list List sales channels
List sales channels (storefronts, headless APIs, marketplaces) with their type, domains and active flag. Use it to find the sales channel or domain an order or product belongs to. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
products_search Search products
Search products by free-text term and/or Criteria filters (e.g. active, stock, manufacturer.name, categories.id, productNumber). Returns compact product summaries with price, stock, availability, manufacturer, category names and cover image URL. By default only main products are returned; set includeVariants=true to also get variants. Use products_get for the full record of one product. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
includeVariants | boolean | Include variant products (children) in the results. Default: parents only. |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
products_get Get product
Get one product by ID with everything an agent usually needs: description, price, stock, tax, manufacturer, categories, properties, media and all variants with their options, stock and price. Use products_search or stock_get to find the ID first. Returns one object.
| Parameter | Type | Description |
|---|---|---|
productId * | string | Product UUID (32 hex chars) |
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
orders_search Search orders
Search orders by term (order number, customer name/email) and/or Criteria filters such as stateMachineState.technicalName (open, in_progress, completed, cancelled), transactions.stateMachineState.technicalName (paid, open, ...), orderDateTime ranges or orderCustomer.email. Newest first by default. Returns compact summaries with totals, order/payment/delivery state and customer. Use orders_get for line items and addresses. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
orders_get Get order
Get one order by ID or order number with line items, billing/shipping addresses, transactions (payment method and state) and deliveries (shipping method, tracking codes). Use it to answer detailed questions about a single order. Returns one object.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
orderId | string | Order UUID |
orderNumber | string | Order number as shown to customers |
order_history Order history
The state history of one order: every order, payment and delivery transition in chronological order with the previous and new state, the action name and who triggered it (admin user, API integration or the system). Use it for 'what happened to this order and when?'. Orders imported without transitions have an empty history. When there are more transitions than `limit`, the newest ones are kept. Returns { orderId, orderNumber, orderDate, total, entries[], note? }.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
orderId | string | Order UUID |
orderNumber | string | Order number as shown to the customer |
order_documents_list List order documents
List the documents generated for one order: invoices, delivery notes, credit notes and cancellation invoices, with document number, type, creation date and whether they were sent. Use document_download to fetch one as PDF. Returns { orderId, orderNumber, total, items[] }.
| Parameter | Type | Description |
|---|---|---|
orderId | string | Order UUID |
orderNumber | string | Order number as shown to customers |
document_download Download document PDF
Fetch one order document (invoice, delivery note, credit note, cancellation invoice) as a PDF. The file is returned to the host as an embedded resource next to the document's metadata; the model sees the metadata only. Get the documentId from order_documents_list. Read-only, nothing is marked as sent. Returns { id, type, documentNumber, orderNumber, mimeType, bytes, attachments[] }.
| Parameter | Type | Description |
|---|---|---|
documentId * | string | Document UUID from order_documents_list |
customers_search Search customers
Search customers by term (name, email, customer number) and/or Criteria filters such as email, active, guest, group.name or lastOrderDate ranges. Returns compact summaries with group, order count and last order date. Use customers_get for addresses and payment method. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
customers_get Get customer
Get one customer by ID, customer number or email, including all addresses (with default billing/shipping flags), customer group, default and last used payment method. Returns one object.
| Parameter | Type | Description |
|---|---|---|
customerId | string | Customer UUID |
customerNumber | string | |
email | string | |
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
categories_list List categories
List categories as a flat list with parentId and level so you can rebuild the tree. Each item includes productCount (directly assigned products). Filter by parentId to get one level, or by level=1 for the roots. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
promotions_list List promotions
List promotions (discount campaigns) with code settings, validity window, redemption limits and a summary of their discounts (scope, type, value). Filter by active or code. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
promotions_check Check promotions before a campaign
Before Black Friday or any sale: check every promotion that runs or starts before a date, active or not, the way Shopware decides whether it applies. Flags a promotion that starts but is still inactive, has no discount, no sales channel or only channels in maintenance, needs a code but has none, has no unused individual codes left, is close to its redemption limit, gives 50 % or more, ends before it starts, or applies automatically together with another one so the discounts add up. Read-only. Returns { window, checked, summary, promotions[] } with findings per promotion, worst first.
| Parameter | Type | Description |
|---|---|---|
until | string | End of the campaign window, ISO date (a date covers the whole day). Default: in 14 days |
promotion_impact What would a discount cost?
Before switching a promotion on: replay its cart discount (or one you describe) on the orders of the last days and say what it would have cost: if every eligible order had used it, and at the share of orders that used a promotion so far. Respects a percentage cap and a minimum cart value; rules that limit who gets it are not evaluated, so the result is an upper bound. Read-only. Returns { orders, revenue, eligibleOrders, scenarios, averagePerOrder, capReached, note }.
| Parameter | Type | Description |
|---|---|---|
days | integer | Orders of how many days to replay |
discount | object | Or a discount to try: 'what if 20 % off?' |
minCartValue | number | Only carts from this value (gross) |
promotionId | string | An existing promotion, e.g. from promotions_list |
salesChannelId | string | Only this sales channel |
margin_check Margins: below cost and thin
Find active products whose net price is below their purchase price, products with a thin margin, and products that an automatic discount running right now pushes below cost: the '60 % instead of 6 %' mistake on the price side. Uses Shopware's purchase price; products without one are counted, not guessed. Read-only. Returns { checked, withoutPurchasePrice, automaticDiscount, summary, belowCost[], thin[], lossWithDiscount[] }.
| Parameter | Type | Description |
|---|---|---|
maxItems | integer | |
minMargin | number | Margin in % below which a product counts as thin |
reviews_search Search product reviews
Search product reviews with their rating (1-5 points), text, reviewer, product and moderation state. Filter on status (false = awaiting approval), points, productId, product.productNumber or createdAt ranges. Newest first. Adds averagePoints over the whole match. Use review_moderate to approve or hide one. Returns { total, page, limit, averagePoints, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
payment_methods_list List payment methods
List payment methods with active flag, handler (plugin), availability rule and the sales channels they are assigned to. Filter e.g. active=true or salesChannels.id. Use it for 'which payment methods do we offer?' and to explain why one is missing at checkout. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
shipping_methods_list List shipping methods
List shipping methods with active flag, delivery time, tracking URL pattern, availability rule and the sales channels they are assigned to. Filter e.g. active=true or salesChannels.id. Returns { total, page, limit, items[] }.
| Parameter | Type | Description |
|---|---|---|
fields | array | Extra raw entity fields to add to each item, e.g. ['customFields', 'ean']. Dot-paths allowed. |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |
plugins_list List plugins and apps
List installed plugins and apps with version, active/installed state and the available upgrade version (when the shop can reach the Shopware store). Use it to check whether an extension is installed or outdated. Returns { total, items[] }.
| Parameter | Type | Description |
|---|---|---|
activeOnly | boolean | Only return active extensions |
type | string | Filter by extension type |
scheduled_tasks_list Scheduled tasks
Shopware's scheduled tasks (indexing, cleanups, cache invalidation, plugin jobs) with status, interval, last and next run, and per task whether it is overdue past a grace period, failed, or stuck running for over a day. Many overdue tasks with no recent last run mean the scheduler or message worker is not running, which shows up as stale search results, missing thumbnails and unsent mails. Read-only. Returns { total, summary: { byStatus, overdue, failed, stuck, longestOverdueMinutes, lastRun }, tasks[], problems[], truncated }.
| Parameter | Type | Description |
|---|---|---|
graceMinutes | integer | A waiting task past its next run by more than this counts as overdue |
onlyProblems | boolean | Return only overdue, failed or stuck tasks |
stock_get Get stock
Get stock and available stock for one product by ID or product number, including every variant. Use it for 'how many X are left?' questions. Returns one object with a variants[] list (empty for simple products).
| Parameter | Type | Description |
|---|---|---|
productId | string | Product UUID |
productNumber | string | Product number, e.g. SW10001 |
stock_forecast Stock forecast
Which products run out soon, from real sales: units sold per product in the last `days` (cancelled orders excluded), the current available stock, the days of cover at that pace, the date the stock reaches zero and a reorder quantity that keeps it in stock through the horizon plus `restockDays` more days (a negative stock is a backlog and is covered too). Lists the active products whose cover is below `horizon` days, soonest first. Products without sales in the window are never listed. Use it for 'what do I need to reorder?'. Returns { window, horizon, restockDays, total, items[], notes? }.
| Parameter | Type | Description |
|---|---|---|
days | integer | Sales window in days |
horizon | integer | List products that run out within this many days |
limit | integer | |
restockDays | integer | Days beyond the horizon the suggested reorder quantity should cover |
salesChannelId | string | Count sales of one sales channel only |
storefront_search Search like a customer
Run a search in a sales channel exactly as a customer would, through Shopware's Store API: same visibility, stock and closeout rules, same ranking and prices. Optionally explain one product: its position in the results, or why it does not show up (inactive, not visible in the channel, link-only visibility, closeout without stock, not in the search index, no search keyword matching the term). Read-only. Returns { salesChannel, term, total, items[], explain? }.
| Parameter | Type | Description |
|---|---|---|
term * | string | What the customer types |
explain | string | Product number to explain: where it ranks, or why it is missing |
limit | integer | Results to return |
salesChannel | string | Sales channel id or name; default: the first active storefront |
checkout_simulate Simulate a checkout
See the checkout the way a customer does: puts products (and promotion codes) into a throwaway cart of a sales channel through Shopware's own Store API, as a guest shipping to a country or as a given customer with their group, prices and rules, and returns what Shopware calculates: prices per item next to the listing price, discounts, shipping, taxes, total, which payment and shipping methods the customer is offered, which are hidden and by which rule, and every cart error with a plain explanation (country not assigned, code expired, product not visible, stock). Nothing is ordered and the cart…
| Parameter | Type | Description |
|---|---|---|
items * | array | Products and quantities for the cart |
country | string | Shipping country of a guest, as ISO code |
customerNumber | string | Simulate as this customer: group, prices, rules and default addresses |
paymentMethod | string | Payment method name to select |
promotionCodes | array | Promotion codes to redeem |
salesChannel | string | Sales channel id or name; default: the first active storefront |
shippingMethod | string | Shipping method name to select |
journeys_run Run customer journeys
Synthetic customers: run fixed buying paths through the shop's real cart, e.g. 'Swiss guest with code SUMMER26', 'regular customer pays by invoice', and say which one broke and why. Each journey takes the inputs of checkout_simulate plus expectations: the cart can be ordered, given payment or shipping methods are offered, codes apply, the total stays in a range. Without journeys it runs the ones in SHOPWARE_MCP_JOURNEYS (a JSON file). Nothing is ordered; carts are deleted. Returns { ok, passed, failed, results[] }.
| Parameter | Type | Description |
|---|---|---|
journeys | array | Journeys to run |
agent_readiness Ready for AI shopping agents?
Can AI shopping agents (ChatGPT, Gemini, Perplexity, Copilot) find and sell this shop's products? Builds the product feed agents read (Agentic Commerce feed fields, as Google Merchant) from the storefront's visible products and checks each row: name, description, brand, image and price are required; GTIN with a valid check digit, manufacturer number and weight help agents match and ship. Also checks HTTPS and the privacy, terms and revocation pages an agent checkout links to. Read-only. Returns { score (0 to 100), products, gaps[] with share and samples, shop[], checkoutReady, feedSample[] }.
| Parameter | Type | Description |
|---|---|---|
maxItems | integer | Sample products per gap |
salesChannelId | string | Storefront to check; default: the first one |
update_check Ready for the next Shopware update?
Before a Shopware update, a major one like 6.8 included: the version available next and the security issues it fixes, Shopware's own requirement checks, and for every extension whether it works with that version (compatible, update the extension first, a compatible version announced, not compatible, or not in the store so test it yourself), straight from Shopware's update service. Read-only: it never starts an update. Needs the privilege system:core:update (and system_config:read for the extensions), which setup grants with --plugin-updates. Returns { currentVersion, update, upToDate, requirem…
shop_diagnose Why are orders not coming in?
Look at the usual suspects in one call when orders stop or customers complain: storefronts in maintenance or inactive, a test purchase of the best seller of the last two weeks with the payment methods really offered, extensions installed or updated in the last 24 hours, errors in Shopware's log in the last 6 hours (failed mails included), and scheduled tasks that stopped. Nothing is ordered. Returns { causes[], fine[] }: likely causes first, and what was checked and found fine.
sales_report Sales report
Aggregate sales figures for a period straight from Shopware: order count, gross/net revenue, average order value, breakdowns by order/payment/delivery state, payment method, currency and sales channel, a revenue timeline (day/week/month) and the top-selling products. Use it for 'how did we do last month?' questions instead of paging through orders. compareWithPrevious adds the period of equal length before `from` and the change in orders and revenue. Defaults to the last 30 days, cancelled orders excluded. Returns one object.
| Parameter | Type | Description |
|---|---|---|
compareWithPrevious | boolean | Also report the preceding period of equal length and the change |
excludeCancelled | boolean | |
from | string | Start (inclusive), ISO date. Default: 30 days ago |
interval | string | Timeline bucket size |
salesChannelId | string | Restrict to one sales channel |
timeZone | string | IANA time zone, e.g. Europe/Berlin: date-only from/to and daily buckets become local days. Default: UTC |
to | string | End (inclusive; a date without time covers the whole day), ISO date. Default: now |
topProducts | integer |
customer_report Customer report
Customer figures for a period straight from Shopware: new accounts (registered vs guest, by customer group), how many distinct customers ordered, the repeat share (two or more orders in the period), the guest order share and the top customers by gross revenue with their share of the total. compareWithPrevious adds the period of equal length before `from` and the change. Defaults to the last 30 days, cancelled orders excluded. Returns one object.
| Parameter | Type | Description |
|---|---|---|
compareWithPrevious | boolean | Also report the preceding period of equal length and the change |
excludeCancelled | boolean | |
from | string | Start (inclusive), ISO date. Default: 30 days ago |
salesChannelId | string | Restrict to one sales channel |
to | string | End (inclusive; a date without time covers the whole day). Default: now |
topCustomers | integer |
returns_report Returns report
How many orders came back and which products come back most, from Shopware's own delivery states (returned, returned partially), no plugin needed. Gives the return rate of the period next to the period before, the revenue of returned orders, and products ranked by the share of their orders that came back. Use it for 'what do customers send back?' or before reordering stock. Read-only. Returns { period, totals, previous, change, products[], note }.
| Parameter | Type | Description |
|---|---|---|
from | string | Start (inclusive), ISO date. Default: 90 days ago |
minOrders | integer | Rank only products with at least this many orders, so one return is no 100 % |
salesChannelId | string | Restrict to one sales channel |
to | string | End (inclusive; a date covers the whole day). Default: now |
topProducts | integer |
shop_pulse Shop pulse
How is the shop doing right now? Orders and revenue since local midnight next to the same hours of the same weekday in previous weeks, the last order, and how unusual the current quiet spell is: the orders the same stretch brought in earlier weeks and the chance of seeing none by accident (a Poisson estimate). 'unusual' means the checkout, payment or storefront may be broken; follow up with checkout_simulate. Also compares today's failed or cancelled payments with their usual share. On a campaign day compare with last year (baseline 'last-year') or raise the expectation (expectFactor 3 on Blac…
| Parameter | Type | Description |
|---|---|---|
baseline | string | Compare with recent weeks, or with the same weekday around this day last year |
expectFactor | number | Today should bring this many times the usual orders, e.g. 3 on a campaign day |
holidays | string | Leave public holidays of this country out of 'typical'; default: the time zone's country (Europe/Berlin: DE, Europe/Vienna: AT, Europe/Zurich: CH) |
salesChannelId | string | Only this sales channel |
timeZone | string | IANA time zone of the shop, e.g. Europe/Berlin; default: the server's |
weeks | integer | How many previous weeks make up 'typical' |
shop_brief Shop brief
One look at the whole shop, as a manager wants it in the morning: orders and payments right now against a usual day, the audit's findings, and the last seven days' revenue. Hosts that show MCP Apps get it as an interactive page with charts. Read-only. Returns { headline, today, audit, last7Days } in short; use shop_pulse, shop_audit or sales_report for the details of one part.
| Parameter | Type | Description |
|---|---|---|
timeZone | string | IANA time zone of the shop, e.g. Europe/Berlin; default: the server's |
shop_audit Shop health audit
Run a one-shot health check across the shop and return prioritised findings: paid orders not shipped, old unpaid orders, shipped orders never completed, out-of-stock and low-stock products, products without cover image, delivery time or sales channel visibility, expired promotions still active, promotions in the next 14 days that will not work, sales channels in maintenance mode, storefronts missing legal pages (imprint, terms, privacy, revocation, shipping), reviews awaiting moderation, scheduled tasks overdue or failed, and extensions with pending updates. Each finding has a severity, total…
| Parameter | Type | Description |
|---|---|---|
complianceChecks | boolean | Include the EU duty coverage map. Set false outside the EU. |
forecastDays | integer | Flag products whose stock lasts fewer days than this at the recent sales pace |
lowStockThreshold | integer | |
maxItems | integer | Sample items per finding |
rulePacks | array | Ready-made rules: gpsr (manufacturer data, EU product safety), eaa (alt texts and descriptions, accessibility), feeds (GTIN, MPN, weight for shopping feeds and AI agents) |
rules | array | The shop's own checks: { id, title, severity, entity, filter[], hint }, the filter in Shopware criteria. Default: the rules in SHOPWARE_MCP_RULES, if set |
stuckOrderDays | integer | |
timeZone | string | IANA time zone of the shop for the order-silence check; default: the server's |
entity_schema Entity schema
Describe a Shopware entity: its fields (name, type, flags such as required/translatable) and associations (name, relation, target entity), taken from the shop's own entity schema. Call it without `entity` to list all entity names. Use it to build precise filters for entity_search or the `fields` parameter of other tools. Returns one object.
| Parameter | Type | Description |
|---|---|---|
entity | string | Entity name; omit to list all entities |
entity_search Search any entity
Escape hatch for everything without a dedicated tool: search ANY Shopware entity (e.g. product_manufacturer, property_group, shipping_method, tax, country, newsletter_recipient, product_review, seo_url, cms_page, media) with the same Criteria filters, sort and paging. Use entity_schema first to see the available fields and associations. Credentials and internal fields are always stripped, long values such as stored files are truncated, and entities holding secrets (users, integrations, system config) are blocked. Prefer the dedicated tools when one exists. `aggregations` asks Shopware to count…
| Parameter | Type | Description |
|---|---|---|
entity * | string | Entity name in snake_case or kebab-case, e.g. 'product_manufacturer' |
aggregations | array | Shopware aggregations computed over the whole match |
associations | array | Association names to load, e.g. ['country', 'salesChannels'] |
fields | array | Only return these fields of the entity (Shopware `includes`) |
filter | array | Criteria filters, combined with AND |
limit | integer | Items per page, max 50 (default from SHOPWARE_MCP_DEFAULT_LIMIT) |
page | integer | 1-based page |
sort | array | Sort order; defaults per tool |
term | string | Full-text search term |