Skip to main content
Glama

mcp-woocommerce

Production-grade MCP server for the WooCommerce REST API -- 73 tools for products, variations, attributes, orders, customers, coupons, reviews, reports, shipping, payments, webhooks, batch operations, inventory, 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 73 production-ready tools covering the entire WooCommerce REST API v3 with full CRUD on every core resource.

Related MCP server: MCP WooCommerce

Features

  • 73 tools across 18 categories -- the most comprehensive WooCommerce MCP server available

  • Full CRUD for products, variations, attributes, attribute terms, categories, tags, reviews, orders, customers, coupons, and webhooks

  • Inventory management -- list out-of-stock and low-stock products

  • Batch operations -- bulk update products and orders in a single call

  • Reports & analytics -- sales reports, top sellers, order/product totals

  • Store configuration -- settings, tax classes, shipping classes, currencies, countries

  • Webhook management -- create, update, list, delete webhooks for real-time events

  • System diagnostics -- WooCommerce/WordPress versions, plugins, server environment

  • Error-safe -- every tool wrapped with error handling, never crashes on API failures

  • 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"
      }
    }
  }
}

Use with Claude Code

claude mcp add woocommerce -- mcp-woocommerce

Then set environment variables in your shell before running Claude Code.

Tools (73)

Store (1)

Tool

Description

ping

Validate connection and get store info

Products (8)

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_low_stock_products

List products by stock status (out-of-stock, on-backorder)

Product Categories (4)

Tool

Description

list_product_categories

List categories with hierarchy

create_product_category

Create a category (with optional parent for subcategories)

update_product_category

Update category name, description, slug, parent

delete_product_category

Delete a category

Product Variations (5)

Tool

Description

list_product_variations

List all variations for a variable product

get_product_variation

Full variation details (pricing, stock, attributes)

create_product_variation

Create a variation with attributes and pricing

update_product_variation

Update variation price, stock, status

delete_product_variation

Delete a variation

Product Attributes (5)

Tool

Description

list_product_attributes

List all attributes (e.g. Color, Size)

get_product_attribute

Get attribute details with its terms

create_product_attribute

Create an attribute (select or text type)

update_product_attribute

Update attribute name, slug, ordering

delete_product_attribute

Delete an attribute from all products

Attribute Terms (4)

Tool

Description

list_attribute_terms

List terms for an attribute (e.g. Red, Blue for Color)

create_attribute_term

Add a term to an attribute

update_attribute_term

Update a term's name, slug, description

delete_attribute_term

Delete a term

Product Tags (3)

Tool

Description

list_product_tags

List tags with optional search

create_product_tag

Create a product tag

delete_product_tag

Delete a product tag

Product Reviews (4)

Tool

Description

list_product_reviews

List reviews (filter by product or status)

get_product_review

Full review details

create_product_review

Create a review with rating

delete_product_review

Delete a review

Orders (10)

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.)

update_order

Edit order billing/shipping addresses and customer note

delete_order

Delete or trash an order

list_order_notes

Get all notes on an order

create_order_note

Add staff or customer-facing notes

create_refund

Issue a refund

list_refunds

List all refunds for an order

Customers (6)

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

update_customer

Update customer info, billing/shipping addresses

delete_customer

Delete a customer (with optional order reassignment)

search_customers

Search by name or email

Coupons (5)

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

update_coupon

Update coupon amount, expiry, limits, etc.

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

Settings (1)

Tool

Description

get_store_settings

Read store settings by group (general, products, tax, etc.)

Shipping & Payments (5)

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

list_tax_classes

Tax classes (standard, reduced, zero rate)

list_shipping_classes

Product shipping classes

Webhooks (4)

Tool

Description

list_webhooks

List all webhooks

create_webhook

Create webhooks for order/product/customer events

update_webhook

Update webhook URL, topic, status

delete_webhook

Delete a webhook

Batch Operations (2)

Tool

Description

batch_update_products

Bulk update multiple products in one call

batch_update_orders

Bulk update multiple orders in one call

Data (2)

Tool

Description

list_currencies

All supported currencies with codes and symbols

list_countries

All countries with states/provinces

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.

  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

Available Tools

34 tools
create_couponC

Create a coupon. discount_type: percent, fixed_cart, fixed_product. Amount as string (e.g. '10' for 10% or $10).

Inputs: code (required), discount_type, amount, free_shipping, +4 more. Returns: result

create_customerB

Create a new customer. Only email is required.

Inputs: email (required), first_name, last_name, username. Returns: result

create_orderC

Create an order. line_items: JSON array of {product_id, quantity} objects. Example: '[{"product_id": 42, "quantity": 2}]'

Inputs: customer_id, status, line_items, billing_email, +4 more. Returns: result

create_order_noteB

Add a note to an order. Set customer_note=True to make it visible to the customer.

Inputs: order_id (required), note (required), customer_note. Returns: result

create_productC

Create a product. Type: simple, grouped, external, variable. Categories: comma-separated IDs.

Inputs: name (required), product_type, regular_price, description, +6 more. Returns: result

create_refundB

Create a refund for an order. Amount as string (e.g. '25.00').

Inputs: order_id (required), amount (required), reason. Returns: result

create_webhookC

Create a webhook. Topics: order.created, order.updated, order.deleted, product.created, product.updated, product.deleted, customer.created, customer.updated, coupon.created, coupon.updated, etc.

Inputs: name (required), topic (required), delivery_url (required), secret, +1 more. Returns: result

delete_couponB

Delete a coupon. force=True for permanent deletion.

Inputs: coupon_id (required), force. Returns: result

delete_productA

Delete a product. Set force=True for permanent deletion (bypass trash).

Inputs: product_id (required), force. Returns: result

delete_webhookC

Delete a webhook.

Inputs: webhook_id (required), force. Returns: result

get_couponB

Get full details for a coupon.

Inputs: coupon_id (required). Returns: result

get_customerB

Get full details for a customer including billing/shipping addresses and order stats.

Inputs: customer_id (required). Returns: result

get_orderB

Get full details for an order including line items, shipping, billing, and payment info.

Inputs: order_id (required). Returns: result

get_order_totalsB

Get order counts by status (pending, processing, completed, etc.).

Inputs: no named parameters. Returns: result

get_productA

Get full details for a product including pricing, inventory, categories, images, and attributes.

Inputs: product_id (required). Returns: result

get_product_totalsB

Get product counts by type (simple, variable, grouped, external).

Inputs: no named parameters. Returns: result

get_sales_reportB

Get sales report. Period: week, month, last_month, year. Or provide date_min/date_max (YYYY-MM-DD).

Inputs: period, date_min, date_max. Returns: result

get_system_statusB

Get WooCommerce system status — versions, database, active plugins, server environment, and store diagnostics.

Inputs: no named parameters. Returns: result

get_top_sellersB

Get top-selling products. Period: week, month, last_month, year.

Inputs: period. Returns: result

list_couponsB

List coupons. Optionally search by code.

Inputs: search, per_page, page. Returns: result

list_customersC

List customers. Filter by role (all, administrator, customer) or search by name/email. Orderby: id, include, name, registered_date.

Inputs: role, search, per_page, page, +2 more. Returns: result

list_order_notesB

List all notes on an order (internal staff notes and customer-facing notes).

Inputs: order_id (required). Returns: result

list_ordersB

List orders. Filter by status (pending, processing, on-hold, completed, cancelled, refunded, failed), customer ID, or date range (ISO 8601).

Inputs: status, customer, after, before, +2 more. Returns: result

list_payment_gatewaysB

List all payment gateways with their enabled status and settings.

Inputs: no named parameters. Returns: result

list_product_categoriesB

List product categories. Set parent=0 for top-level only.

Inputs: per_page, page, parent. Returns: result

list_productsB

List products. Filter by status (publish, draft, pending, private), category ID, search term, or on_sale flag. Orderby: date, id, title, price, popularity, rating.

Inputs: status, category, search, on_sale, +4 more. Returns: result

list_shipping_zonesB

List all shipping zones with their methods.

Inputs: no named parameters. Returns: result

list_tax_ratesB

List all tax rates.

Inputs: per_page, page. Returns: result

list_webhooksB

List all webhooks.

Inputs: per_page, page. Returns: result

pingA

Validate WooCommerce connection and get store info (name, URL, currency, version, timezone).

Inputs: no named parameters. Returns: result

search_customersC

Search customers by name or email.

Inputs: query (required), per_page. Returns: result

search_productsC

Search products by name or SKU.

Inputs: query (required), per_page. Returns: result

update_order_statusB

Update an order's status. Status: pending, processing, on-hold, completed, cancelled, refunded, failed.

Inputs: order_id (required), status (required). Returns: result

update_productA

Update a product. Only provide fields you want to change. Set sale_price to empty string to remove sale.

Inputs: product_id (required), name, regular_price, sale_price, +4 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 34 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific resources and actions, but there is some overlap between list_customers and search_customers, and list_products and search_products, which could cause minor confusion in tool selection. However, descriptions clarify their differences.

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout, such as create_coupon, get_customer, list_orders, and update_order_status. There are no deviations in naming conventions, making the set predictable and easy to navigate.

    Tool Count3/5

    With 34 tools, the count is on the high side for a typical MCP server, bordering on heavy. While it covers many aspects of WooCommerce, it may feel overwhelming, but it's not extreme and aligns with the platform's broad scope.

    Completeness5/5

    The tool set provides comprehensive coverage of the WooCommerce domain, including CRUD operations for key resources (coupons, customers, orders, products, webhooks), reporting, system status, and administrative functions. There are no obvious gaps that would hinder agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      WooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON-RPC 2.0 protocol.
      106
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server and Telegram bot that enables natural language management of WooCommerce stores, including products, orders, customers, and sales reports. It supports multiple LLM providers, voice commands via Whisper transcription, and deployment on Cloudflare Workers.
      -
    • A
      license
      B
      quality
      D
      maintenance
      MCP server for managing WooCommerce stores through AI assistants like Claude. Provides 101 tools covering products, orders, customers, coupons, shipping, taxes, webhooks, settings, reports, and more.
      100
      170 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A comprehensive MCP server for Shopify Admin API integration, enabling AI assistants to manage products, orders, customers, inventory, analytics, and more through natural language.
      26 npm
      20
      MIT