Connector guide3-minute read49 MCP toolsEnglish · Deutsch · Italiano

如何将 WooCommerce 连接到 Claude — 通过 MCP

AI-native commerce operations for any WooCommerce store. Semantic tools for products, variations, inventory, orders, refunds, customers, categories, and reports — plus documented multi-step recipes (inventory optimisation, SEO refresh, upsell/cross-sell, abandoned-order triage, revenue analysis).

HCBy HelpCode teamUpdated 3 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

WooCommerce

MCP connector

WooCommerce

AI-native commerce operations for any WooCommerce store. Semantic tools for products, variations, inventory, orders, refunds, customers, categories, and reports — plus documented multi-step recipes (inventory optimisation, SEO refresh, upsell/cross-sell, abandoned-order triage, revenue analysis).

Tools

49

Region

INTL

Category

E-commerce

Authentication

Required env vars

WOOCOMMERCE_URLWOOCOMMERCE_CONSUMER_KEYWOOCOMMERCE_CONSUMER_SECRET
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

No install? Use cloud.anythingmcp.com directly.

Sign in, install the WooCommerce in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.

Open Cloud

💡 无需安装? 直接使用 cloud.anythingmcp.com 登录、点击 Connectors → WooCommerce、粘贴凭证、生成 MCP API key — 完成。无 Docker、无 git clone、无本地服务器。

WooCommerce + Claude

AI-native commerce operations for any WooCommerce store. Semantic tools for products, variations, inventory, orders, refunds, customers, categories, and reports — plus documented multi-step recipes (inventory optimisation, SEO refresh, upsell/cross-sell, abandoned-order triage, revenue analysis).

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

WOOCOMMERCE_URL, WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET

步骤 1 — 获取凭证

This connector talks to the WooCommerce REST API v3 (/wp-json/wc/v3). Works against any WordPress + WooCommerce site. HTTPS required.

Setup

  1. WOOCOMMERCE_URL — site root (e.g. https://shop.example.com). Do NOT include /wp-json; the adapter appends /wp-json/wc/v3.
  2. WOOCOMMERCE_CONSUMER_KEY + WOOCOMMERCE_CONSUMER_SECRET — generate in WP admin → WooCommerce → Settings → Advanced → REST API → Add key. Use Read/Write for full functionality.

HTTPS is mandatory: on HTTP, WC requires OAuth1 instead of Basic Auth (the connector only does Basic Auth).

Pagination

…(continued in the in-app connector instructions)

步骤 2 — 安装 adapter

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

步骤 3 — 在 Claude 中添加连接器

推荐路径 — 在 claude.ai web 上工作,无需触碰任何配置文件。

  1. 打开 claude.ai/customize/connectors
  2. 点击 "Add custom connector"
  3. 填入:
    • Name: WooCommerce
    • URL: https://cloud.anythingmcp.com/mcp
    • Authentication: Bearer token → 粘贴你的 MCP API key (来自 AnythingMCP → Profile → MCP API Keys → New Key)
  4. 点击 Connect 授权。

下面所有工具都会出现在你的聊天中 — 开始输入提示。

可用工具

ToolWhat it does
woocommerce_search_productsSearch/list products with rich filters — keyword (search), SKU, status, type (simple/variable/grouped/external), stock_status, on_sale, pr
woocommerce_get_productGet a single product by id, including all fields: name, slug, description, short_description, sku, price/regular_price/sale_price, stock_qua
woocommerce_create_productCreate a product
woocommerce_update_productPartial-update a product by id
woocommerce_delete_productMove a product to trash, or pass force=true to delete permanently (cannot be undone)
woocommerce_batch_update_productsBulk create / update / delete products in a single call
woocommerce_list_product_variationsList variations for a variable product
woocommerce_update_product_variationUpdate a single variation of a variable product — price, SKU, stock, attributes
woocommerce_list_product_categoriesList product categories
woocommerce_create_product_categoryCreate a product category
woocommerce_list_product_tagsList product tags
woocommerce_list_product_attributesList the global attribute definitions configured for the store (e
woocommerce_find_low_stockFind products that are out of stock OR have manage_stock=true with stock_quantity at/below threshold
woocommerce_update_stockConvenience wrapper over update_product: enables stock management and sets quantity + status in one call
woocommerce_list_ordersList orders with status, date, customer, and product filters
woocommerce_get_orderGet a single order by id — full payload incl
woocommerce_update_order_statusSet an order's status (e
woocommerce_add_order_noteAdd a note to an order
woocommerce_list_refundsList refunds attached to an order
woocommerce_create_refundCreate a refund against an order
woocommerce_list_customersList customers
woocommerce_get_customerGet a customer by id (includes billing/shipping addresses, order count, total spent, last_order info)
woocommerce_sales_reportSales report for a date window or named period
woocommerce_top_sellers_reportTop-selling products for a date window or named period
woocommerce_coupons_totals_reportCoupon counts grouped by discount type (percent
woocommerce_orders_totals_reportCounts of orders grouped by status (pending, processing, completed,
woocommerce_update_customerPartial-update a customer by id
woocommerce_delete_customerPermanently delete a customer
woocommerce_create_customerCreate a customer account
woocommerce_create_orderCreate an order

(showing 30 of 49 tools — install the connector to see them all)

FAQ

Claude Code 和 Claude Desktop 一样工作吗? 是的 — 两者都指向 https://cloud.anythingmcp.com/mcp

下一步

Ready to ship

Your WooCommerce agent is one click away.

Install the connector, paste the key, prompt Claude. Free for 7 days, no credit card.