WooCommerce (human approval gate) MCP Server
Read a WooCommerce store (orders, products, customers) with PII masked; writes need human approval
WooCommerce (human approval gate) scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 1 tool. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "walidsadfi-evolurise-woocommerce-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server:v0.2.1" ], "env": { "WOO_URL": "", "WOO_CONSUMER_KEY": "YOUR_WOO_CONSUMER_KEY", "WOO_CONSUMER_SECRET": "YOUR_WOO_CONSUMER_SECRET", "WOO_ALLOW_WRITES": "false", "WOO_REDACT_PII": "true" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
WOO_URL | Required | Store URL, e.g. https://shop.example.com |
WOO_CONSUMER_KEYSecret | Required | WooCommerce REST API consumer key (read permission is enough for the read tools) |
WOO_CONSUMER_SECRETSecret | Required | WooCommerce REST API consumer secret |
WOO_ALLOW_WRITES | Optional | Set to true to let approved proposals be applied; default false (read-only) |
WOO_REDACT_PII | Optional | Mask customer emails, phones, names and street addresses; default true |
Tools1Tool docs quality grade D
All capabilitiessearch_customerstoolapplyproposal — refused unless approved and WOOALLOWWRITES=true
About
woocommerce-mcp-server
An MCP server that lets an AI agent work with a WooCommerce store — read everything it needs, and change nothing without a human saying yes.
Connect Claude Desktop, Cursor, or your own agent to a store and ask: "Which products are about to run out?", "Where is order 500?", "How did we do this month vs last month?". When the agent wants to change something — set an order to completed, refund 19 €, drop a price — it files a proposal with a reason. You approve it from the CLI or an admin endpoint the agent has no token for. Only then can it be applied.
agent → propose_refund(order 500, 19.00, "Cap arrived damaged") status: pending
human → woocommerce-mcp-server approve 3f9c status: approved
agent → apply_proposal(3f9c) POST /orders/500/refunds ✓
Built after wiring agents into client stores: the useful part was never "can the model call the API", it was what the model is allowed to see and do, and who signs off.
Tools
| Read (always on) | Write (proposal → human approval → apply) |
|---|---|
store_info versions, currency, enabled gateways | propose_order_note private or customer-visible |
list_products search / sku / status / stock / category | propose_order_status |
get_product by id or SKU, with variations | propose_stock_update product or variation |
low_stock_products honours each product's own threshold | propose_price_update regular / sale |
list_orders status, dates, customer, search | propose_refund manual or via gateway |
get_order with notes | list_proposals |
search_customers | apply_proposal — refused unless approved and WOO_ALLOW_WRITES=true |
sales_summary week / month / last_month / year / range | |
list_coupons validity, usage, expiry flags |
Every tool carries MCP annotations (readOnlyHint, destructiveHint) so clients can show the right confirmation UI.
Safety defaults
- Read-only unless
WOO_ALLOW_WRITES=true. Proposals are still recorded, so you can run it read-only and review what the agent would have done. - PII masked: emails →
m***@example.com, phones →***78, names → initials, street lines and IPs dropped. City, postcode and country stay for shipping questions.WOO_REDACT_PII=falseto disable. - Separate approver identity: in HTTP mode the agent uses
MCP_HTTP_TOKEN, approvals needMCP_ADMIN_TOKEN, and the server refuses to start if they're equal. - Idempotent gate: a proposal is applied at most once; its result or error is stored with it.
- Input is validated with zod before any request reaches the store.
Install
Create a REST API key in WooCommerce → Settings → Advanced → REST API (Read permission is enough for read-only use). Then run the server one of two ways, neither of which needs a clone:
# Node 20+, straight from GitHub (builds itself on first run)
npx -y github:walidsadfi-evolurise/woocommerce-mcp-server --help
# Docker, amd64 and arm64
docker run --rm ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server --help
Claude Desktop / Cursor (stdio)
{
"mcpServers": {
"woocommerce": {
"command": "npx",
"args": ["-y", "github:walidsadfi-evolurise/woocommerce-mcp-server"],
"env": {
"WOO_URL": "https://shop.example.com",
"WOO_CONSUMER_KEY": "ck_…",
"WOO_CONSUMER_SECRET": "cs_…"
}
}
}
}
With Docker instead of Node, keep the same env block and use:
"command": "docker",
"args": ["run", "-i", "--rm", "-v", "woo-proposals:/data",
"-e", "WOO_URL", "-e", "WOO_CONSUMER_KEY", "-e", "WOO_CONSUMER_SECRET",
"ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server", "stdio"]
Server mode (Streamable HTTP)
cp .env.example .env # fill it in, with two different tokens
set -a && . ./.env && set +a
npx -y github:walidsadfi-evolurise/woocommerce-mcp-server http --port 3333
# agent: POST http://host:3333/mcp Authorization: Bearer $MCP_HTTP_TOKEN
# human: GET http://host:3333/proposals Authorization: Bearer $MCP_ADMIN_TOKEN
# POST http://host:3333/proposals/<id>/approve (or /reject)
Docker:
docker run -d --env-file .env -v woo-proposals:/data -p 3333:3333 ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server
Reviewing proposals from the terminal
$ woocommerce-mcp-server proposals
3f9c1a2e pending refund Refund 19.00 on order #500 (manual): Cap arrived damaged
reason: Photo received from customer, cap crushed in transit
$ woocommerce-mcp-server approve 3f9c
approved: Refund 19.00 on order #500 (manual): Cap arrived damaged
woocommerce-mcp-server above stands for whichever way you run it: npx -y github:walidsadfi-evolurise/woocommerce-mcp-server approve 3f9c, or docker run --rm -v woo-proposals:/data ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server approve 3f9c. The approver commands only read the proposals file: no store credentials are needed in the reviewer's shell.
Proposals live in ~/.woocommerce-mcp-server/proposals.json by default (/data/proposals.json in the Docker image), so the server started by your MCP client and the terminal where you approve see the same file whatever their working directories. Set WOO_PROPOSALS_FILE to move it. The file is plain JSON, so the approver can also be a different process, a cron that posts to Slack, or a tiny back-office page.
Compared with the official WooCommerce MCP (developer preview)
WooCommerce now exposes its own MCP surface through the WordPress Abilities API plus the separate MCP Adapter plugin. Both are legitimate; they solve different problems.
| Official WooCommerce MCP (preview) | woocommerce-mcp-server | |
|---|---|---|
| Runs | Inside WordPress (plugin + WP-CLI for stdio, HTTP via a Node proxy) | Outside the site, against the REST API — nothing to install on the store |
| Auth | WordPress user + Application Password (HTTP), --user with WP-CLI (stdio) | WooCommerce REST API key, Read permission is enough for read-only use |
| Tools | 3 generic tools (discover, get-info, execute ability) over product/order abilities | 9 read tools shaped for store questions (low_stock_products, sales_summary…) + 5 kinds of write proposal |
| Writes | Direct: create/update/delete products, update order status, add notes | Proposal → human approval → apply, disabled unless WOO_ALLOW_WRITES=true |
| Personal data | Returned as-is; the docs advise a dedicated user because order and customer operations can expose personal data | Redacted by default before it reaches the model (emails, phones, names, street lines, IPs) |
| Approver identity | Same credentials as the agent | Separate admin token; the server refuses to start if both tokens are equal |
| Status | Developer preview — breaking changes expected, old /wp-json/woocommerce/mcp endpoint removed in 11.3 | Stable API, tested against a fake WooCommerce REST API in CI |
Use the official one when you want the Abilities ecosystem and are fine giving the agent a WordPress login. Use this one when the agent must not hold admin rights, someone has to sign off on every change, and customer data should stay out of the context window. They can run side by side.
Development
npm ci
npm test # vitest against an in-process fake WooCommerce API
npm run lint && npm run typecheck && npm run build
Tests spin up a fake WooCommerce REST API (test/mock-woo.ts) and talk to the server through the real MCP client over in-memory and HTTP transports, so the suite covers transport, validation, redaction and the whole proposal lifecycle without touching a store.
Roadmap
- Resources:
woo://orders/{id}for clients that prefer resources over tools - Prompts: daily store briefing, "handle this support ticket"
- Shipping zones (read)
- Webhook listener → MCP notifications on new orders
License
MIT — see LICENSE. Built by Walid Sadfi, Forward Deployed Engineer · agents IA & WooCommerce. See also woocommerce-agent-ready, which audits a store for the agentic-commerce protocols (Store API, MCP, structured data).
Version française
Un serveur MCP qui permet à un agent IA de travailler avec une boutique WooCommerce : lire tout ce dont il a besoin, et ne rien modifier sans qu'un humain dise oui.
Branchez Claude Desktop, Cursor ou votre propre agent sur une boutique et demandez : « Quels produits vont être en rupture ? », « Où en est la commande 500 ? », « Comment s'est passé le mois par rapport au précédent ? ». Quand l'agent veut modifier quelque chose (passer une commande en terminée, rembourser 19 €, baisser un prix), il dépose une proposition motivée. Vous l'approuvez depuis le terminal ou un endpoint admin dont l'agent n'a pas le token. Seulement ensuite, elle peut être appliquée.
- Lecture seule par défaut (
WOO_ALLOW_WRITES=false) : les propositions sont tout de même enregistrées, idéal pour observer ce que l'agent aurait fait. - Données personnelles masquées par défaut : emails, téléphones, noms et adresses postales ; la ville et le pays restent pour les questions de livraison.
- Deux identités en mode HTTP : token agent et token approbateur, obligatoirement différents.
- Une proposition s'applique au plus une fois, avec son résultat ou son erreur archivé.
- Transports stdio et HTTP, image Docker, tests contre une fausse API WooCommerce.
npx -y github:walidsadfi-evolurise/woocommerce-mcp-server # stdio, pour Claude Desktop / Cursor
npx -y github:walidsadfi-evolurise/woocommerce-mcp-server http # mode serveur
npx -y github:walidsadfi-evolurise/woocommerce-mcp-server proposals # relire ce que l'agent propose
npx -y github:walidsadfi-evolurise/woocommerce-mcp-server approve <id>
Ou avec Docker : docker run -i --rm -v woo-proposals:/data -e WOO_URL -e WOO_CONSUMER_KEY -e WOO_CONSUMER_SECRET ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server stdio.
Vous voulez ça branché sur votre boutique, avec un process de validation qui colle à votre équipe et un point de mesure ? Parlons-en sur Malt.
Frequently asked questions
What is WooCommerce (human approval gate) MCP Server?
Read a WooCommerce store (orders, products, customers) with PII masked; writes need human approval
How do I install WooCommerce (human approval gate) MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. WooCommerce (human approval gate) MCP Server runs locally from the Docker image ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server:v0.2.1 with the command docker run -i --rm ghcr.io/walidsadfi-evolurise/woocommerce-mcp-server:v0.2.1.
Is WooCommerce (human approval gate) MCP Server free and open source?
Yes. WooCommerce (human approval gate) MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does WooCommerce (human approval gate) MCP Server support remote (HTTP) connections?
No remote endpoint is listed for WooCommerce (human approval gate) MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does WooCommerce (human approval gate) MCP Server provide?
WooCommerce (human approval gate) MCP Server provides 1 tool: search_customers. See the full tool list for descriptions and parameters.
How is WooCommerce (human approval gate) MCP Server's trust score calculated?
WooCommerce (human approval gate) MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.