
Woocommerce Mcp
io.github.wppoland由 GitHub 帳號 wppoland 發布v0.1.1更新於 Oct 24, 2026
Read-only MCP server for WordPress + WooCommerce products, orders, sales, and posts.
概覽
唯讀 MCP 伺服器,讓助理查詢 WordPress 與 WooCommerce 商店的商品、訂單、銷售資料和部落格文章。
- 可以做什麼
- 透過官方 WordPress 與 WooCommerce REST API 提供五個唯讀工具:list_products 和 get_product 取得商品目錄資訊,例如名稱、SKU、價格、庫存和永久連結;list_orders 依最新優先列出訂單,可依狀態篩選;sales_report 彙總一週、一個月、上個月或一年的銷售總額;search_posts 搜尋已發布的部落格文章。它不會在商店中建立、修改或刪除任何內容,也不需要安裝外掛。
- 適用情境
- 適合讓助理回答關於線上商店的問題,例如上個月的銷售額或最近處於保留狀態的訂單,同時不授予寫入權限。也適用於只需要搜尋部落格文章的公開 WordPress 網站,因為該工具不需要 WooCommerce 金鑰。
- 執行需求
- 以本機 Node.js 程序執行(Node 18+),可透過 npm 套件 @wppoland/woocommerce-mcp 安裝或從原始碼建置。需要環境變數 WP_URL 提供商店的 HTTPS 基礎網址,以及 WC_CONSUMER_KEY 和 WC_CONSUMER_SECRET 供 WooCommerce 工具使用;search_posts 不需要金鑰。需要能連線至該商店的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Woocommerce Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
woocommerce-mcp
A small, read-only Model Context Protocol server for WordPress + WooCommerce. It lets Claude (or any MCP client) answer questions about a live store — products, orders, sales, and blog posts — over the official REST APIs. No writes, no plugins to install on the store: it talks to the existing WordPress/WooCommerce REST endpoints.
Built and maintained by WPPoland, a senior WordPress developer working with WordPress since 2006. If you need this wired into a real store stack, we build WooCommerce ERP and API integrations and enterprise e-commerce architecture (headless, integrations, AI-ready data).
Tools
Everything is read-only. The server never creates, edits, or deletes anything in the store.
Install & build
From npm (package name is scoped - the unscoped woocommerce-mcp name is locked on the registry):
From source:
Configure
Set three environment variables:
Create the WooCommerce keys in WooCommerce → Settings → Advanced → REST API → Add key with Read permission. search_posts works without keys against any public WordPress site.
The keys are sent to your own store over HTTPS as REST query auth. Use HTTPS, and give the key Read access only.
Use with Claude Desktop / Claude Code
Add to your MCP client config (e.g. claude_desktop_config.json):
Then ask things like "What were last month's WooCommerce sales?" or "List the 5 most recent orders that are on hold."
Docs on wppoland.com
- WooCommerce MCP open source (read-only): release and ops guide - npm scope, registry, Glama, and how we ship updates without write tools
Articles (off-site)
Field notes published on DEV (not duplicates of wppoland.com pages):
- A read-only MCP server for WooCommerce: what AI agents actually need from a store
- Syncing a wholesaler's API into WooCommerce without overselling or melting the server
- Twelve months after migrating wppoland.com from WordPress to Astro on Cloudflare Pages
Show HN: discussion
Verify
Notes
- Node 18+ (uses the built-in
fetch). - Logs go to stderr so they never corrupt the stdio MCP protocol on stdout.
- API errors are surfaced with the store's message; credentials are never echoed.
License
MIT © WPPoland
來源:README.md,提交 0943ad2
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分