Back to Guides

Shopware 6 MCP Server — Storefront API for AI Agents

Query Shopware 6 product catalog, categories, and search from any AI agent via MCP. Pre-built Shopware Store API adapter in AnythingMCP.

Pre-built adapter available on AnythingMCP Cloud

Skip the self-hosted setup — install this adapter in one click with a free trial. No credit card required.

Install on Cloud — Free Trial

Connect Shopware 6 to AI Agents

Shopware 6 is one of the most widely-deployed e-commerce platforms in DACH. The Shopware Store API powers the storefront itself — product catalog, categories, cross-sells, search, suggest. Connecting it to MCP lets your AI agent answer customer questions, generate product recommendations, and power conversational commerce on top of any Shopware 6 shop.

Quick Setup with Built-in Adapter

The Shopware 6 adapter ships with AnythingMCP. You provide the shop URL and a sales-channel access key.

Step 1: Deploy AnythingMCP

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Step 2: Get Your Sales Channel Access Key

In Shopware admin: Sales Channels → [your channel] → API access → Access key. Copy that value.

Step 3: Import the Adapter

Open http://localhost:3000/connectors/store, click Import on Shopware 6, and fill in:

  • SHOPWARE_URL — your shop URL without trailing slash, e.g. https://shop.koch-freiburg.de
  • SHOPWARE_ACCESS_KEY — the sales-channel access key

Step 4: Connect to Your AI Agent

{
  "mcpServers": {
    "shopware": {
      "url": "http://localhost:4000/mcp"
    }
  }
}

Available Tools

| Tool | Description | |------|-------------| | shopware_search_products | Free-text + filter + sort + associations | | shopware_get_product | Single product with media, properties, cross-sells | | shopware_search_categories | List/search categories in the storefront tree | | shopware_get_category | Category with optional product associations | | shopware_search_suggest | As-you-type product suggestions (low latency) | | shopware_get_cross_sells | Cross-sell streams for a product |

AI Agent Use Cases

  • "Find products related to 'Akkuschrauber Bosch' in the catalog"
  • "Show me products in the 'Elektrowerkzeuge' category, sorted by price"
  • "What's the description of product UUID 1a2b3c…?"
  • "List 'customers also bought' suggestions for SKU SK-1001"

Store API vs Admin API

This adapter covers the public-facing Store API (no auth complexity, perfect for catalog queries). For administrative writes (create products, manage stock, fulfil orders) the Admin API is required, which uses OAuth2 client_credentials and isn't part of this adapter.

Next Steps