WooCommerce MCP Server
A production-grade MCP server for the WooCommerce REST API, enabling AI assistants to manage products, orders, customers, and store settings.
README
mcp-woocommerce
Production-grade MCP server for the WooCommerce REST API — 34 tools for products, orders, customers, coupons, reports, shipping, payments, webhooks, and system management.
Why This Exists
WooCommerce powers 36% of all e-commerce (5M+ active stores) but has zero comprehensive MCP servers. This fills that gap with 34 production-ready tools covering the entire WooCommerce REST API v3.
Features
- 34 tools across 8 categories (products, orders, customers, coupons, reports, shipping/payments, webhooks, system)
- Full CRUD for products, orders, customers, and coupons
- Reports & analytics — sales reports, top sellers, order totals, product totals
- Webhook management — create, list, delete webhooks for real-time event handling
- System diagnostics — WooCommerce/WordPress versions, plugins, server environment
- Shipping zones with methods, payment gateways, tax rates
- Production-grade error handling with typed exceptions
- Simple auth — consumer key + secret via environment variables
Quick Start
Install
pip install mcp-woocommerce
Configure
Set your WooCommerce REST API credentials as environment variables:
export WOOCOMMERCE_URL="https://yourstore.com"
export WOOCOMMERCE_KEY="ck_your_consumer_key"
export WOOCOMMERCE_SECRET="cs_your_consumer_secret"
Generate API keys at: WordPress Admin > WooCommerce > Settings > Advanced > REST API
Run
mcp-woocommerce
Or run as a module:
python -m mcp_woocommerce
Use with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"woocommerce": {
"command": "mcp-woocommerce",
"env": {
"WOOCOMMERCE_URL": "https://yourstore.com",
"WOOCOMMERCE_KEY": "ck_your_consumer_key",
"WOOCOMMERCE_SECRET": "cs_your_consumer_secret"
}
}
}
}
Tools (34)
Store
| Tool | Description |
|---|---|
ping |
Validate connection and get store info |
Products (7)
| Tool | Description |
|---|---|
list_products |
List products with filters (status, category, search, on_sale) |
get_product |
Full product details (pricing, inventory, images, attributes) |
create_product |
Create a product (simple, variable, grouped, external) |
update_product |
Update product fields (price, stock, status, etc.) |
delete_product |
Delete or trash a product |
search_products |
Search by name or SKU |
list_product_categories |
List categories with hierarchy |
Orders (7)
| Tool | Description |
|---|---|
list_orders |
List orders with filters (status, customer, date range) |
get_order |
Full order details (items, billing, shipping, payment) |
create_order |
Create an order with line items |
update_order_status |
Change order status (pending, processing, completed, etc.) |
list_order_notes |
Get all notes on an order |
create_order_note |
Add staff or customer-facing notes |
create_refund |
Issue a refund |
Customers (4)
| Tool | Description |
|---|---|
list_customers |
List customers with filters (role, search) |
get_customer |
Full customer details with addresses and order stats |
create_customer |
Create a new customer |
search_customers |
Search by name or email |
Coupons (4)
| Tool | Description |
|---|---|
list_coupons |
List coupons with search |
get_coupon |
Full coupon details (restrictions, limits, usage) |
create_coupon |
Create percent, fixed cart, or fixed product coupons |
delete_coupon |
Delete a coupon |
Reports (4)
| Tool | Description |
|---|---|
get_sales_report |
Sales totals by period (week, month, year, custom range) |
get_top_sellers |
Top-selling products by period |
get_order_totals |
Order counts by status |
get_product_totals |
Product counts by type |
Shipping & Payments (3)
| Tool | Description |
|---|---|
list_shipping_zones |
Shipping zones with their methods |
list_payment_gateways |
Payment gateways with enabled status |
list_tax_rates |
All configured tax rates |
Webhooks (3)
| Tool | Description |
|---|---|
list_webhooks |
List all webhooks |
create_webhook |
Create webhooks for order/product/customer events |
delete_webhook |
Delete a webhook |
System (1)
| Tool | Description |
|---|---|
get_system_status |
WooCommerce/WordPress versions, plugins, server environment |
Authentication
WooCommerce uses consumer key + consumer secret for REST API auth. This server uses HTTP Basic Authentication over HTTPS.
- Go to WordPress Admin > WooCommerce > Settings > Advanced > REST API
- Click Add key
- Set permissions to Read/Write
- Copy the consumer key (
ck_...) and consumer secret (cs_...)
Important: Your store must use HTTPS for Basic Auth to work securely.
Requirements
- Python 3.10+
- WooCommerce 3.5+ with REST API v3
- HTTPS enabled on your store
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。