Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
WooCommerce MCP
ภาพรวม
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Manage WooCommerce stores: products, orders, customers, coupons, webhooks, and analytics.
สามเสาของ PopNx MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
- เสียงผู้ใช้iยังไม่มีรีวิวรีวิวเปิดพร้อมระบบบัญชีในขั้นถัดไป
- ผลตรวจเบื้องต้นของเราiผ่าน 1 จาก 1 ข้อตรวจจากข้อมูลที่เปิดอยู่ ยังไม่ได้สแกนโค้ด
- การใช้งานiยังไม่ได้วัด★ –
ใช้ทำอะไรได้
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
- การเชื่อมต่อ: รันบนเครื่อง
- ช่องทาง (transport): 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": "ใส่ค่าของคุณ",
"WOOCOMMERCE_CONSUMER_KEY": "ใส่ค่าของคุณ",
"WOOCOMMERCE_CONSUMER_SECRET": "ใส่ค่าของคุณ",
"WOOCOMMERCE_READ_ONLY": "ใส่ค่าของคุณ",
"WOOCOMMERCE_REDACT_PII": "ใส่ค่าของคุณ",
"WOOCOMMERCE_TOOLS_DENY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add woocommerce --env WOOCOMMERCE_URL='ใส่ค่าของคุณ' --env WOOCOMMERCE_CONSUMER_KEY='ใส่ค่าของคุณ' --env WOOCOMMERCE_CONSUMER_SECRET='ใส่ค่าของคุณ' --env WOOCOMMERCE_READ_ONLY='ใส่ค่าของคุณ' --env WOOCOMMERCE_REDACT_PII='ใส่ค่าของคุณ' --env WOOCOMMERCE_TOOLS_DENY='ใส่ค่าของคุณ' -- npx -y @sadrmanesh/woocommerce-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"woocommerce": {
"command": "npx",
"args": [
"-y",
"@sadrmanesh/woocommerce-mcp"
],
"env": {
"WOOCOMMERCE_URL": "ใส่ค่าของคุณ",
"WOOCOMMERCE_CONSUMER_KEY": "ใส่ค่าของคุณ",
"WOOCOMMERCE_CONSUMER_SECRET": "ใส่ค่าของคุณ",
"WOOCOMMERCE_READ_ONLY": "ใส่ค่าของคุณ",
"WOOCOMMERCE_REDACT_PII": "ใส่ค่าของคุณ",
"WOOCOMMERCE_TOOLS_DENY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
หรือคัดลอกค่าตั้งเอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"woocommerce": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sadrmanesh/woocommerce-mcp"
],
"env": {
"WOOCOMMERCE_URL": "ใส่ค่าของคุณ",
"WOOCOMMERCE_CONSUMER_KEY": "ใส่ค่าของคุณ",
"WOOCOMMERCE_CONSUMER_SECRET": "ใส่ค่าของคุณ",
"WOOCOMMERCE_READ_ONLY": "ใส่ค่าของคุณ",
"WOOCOMMERCE_REDACT_PII": "ใส่ค่าของคุณ",
"WOOCOMMERCE_TOOLS_DENY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าที่ต้องใส่เอง
- Store origin, such as https://store.example.com
- WooCommerce REST API consumer key (ck_...)
- WooCommerce REST API consumer secret (cs_...)
WOOCOMMERCE_READ_ONLYenvRefuse every write tool. Set to false to allow writesWOOCOMMERCE_REDACT_PIIenvMask customer names, emails, phones, and addresses in resultsWOOCOMMERCE_TOOLS_DENYenvComma-separated tool names or patterns to hide, such as delete_*
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub sadrmanesh ซึ่งเป็นเจ้าของ repo
- … ยังไม่ตรวจ
ยังมีคนดูแล
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- … ยังไม่ตรวจ
มีสัญญาอนุญาต (license)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับตัวอื่นในหมวด ร้านค้าออนไลน์และรับเงินi
- ดาวมากกว่า 0% ของอีก 1755 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 80% ของอีก 1755 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1755 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
WooCommerce MCP ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: WOOCOMMERCE_URL, WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.0) เข้า registry 7 วันที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
ตัวที่ใช้แทนได้
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Stripe MCP
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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: truealways previews. - Signed approvals (optional). Set
WOOCOMMERCE_APPROVAL_SECRETand a confirm also needs a short-lived, single-use token signed for that exact preview by someone outside the agent's reach, for example withwoocommerce-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.
| Area | Read tools | Write tools |
|---|---|---|
| Stores | list_stores | |
| Products | list_products, search_products, get_product | create_product, update_product, bulk_update_products, bulk_adjust_prices |
| Orders | list_orders, get_order, list_order_notes | update_order_status, add_order_note, delete_order_note |
| Fulfillment | get_order_tracking | fulfill_order |
| Refunds | list_refunds, get_refund | create_refund |
| Customers | list_customers, get_customer, customer_orders, customer_segments | update_customer |
| Stock | get_stock, low_stock_report | update_stock |
| Coupons and sales | list_coupons, get_coupon, coupon_performance | create_coupon, update_coupon, delete_coupon, schedule_sale, end_sale |
| Webhooks | list_webhooks, get_webhook, list_webhook_events | create_webhook, update_webhook, delete_webhook |
| Shipping and taxes | list_shipping_zones, list_shipping_methods, list_tax_rates, list_tax_classes | |
| Analytics | get_store_summary, sales_analytics |
Every name starts with woocommerce_, for example woocommerce_customer_segments. That makes 47 tools: 28 reads and 19 writes.
Resources
| URI | Content |
|---|---|
woocommerce://stores | Configured stores |
woocommerce://stores/{store}/products/{id} | One product |
woocommerce://stores/{store}/orders/{id} | One order |
woocommerce://stores/{store}/events | Recent 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
- Read-only stores. A store accepts writes only when
WOOCOMMERCE_READ_ONLY=false(single store) or"readOnly": false(store list). Otherwise write tools fail withread_onlybefore contacting the store. - 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",
ตัดมาแค่ช่วงต้น อ่านต่อใน repo