Shopware管理
STDIOShopware电商管理MCP服务器
Shopware电商管理MCP服务器
A Model Context Protocol (MCP) server that provides AI assistants with direct access to Shopware's Admin API for product management tasks.
| Tool | Description | Parameters | 
|---|---|---|
product_list | Search and paginate products | page, term (optional) | 
product_get | Get detailed product information | id | 
product_create | Create new products with pricing and media | name, productNumber, description, taxRate, stock, netPrice, grossPrice, active (optional), visibilities (optional), categories (optional), media (optional) | 
product_update | Update existing products | id, active (optional), name (optional), description (optional), stock (optional), visibilities (optional), categories (optional), media (optional) | 
category_list | List all categories | None | 
category_create | Create categories (supports bulk) | categories (array with name, parentId optional, active optional) | 
category_update | Update categories (supports bulk) | categories (array with id, name optional, parentId optional, active optional) | 
category_delete | Delete categories | ids (array of category IDs) | 
sales_channel_list | List all sales channels | None | 
sales_channel_update | Update a sales channel | id, active (optional), maintenance (optional) | 
upload_media_by_url | Upload media from URL | url, fileName | 
order_list | List all orders | page, filters (optional) | 
order_detail | Get detailed order information | id | 
order_update | Update an order | id, status (optional) | 
theme_config_get | Get the theme configuration for a sales channel | salesChannelId | 
theme_config_change | Change the theme configuration for a sales channel | salesChannelId, themeId, brandPrimaryColor (optional), brandSecondaryColor (optional), brandBackgroundColor (optional), logoId (optional) | 
fetch_entity_list | List all available entities in Shopware | None | 
fetch_single_entity_schema | Get the schema for a single entity | entity | 
dal_aggregate | Aggregate data from the DAL | entity, type, field, filter (optional) | 
Create a Integration in Shopware Admin with permission to create, read, update, delete products.
Set following environment variables:
SHOPWARE_API_URL: URL of your Shopware instance (e.g., https://your-shopware-instance.com)SHOPWARE_API_CLIENT_ID: Client ID of the created integrationSHOPWARE_API_CLIENT_SECRET: Client Secret of the created integrationAdd the server using the Claude Code CLI:
claude mcp add shopware-admin-mcp \ --env SHOPWARE_API_URL=https://your-shopware-instance.com \ --env SHOPWARE_API_CLIENT_ID=your-integration-client-id \ --env SHOPWARE_API_CLIENT_SECRET=your-integration-client-secret \ -- npx -y @shopware-ag/admin-mcp
Replace the placeholder values with your actual Shopware instance URL and integration credentials.
Add the following configuration to your mcp.json file:
{ "mcpServers": { "shopware-admin-mcp": { "command": "npx", "args": ["-y", "@shopware-ag/admin-mcp"], "env": { "SHOPWARE_API_URL": "https://your-shopware-instance.com", "SHOPWARE_API_CLIENT_ID": "your-integration-client-id", "SHOPWARE_API_CLIENT_SECRET": "your-integration-client-secret" } } } }
# Start local development server in stdio mode npm run dev
# Format code npm run format # Fix linting issues npm run lint:fix # Run type checking npm run type-check
| Entity | Read | Create | Update | Delete | 
|---|---|---|---|---|
| Product | ✅ | ✅ | ✅ | ✅ | 
| Product Translation | ✅ | ✅ | ✅ | ✅ | 
| Product Visibility | ✅ | ✅ | ✅ | ✅ | 
| Product Category | ✅ | ✅ | ✅ | ✅ | 
| Product Media | ✅ | ✅ | ✅ | ✅ | 
| Category | ✅ | ✅ | ✅ | ✅ | 
| Category Translation | ✅ | ✅ | ✅ | ✅ | 
| Sales Channel | ✅ | ✅ | ✅ | ✅ | 
| Media | ✅ | ✅ | ✅ | ✅ | 
| Media Default Folder | ✅ | ✅ | ✅ | ✅ | 
| Media Folder | ✅ | ✅ | ✅ | ✅ | 
| Tax | ✅ | ✅ | ✅ | ✅ | 
| Theme | ✅ | ✅ | ✅ | ✅ | 
| Theme Translation | ✅ | ✅ | ✅ | ✅ | 
| Theme Media | ✅ | ✅ | ✅ | ✅ | 
| Theme Sales Channel | ✅ | ✅ | ✅ | ✅ | 
| Order | ✅ | ✅ | ✅ | ✅ | 
| Order Customer | ✅ | ✅ | ✅ | ✅ | 
| Order Delivery | ✅ | ✅ | ✅ | ✅ | 
| Order Transaction | ✅ | ✅ | ✅ | ✅ | 
MIT License - see LICENSE file for details.
For issues and feature requests, please use the GitHub issue tracker.