# WebMCP plugin for Shopware 6

> The WebMCP plugin makes a Shopware 6 storefront usable for agents in the browser: discover products, browse categories and operate the cart.

- Source: https://www.agentic-commerce.sh/en/lab/webmcp-plugin/
- Author: Stefan Hamann
- Updated: 2026-11-18
- Language: en

With WebMCP, a website declares which tools an agent in the browser may use. The plugin brings that support to the Shopware 6 storefront. The agent works within the shopper's current session.

| Context | Shopware Agentic Commerce Lab |
| --- | --- |
| Status | Research preview |
| Repository | [github.com/agentic-commerce-lab/webmcp-plugin](https://github.com/agentic-commerce-lab/webmcp-plugin) Licence MIT |
| Checked on | 18 November 2026 |

## What the plugin provides

- Product search and product details as tools.
- Category browsing.
- Cart operations within the shopper's browser session.

## Why it matters

An agent no longer has to operate the page like a person and guess at buttons. It calls the tools the shop explicitly offers. Chapter 9 of the book describes how merchants become discoverable and usable for agents.

## Install

The plugin is called SwagWebMcp. After building the assets, install it like any Shopware plugin.

```
npm install && npm run build
bin/console plugin:refresh
bin/console plugin:install --activate SwagWebMcp
```
