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

WooCommerce MCP Server

作者:AmitGurbani版本 1.2.0i★ 2i在你的电脑上运行
注册名称io.github.AmitGurbani/mcp-server-woocommerce

安装

概览

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

101 tools for WooCommerce store management with field filtering and guided prompts.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网店与支付

安装

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

安装之前

  • 基础检查:2 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "woocommerce": {
      "command": "npx",
      "args": [
        "-y",
        "@amitgurbani/mcp-server-woocommerce"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add woocommerce -- npx -y @amitgurbani/mcp-server-woocommerce

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "woocommerce": {
      "command": "npx",
      "args": [
        "-y",
        "@amitgurbani/mcp-server-woocommerce"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "woocommerce": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@amitgurbani/mcp-server-woocommerce"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ! 注意

    仍在维护

    代码最后更新于6个月前,已超过 6 个月

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

WooCommerce MCP Server 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

GitHub 仓库最后更新于6个月前,最新版本(1.2.0)于8个月前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spree Commerce developer docs for AI agents, Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP

替代选择

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

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

Stripe MCP

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

作者:stripe广泛使用★ 205313个月前更新

在云端运行✓ stripe.com

作者的 README

打开 README

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

mcp-server-woocommerce

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.

Quick Start

1. Get WooCommerce API keys

In your WordPress admin: WooCommerce > Settings > Advanced > REST API > Add key with Read/Write permissions.

2. Add to your AI tool

No install needed — runs directly via npx:

Claude Code

Add to your project's .mcp.json:

{

"mcpServers": { "woocommerce": { "command": "npx", "args": ["-y", "@amitgurbani/mcp-server-woocommerce"], "env": { "WORDPRESS_SITE_URL": "https://store.example.com", "WOOCOMMERCE_CONSUMER_KEY": "ck_your_key", "WOOCOMMERCE_CONSUMER_SECRET": "cs_your_secret" } } } }

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{

"mcpServers": { "woocommerce": { "command": "npx", "args": ["-y", "@amitgurbani/mcp-server-woocommerce"], "env": { "WORDPRESS_SITE_URL": "https://store.example.com", "WOOCOMMERCE_CONSUMER_KEY": "ck_your_key", "WOOCOMMERCE_CONSUMER_SECRET": "cs_your_secret" } } } }

Cursor

Install in Cursor (one-click) or add to .cursor/mcp.json in your project root:

{

"mcpServers": { "woocommerce": { "command": "npx", "args": ["-y", "@amitgurbani/mcp-server-woocommerce"], "env": { "WORDPRESS_SITE_URL": "https://store.example.com", "WOOCOMMERCE_CONSUMER_KEY": "ck_your_key", "WOOCOMMERCE_CONSUMER_SECRET": "cs_your_secret" } } } }

4. Start using it — ask your AI assistant things like:

"List all products that are out of stock"

"Create a 10% off coupon for orders over $50"

"Show me this week's sales report"

Features

  • Full store management — CRUD operations for products, categories, tags, brands, orders, customers, and coupons
  • Product taxonomy — attributes, attribute terms, and variations with batch support
  • Shipping — zones, zone methods, and shipping classes
  • Taxes — tax rates and tax classes
  • Webhooks — create, manage, and monitor webhook subscriptions
  • Settings — read and update store configuration
  • Reports — sales reports, top sellers, order/product/customer totals
  • Media management — list, delete, and cleanup orphaned media via WordPress REST API
  • Token optimization — all tools support a fields param to return only specific fields, reducing response size by 60-97%
  • MCP resources — schema references for products, orders, coupons, refunds, and payment gateways that agents can read for context
  • Guided prompts — multi-step workflows for variable product setup, order processing, and catalog overview
  • Tool annotations — readOnlyHint, destructiveHint, and idempotentHint on all 101 tools for safe agent behavior
  • Actionable errors — error responses include guidance on how to fix common issues

Safety

This server connects to a LIVE WooCommerce store. Every create, update, and delete operation affects real data. Use caution, especially on production stores.

Before You Start
  • Back up your store before using destructive tools. Use a WordPress backup plugin or your host's backup feature.
  • Test on staging first. Clone your production store to a staging environment and point this server at the staging URL.
  • Use read-only mode when exploring. Set WOOCOMMERCE_MCP_READ_ONLY=true to block all write operations — only list, get, and report tools will work.
Irreversible Operations

Most delete operations move items to trash (recoverable). However, these are permanent and cannot be undone:

ToolWhy it's irreversible
delete_mediaWordPress media deletions bypass trash entirely
delete_tax_rateTax rates have no trash — deleted immediately
delete_tax_classTax classes have no trash — rates become orphaned
delete_attributeRemoves the attribute AND all its terms from every product
delete_refundRemoves refund record (does not reverse payment)
cleanup_orphaned_mediaPermanently deletes all unattached media when delete=true
run_system_toolSystem maintenance actions (cache clears, DB updates) cannot be undone
Cascading Effects

Some operations affect more than the single item being changed:

  • Deleting an attribute removes it from all products — variable products may break
  • Deleting an attribute term removes that option from all products and variations
  • Deleting a shipping zone removes all methods and locations in that zone
  • Batch operations (batch_update_attribute_terms, batch_update_variations) can create, update, AND delete in a single call
API Key Permissions

For maximum safety, create WooCommerce API keys with only the permissions you need:

  • Read-only exploration: Create a key with Read permissions only
  • Full management: Use Read/Write permissions

Available Tools (101)

DomainTools
Productslist, get, create, update, delete
Categorieslist, get, create, update, delete
Tagslist, get, create, update, delete
Brandslist, get, create, update, delete
Attributeslist, get, create, delete
Attribute Termslist, create, delete, batch update
Variationslist, get, create, update, batch update
Orderslist, get, create, update, delete
Order Refundslist, create, delete
Order Noteslist, create, delete
Customerslist, get, create, update
Couponslist, get, create, update, delete
Product Reviewslist, get, update, delete
Shipping Zoneslist, get, create, update, delete
Shipping Zone Methodslist, get, create, update, delete
Shipping Classeslist, create
Tax Rateslist, get, create, update, delete
Tax Classeslist, create, delete
Webhookslist, get, create, update, delete
Payment Gatewayslist, get, update
Settingslist groups, get, update
System Statusget status, list tools, run tool
Datalist countries, list currencies
Reportssales, top sellers, order/product/customer totals
Medialist, delete, cleanup orphaned

Resources

The server exposes 7 MCP resources that provide schema references and guides for AI agents:

URIDescription
woo://schema/productProduct fields, types, statuses, and key rules
woo://schema/orderOrder fields, status lifecycle, and payment info
woo://schema/couponCoupon types, limits, restrictions, and rules
woo://schema/refundRefund fields, reasons, line items, and processing rules
woo://reference/product-typesWhen to use simple, variable, grouped, or external products
woo://reference/order-statusesOrder status transitions and lifecycle diagram
woo://reference/payment-gatewaysAvailable payment gateways and their configuration options

Resources are read-only context that agents can fetch to understand WooCommerce data structures before making API calls.

Prompts

5 guided workflow prompts that orchestrate multi-step operations:

PromptArgsWhat it does
setup_variable_productproduct_name, attribute_name, variationsCreates a variable product end-to-end: attribute → terms → product → variations → publish
process_orderorder_idReviews an order's details and recommends the appropriate status transition
catalog_overview_(none)_Runs 5 tools in parallel to produce a store dashboard (products, orders, customers, categories, top sellers)
handle_refundorder_idGuides through refund processing: review order, select items, create refund, verify
moderate_reviews_(none)_Reviews pending product reviews and recommends approve/update/delete actions

Tool Annotations

Every tool is annotated with behavior hints so AI agents can make safe decisions:

AnnotationMeaningApplied to
readOnlyHintNo side effects, safe to call anytimeAll list_*, get_*, and report tools (46)
destructiveHintDeletes or removes dataAll delete_* tools + cleanup_orphaned_media + run_system_tool + batch_update_* (22)
idempotentHintSafe to retry, same result each timeAll update_* tools (15)

All tools also set openWorldHint: false — they only interact with WooCommerce, no external side effects.

Configuration

Environment Variables
VariableRequiredDescription
WORDPRESS_SITE_URLYesWordPress store URL (e.g. https://store.example.com)
WOOCOMMERCE_CONSUMER_KEYYesWooCommerce REST API consumer key (ck_...)
WOOCOMMERCE_CONSUMER_SECRETYesWooCommerce REST API consumer secret (cs_...)
WORDPRESS_USERNAMENoWordPress admin username (for media tools)
WORDPRESS_APP_PASSWORDNoWordPress Application Password (for media tools)
MCP_TRANSPORTNoSet to http for remote HTTP access (default: stdio)
PORTNoPlatform-provided port (Hostinger, Railway); overrides MCP_PORT
MCP_PORTNoHTTP server port (default: 3000)
MCP_AUTH_TOKENNo*Bearer token for HTTP auth (*required when MCP_TRANSPORT=http)
WOOCOMMERCE_MCP_READ_ONLYNoSet to true to block all write/delete operations (safe exploration mode)
Using a .env file

Instead of inlining credentials, point to a directory with a .env file:

{

"mcpServers": { "woocommerce": { "command": "npx", "args": ["-y", "@amitgurbani/mcp-server-woocommerce"], "cwd": "/path/to/your/project" } } }

Multiple Stores

Use different server names to manage multiple stores from one project:

{

"mcpServers": { "store-a": { "command": "npx", "args": ["-y", "@amitgurbani/mcp-server-woocommerce"], "env": { "WORDPRESS_SITE_URL": "https://store-a.com", "..." } }, "store-b": { "command": "npx", "args": ["-y", "@amitgurbani/mcp-server-woocommerce"], "env": { "WORDPRESS_SITE_URL": "https://store-b.com", "..." } } } }

Token Optimization

All tools support an optional fields param (comma-separated) to return only specific fields:

# Browsing products — just names and prices

fields: "id,name,price"

Stock check

fields: "id,name,stock_status,stock_quantity"

Order overview

fields: "id,number,status,total"

This reduces response size by 60-97%, keeping AI context windows focused and costs low.

Development

git clone https://github.com/AmitGurbani/mcp-server-woocommerce.git

cd mcp-server-woocommerce pnpm install

pnpm dev               # Watch mode

pnpm build # Build pnpm st

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

问 PopNx