Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoTime zone for "today" in shop_pulse and brief, e.g. Europe/Berlin. Default: the system's. It also picks the public holidays the pulse leaves out (DE, AT, CH)
SHOPWARE_URLYesShop base URL, e.g. https://shop.example.com (trailing slash is stripped)
SHOPWARE_CLIENT_IDYesIntegration access key ID
SHOPWARE_MCP_RULESNoRule packs and files for the audit, e.g. gpsr,eaa,feeds,./rules.json
SHOPWARE_LANGUAGE_IDNoLanguage UUID for translated fields (sw-language-id). Default: shop default language
SHOPWARE_MCP_JOURNEYSNoJSON file with customer journeys for journeys_run
SHOPWARE_CLIENT_SECRETYesIntegration secret access key
SHOPWARE_MCP_LOG_LEVELNoerror (default), warn, info, debug. Logs go to stderr only
SHOPWARE_MCP_EXTENSIONSNofalse disables plugin-aware tools and the extension lookup at startup
SHOPWARE_MCP_HTTP_TOKENNoBearer token the HTTP transport requires on /mcp (at least 16 characters). Default: none
SHOPWARE_MCP_MAX_WRITESNoReal writes one process may perform in total; 0 (default) means no cap
SHOPWARE_MCP_TIMEOUT_MSNoPer-request timeout for the Admin API in milliseconds (default 30000, 1000 to 600000)
SHOPWARE_MCP_ALLOW_WRITENotrue registers the write tools. Default: off
SHOPWARE_MCP_DEFAULT_LIMITNoDefault page size for search tools (default 20, max 50)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Tools for a Shopware 6 shop via its Admin API. Start with shop_info; use shop_audit for a health overview and sales_report for figures. entity_search/entity_schema reach any other entity. Read tools return compact JSON with { total, page, limit, items } for searches (limit max 50). Filters use Shopware Criteria semantics: { type: equals|contains|range|equalsAny, field, value }. Write tools exist only when the server was started with write access, and every write defaults to dryRun=true, which returns the request that would be sent; re-run with dryRun=false to apply. Errors come back as { error: { status, code, detail } }. Some shops expose extra tools for their installed extensions; call tools/list again if a tool you were told about is missing.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
shop_infoA

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_settingsA

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: { : { key: value } } }.

sales_channels_listA

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[] }.

products_searchA

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[] }.

products_getA

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.

orders_searchA

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[] }.

orders_getA

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.

order_historyA

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? }.

order_documents_listA

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[] }.

document_downloadA

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[] }.

customers_searchA

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[] }.

customers_getA

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.

categories_listA

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[] }.

promotions_listA

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[] }.

promotions_checkA

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.

promotion_impactA

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 }.

margin_checkA

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[] }.

reviews_searchA

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[] }.

payment_methods_listA

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[] }.

shipping_methods_listA

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[] }.

plugins_listA

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[] }.

scheduled_tasks_listA

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 }.

stock_getA

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).

stock_forecastA

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? }.

storefront_searchD

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? }.

checkout_simulateA

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 is deleted afterwards; as a customer, extensions that react to saved carts (abandoned-cart mailers) see it like any other cart of that customer. Use it for 'why can't this customer order?', 'why does this code not work?' or 'what does shipping to Switzerland cost?'. Returns { salesChannel, as, canOrder, items[], promotions[], shipping, totals, problems[], paymentMethods, shippingMethods }.

journeys_runA

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[] }.

agent_readinessA

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[] }.

update_checkA

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, requirements[], extensions[], summary, blockers[], notes[] }.

shop_diagnoseA

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_reportA

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.

customer_reportA

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.

returns_reportA

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 }.

shop_pulseA

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 Black Friday), so a quiet spell is judged against what the day should bring. Public holidays in the compared weeks are left out (DE, AT, CH). Read-only. Returns { today, typical, change, lastOrder, silence, payments, history[] }.

shop_briefA

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.

shop_auditA

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 count, sample items and a hint. Also reports which EU duties (e-invoicing, accessibility, packaging reporting, AI labelling) appear to be covered by an installed extension, guessed from extension names, and whether Shopware itself is set up for ZUGFeRD e-invoices. The shop's own rules (Shopware filters, e.g. 'active products without a manufacturer') run too: pass them as rules, or point SHOPWARE_MCP_RULES at a JSON file. Ready-made packs check product data for the GPSR, the accessibility act and shopping feeds (rulePacks). Start here when asked 'is everything okay with the shop?'. Read-only. Returns one object.

entity_schemaA

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.

entity_searchA

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, sum or average over the whole match (terms, sum, avg, min, max, count, stats, histogram, one nested metric per bucket), e.g. orders per payment method or revenue per month for any entity; set limit: 1 when only the aggregations matter. Returns { entity, total, page, limit, items[], aggregations? } with raw (scrubbed) data.

Prompts

Interactive templates invoked by user choice

NameDescription
order_summarySummarize one order so a support agent can reply to the customer.
weekly_reviewA Monday-morning brief: health audit, last week's numbers against the week before, and the next actions.
campaign_readyBefore Black Friday or any sale: promotions, checkout, stock and what to watch on the day.
low_stock_reportList active products whose stock is below a threshold.
customer_profileWho is this customer, what did they order, and what happened last?
review_moderationGo through product reviews awaiting approval and propose a decision for each.
reorder_listWhat to reorder this week, from real sales velocity and current stock.

Resources

Contextual data attached and managed by the client

NameDescription
shopShopware version, edition, default currency and language (same as shop_info).
sales-channelsAll sales channels with type, domains and active flag.
dashboardThe page MCP Apps hosts show for the pulse, the audit, the brief and reports.

TDQS

B3/5.0

Scored across 38 tools

Disambiguation4/5

Most tools have clearly distinct resource/action targets, and descriptions explicitly differentiate close pairs like products_search vs storefront_search, orders_search vs orders_get, and the various diagnostic tools. There is some overlap among shop_brief, shop_pulse, shop_audit, shop_diagnose, and entity_search vs dedicated tools, but the boundaries are usually explained well enough.

Naming Consistency3/5

All names use snake_case, but the convention is mixed: many follow resource_action (orders_search, customers_get), while others are noun_noun or verb-first (order_history, checkout_simulate, update_check, sales_report). Singular/plural is inconsistent too (orders_* vs order_history, order_documents_list), though names remain readable.

Tool Count2/5

38 tools is heavy for a single server and well above the typical coherent range. The broad Shopware admin domain justifies many operations, but the surface still feels sprawling and would benefit from consolidation, especially around diagnostics, reporting, and entity escape hatches.

Completeness3/5

Read/analysis coverage is strong across products, orders, customers, promotions, stock, checkout, reporting, and diagnostics, but the lifecycle is almost entirely read-only. There are no create/update/delete operations for products, orders, customers, promotions, or settings, which is a notable gap for a general shop-management server.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues