原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

WooCommerce MCP

作者:sadrmanesh版本 0.6.0i★ –i在你的电脑上运行
注册名称io.github.sadrmanesh/woocommerce-mcp

安装

概览

作者提供的说明(英文原文)

Manage WooCommerce stores: products, orders, customers, coupons, webhooks, and analytics.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网店与支付
  • 你需要填写:WOOCOMMERCE_URL, WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: WOOCOMMERCE_URL, WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET, WOOCOMMERCE_READ_ONLY, WOOCOMMERCE_REDACT_PII, WOOCOMMERCE_TOOLS_DENY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "woocommerce": {
      "command": "npx",
      "args": [
        "-y",
        "@sadrmanesh/woocommerce-mcp"
      ],
      "env": {
        "WOOCOMMERCE_URL": "your-value",
        "WOOCOMMERCE_CONSUMER_KEY": "your-value",
        "WOOCOMMERCE_CONSUMER_SECRET": "your-value",
        "WOOCOMMERCE_READ_ONLY": "your-value",
        "WOOCOMMERCE_REDACT_PII": "your-value",
        "WOOCOMMERCE_TOOLS_DENY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add woocommerce --env WOOCOMMERCE_URL=your-value --env WOOCOMMERCE_CONSUMER_KEY=your-value --env WOOCOMMERCE_CONSUMER_SECRET=your-value --env WOOCOMMERCE_READ_ONLY=your-value --env WOOCOMMERCE_REDACT_PII=your-value --env WOOCOMMERCE_TOOLS_DENY=your-value -- npx -y @sadrmanesh/woocommerce-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "woocommerce": {
      "command": "npx",
      "args": [
        "-y",
        "@sadrmanesh/woocommerce-mcp"
      ],
      "env": {
        "WOOCOMMERCE_URL": "your-value",
        "WOOCOMMERCE_CONSUMER_KEY": "your-value",
        "WOOCOMMERCE_CONSUMER_SECRET": "your-value",
        "WOOCOMMERCE_READ_ONLY": "your-value",
        "WOOCOMMERCE_REDACT_PII": "your-value",
        "WOOCOMMERCE_TOOLS_DENY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "woocommerce": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sadrmanesh/woocommerce-mcp"
      ],
      "env": {
        "WOOCOMMERCE_URL": "your-value",
        "WOOCOMMERCE_CONSUMER_KEY": "your-value",
        "WOOCOMMERCE_CONSUMER_SECRET": "your-value",
        "WOOCOMMERCE_READ_ONLY": "your-value",
        "WOOCOMMERCE_REDACT_PII": "your-value",
        "WOOCOMMERCE_TOOLS_DENY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • WOOCOMMERCE_URL 必填 env
    Store origin, such as https://store.example.com
  • WOOCOMMERCE_CONSUMER_KEY 机密 必填 env
    WooCommerce REST API consumer key (ck_...)
  • WOOCOMMERCE_CONSUMER_SECRET 机密 必填 env
    WooCommerce REST API consumer secret (cs_...)
  • WOOCOMMERCE_READ_ONLY env
    Refuse every write tool. Set to false to allow writes
  • WOOCOMMERCE_REDACT_PII env
    Mask customer names, emails, phones, and addresses in results
  • WOOCOMMERCE_TOOLS_DENY env
    Comma-separated tool names or patterns to hide, such as delete_*

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 sadrmanesh 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“网店与支付”中的其他服务器比较i

  • 星标数多于此分类中其他 2554 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2554 个服务器的 79% 更新
  • 基础检查结果等于或优于此分类中其他 2554 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

WooCommerce MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:WOOCOMMERCE_URL, WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.6.0)于7天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Stripe MCP

MCP server integrating with Stripe - tools for customers, products, payments, and more.

作者:stripe正在增长★ 204312个月前更新

在云端运行✓ stripe.com

MCP Cn Commerce

8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending

作者:TonyWang-hub起步阶段↓ 73/周★ 9629天前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

woocommerce-mcp

A Model Context Protocol server for running one or more WooCommerce stores through the WooCommerce REST API. MCP clients can browse the catalog, work through and fulfill orders, issue refunds, adjust prices and stock in bulk, run promotions, segment customers, react to webhooks, and read sales analytics. Every change is previewed before it is applied and can be written to an audit log.

It runs locally over stdio, or as a remote service over streamable HTTP with bearer-token or OAuth 2.0 authentication, and ships as a Docker image on the GitHub Container Registry.

Documentation: https://sadrmanesh.github.io/woocommerce-mcp/ · Tool explorer: Hugging Face Space

Read more: Safe write tools for agents: preview, confirm, audit, and stale previews in a WooCommerce MCP server on Dev.to · Preview, confirm, audit on LinkedIn · Update: A week of reader feedback: what changed in my four AI-for-commerce tools on Dev.to · What reader feedback taught me about building production-safe AI tooling for commerce on LinkedIn

Listed on the official MCP Registry as io.github.sadrmanesh/woocommerce-mcp, on Glama, and on mcpservers.org.

Contents

  • Highlights
  • Quick start
  • Connect an MCP client
  • Tools, resources, and prompts
  • Safe writes
  • Configuration
  • Deployment
  • Development
  • Documentation

Highlights

  • Multi-store. Configure any number of stores and pick one per call with store. Each store has its own credentials and its own read-only switch.
  • Safe by default. Stores are read-only until you allow writes. Write tools then return a preview of the exact REST request and apply it only when called again with confirm: true. A confirm is refused if the arguments or the store data the change was computed from changed since the preview. dryRun: true always previews.
  • Signed approvals (optional). Set WOOCOMMERCE_APPROVAL_SECRET and a confirm also needs a short-lived, single-use token signed for that exact preview by someone outside the agent's reach, for example with woocommerce-mcp approve . The agent cannot approve its own writes.
  • Audit log. One JSON line per write attempt: applied, previewed, refused, or failed, with the tool, store, arguments, caller, and a preview id that links each confirmed write to its preview.
  • Refunds and bulk operations. Partial or line-item refunds, batch updates of up to 100 products, and percentage or fixed price adjustments.
  • Analytics. Sales by day, week, or month with refunds, average order value, top products, and payment methods, plus a low-stock report that covers variations.
  • Promotions and customers. Coupon performance, scheduled sales, and customer segments such as VIP, repeat, and at risk.
  • Fulfillment. Order notes, shipment tracking, and one-step fulfillment that emails the customer.
  • Webhooks. Manage store webhooks and receive signed deliveries, readable as MCP resources.
  • Shipping and taxes. Read shipping zones, methods, tax rates, and tax classes.
  • Privacy and control. Optional PII redaction, and tool allow and deny lists per deployment or per store.
  • Gentle on the store. Per-store rate limiting, retries with backoff and jitter, and an optional read cache.
  • Remote ready. Streamable HTTP with static bearer tokens (full or read-only) or RFC 7662 token introspection, RFC 9728 protected resource metadata, Host and Origin checks, and a health endpoint.
  • MCP resources and prompts. Read products and orders by URI, and start common workflows such as a sales briefing or a restock plan.
  • Observability. Optional OpenTelemetry traces for every tool call and WooCommerce request.
  • Well tested. Strict TypeScript, Zod validation on every input, and tests against a mocked WooCommerce API.

Quick start

Node.js 20 or newer is required.

npm install -g @sadrmanesh/woocommerce-mcp

Or run the Docker image from the GitHub Container Registry (linux/amd64 and linux/arm64, tags X.Y.Z, X.Y, and latest). The same image is on Docker Hub as sadrmanesh/woocommerce-mcp:

docker run --rm -i -e MCP_TRANSPORT=stdio \

-e WOOCOMMERCE_URL -e WOOCOMMERCE_CONSUMER_KEY -e WOOCOMMERCE_CONSUMER_SECRET \ ghcr.io/sadrmanesh/woocommerce-mcp:0.6.0

The npm package is also on GitHub Packages; see Install options for the .npmrc setup. npmjs.com remains the main registry.

Or from a checkout:

git clone https://github.com/sadrmanesh/woocommerce-mcp.git

cd woocommerce-mcp npm install npm run build cp .env.example .env

Create a REST API key under WooCommerce > Settings > Advanced > REST API. Use a Read key while the store is read-only, and a Read/Write key only when you enable writes. WordPress permalinks must not be set to "Plain", or /wp-json/ will not resolve.

WOOCOMMERCE_URL=https://store.example.com \

WOOCOMMERCE_CONSUMER_KEY=ck_... \ WOOCOMMERCE_CONSUMER_SECRET=cs_... \ woocommerce-mcp

The process then serves MCP on stdin and stdout. Logs go to stderr. npm start in a checkout loads .env from the working directory without overriding variables that are already set.

Connect an MCP client

Most hosts accept an mcpServers map like the ones below. Keep secrets in env, never in args. Docker, Smithery, and MCP Registry installs are in docs/install.md.

stdio
{

"mcpServers": { "woocommerce": { "command": "npx", "args": ["-y", "@sadrmanesh/woocommerce-mcp"], "env": { "WOOCOMMERCE_URL": "https://store.example.com", "WOOCOMMERCE_CONSUMER_KEY": "ck_your_consumer_key", "WOOCOMMERCE_CONSUMER_SECRET": "cs_your_consumer_secret" } } } }

From a checkout, use "command": "node" and "args": ["/absolute/path/to/woocommerce-mcp/dist/index.js"].

Streamable HTTP
MCP_TRANSPORT=http MCP_HTTP_AUTH_TOKENS="$(openssl rand -base64 32)" woocommerce-mcp
{

"mcpServers": { "woocommerce": { "type": "http", "url": "https://mcp.example.com/mcp", "headers": { "Authorization": "Bearer " } } } }

Without authentication the HTTP endpoint only binds to loopback. See docs/security.md for tokens, scopes, and OAuth introspection.

Tools, resources, and prompts

Every tool except woocommerce_list_stores accepts an optional store id. Without it, the default store is used.

To browse every tool with its full input schema and build tools/call requests in the browser, open the tool explorer on Hugging Face.

AreaRead toolsWrite tools
Storeslist_stores
Productslist_products, search_products, get_productcreate_product, update_product, bulk_update_products, bulk_adjust_prices
Orderslist_orders, get_order, list_order_notesupdate_order_status, add_order_note, delete_order_note
Fulfillmentget_order_trackingfulfill_order
Refundslist_refunds, get_refundcreate_refund
Customerslist_customers, get_customer, customer_orders, customer_segmentsupdate_customer
Stockget_stock, low_stock_reportupdate_stock
Coupons and saleslist_coupons, get_coupon, coupon_performancecreate_coupon, update_coupon, delete_coupon, schedule_sale, end_sale
Webhookslist_webhooks, get_webhook, list_webhook_eventscreate_webhook, update_webhook, delete_webhook
Shipping and taxeslist_shipping_zones, list_shipping_methods, list_tax_rates, list_tax_classes
Analyticsget_store_summary, sales_analytics

Every name starts with woocommerce_, for example woocommerce_customer_segments. That makes 47 tools: 28 reads and 19 writes.

Resources

URIContent
woocommerce://storesConfigured stores
woocommerce://stores/{store}/products/{id}One product
woocommerce://stores/{store}/orders/{id}One order
woocommerce://stores/{store}/eventsRecent webhook deliveries
woocommerce://stores/{store}/events/{id}One webhook delivery with its payload

Prompts: sales_briefing, restock_plan, order_triage, and price_change_review.

Full argument and response details are in docs/tools.md.

Safe writes

  1. Read-only stores. A store accepts writes only when WOOCOMMERCE_READ_ONLY=false (single store) or "readOnly": false (store list). Otherwise write tools fail with read_only before contacting the store.
  2. Confirmation. With WOOCOMMERCE_REQUIRE_CONFIRMATION=true (the default), the first call returns the planned request and changes nothing:
   {

"status": "confirmation_required", "store": "default", "previewId": "pv_4f1c9a2e7b3d0856", "message": "The change was NOT applied. ...", "request": { "method": "PUT", "path": "orders/1015",

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx