Sponsored by Deepsite.site

WooCommerce MCP Server

Created By
AlexlaGuardia9 hours ago
Production-grade MCP server for the WooCommerce REST API. 34 tools for products, orders, customers, coupons, reports, shipping, payments, webhooks, and system status. Built for the 5 million+ stores running WooCommerce.
Content

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

ToolDescription
pingValidate connection and get store info

Products (7)

ToolDescription
list_productsList products with filters (status, category, search, on_sale)
get_productFull product details (pricing, inventory, images, attributes)
create_productCreate a product (simple, variable, grouped, external)
update_productUpdate product fields (price, stock, status, etc.)
delete_productDelete or trash a product
search_productsSearch by name or SKU
list_product_categoriesList categories with hierarchy

Orders (7)

ToolDescription
list_ordersList orders with filters (status, customer, date range)
get_orderFull order details (items, billing, shipping, payment)
create_orderCreate an order with line items
update_order_statusChange order status (pending, processing, completed, etc.)
list_order_notesGet all notes on an order
create_order_noteAdd staff or customer-facing notes
create_refundIssue a refund

Customers (4)

ToolDescription
list_customersList customers with filters (role, search)
get_customerFull customer details with addresses and order stats
create_customerCreate a new customer
search_customersSearch by name or email

Coupons (4)

ToolDescription
list_couponsList coupons with search
get_couponFull coupon details (restrictions, limits, usage)
create_couponCreate percent, fixed cart, or fixed product coupons
delete_couponDelete a coupon

Reports (4)

ToolDescription
get_sales_reportSales totals by period (week, month, year, custom range)
get_top_sellersTop-selling products by period
get_order_totalsOrder counts by status
get_product_totalsProduct counts by type

Shipping & Payments (3)

ToolDescription
list_shipping_zonesShipping zones with their methods
list_payment_gatewaysPayment gateways with enabled status
list_tax_ratesAll configured tax rates

Webhooks (3)

ToolDescription
list_webhooksList all webhooks
create_webhookCreate webhooks for order/product/customer events
delete_webhookDelete a webhook

System (1)

ToolDescription
get_system_statusWooCommerce/WordPress versions, plugins, server environment

Authentication

WooCommerce uses consumer key + consumer secret for REST API auth. This server uses HTTP Basic Authentication over HTTPS.

  1. Go to WordPress Admin > WooCommerce > Settings > Advanced > REST API
  2. Click Add key
  3. Set permissions to Read/Write
  4. 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

Server Config

{
  "mcpServers": {
    "woocommerce": {
      "command": "mcp-woocommerce",
      "env": {
        "WOOCOMMERCE_URL": "https://yourstore.com",
        "WOOCOMMERCE_KEY": "ck_your_consumer_key",
        "WOOCOMMERCE_SECRET": "cs_your_consumer_secret"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
Tavily Mcp
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.