WooCommerce MCP Server
Provides tools for managing a WooCommerce store, including products, variations, inventory, orders, refunds, customers, coupons, and sales reports via the WooCommerce REST API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WooCommerce MCP ServerShow me all orders that are pending payment."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WooCommerce MCP Server
Connect WooCommerce to Claude, ChatGPT and Copilot: products, variations, inventory, orders, refunds, customers and reports as MCP tools. Powered by AnythingMCP.
WooCommerce MCP Server gives Claude, ChatGPT, Copilot and Cursor 49 tools for WooCommerce: products, variations, inventory, orders, refunds, customers and reports. 30 tools read and 19 can change data. It runs on AnythingMCP: one click on AnythingMCP Cloud, or self-hosted with Docker. Credentials are stored encrypted and every call is audited.
Last verified: 2026-09-26 against WooCommerce 11.1.2 on WordPress 7.1.2 (a local test shop) (38 of the 40 API tools called through MCP, reads and writes, no errors).
Adapter synced: 2026-09-26
Maintained by @keysersoft, an AnythingMCP maintainer. Built on AnythingMCP by helpcode.ai.
Quick start (AnythingMCP Cloud)
Sign in at cloud.anythingmcp.com and open the install link.
Enter
WOOCOMMERCE_URL,WOOCOMMERCE_CONSUMER_KEY,WOOCOMMERCE_CONSUMER_SECRET(see Authentication).Copy the URL of your MCP server under MCP Servers and add it to your AI client (below).
AnythingMCP Cloud is the same open-source code, operated by helpcode.ai in Frankfurt, Germany.
Related MCP server: WooCommerce MCP Server
Self-hosted (Docker)
Needs Docker 24+, openssl and Node 18+.
git clone https://github.com/keysersoft/woocommerce-mcp-server.git
cd woocommerce-mcp-server
./scripts/install.shinstall.sh writes .env with fresh secrets, starts AnythingMCP, creates the first admin, installs the connector if WOOCOMMERCE_URL and WOOCOMMERCE_CONSUMER_KEY and WOOCOMMERCE_CONSUMER_SECRET are set in .env and creates an MCP API key. Without credentials it prints the install link instead: http://localhost:3000/connectors/store?install=woocommerce. Then check the whole chain:
npm install && node scripts/smoke.mjsConnect Claude, ChatGPT, Copilot or Cursor
Claude (claude.ai, Desktop, mobile): Customize → Connectors → Add custom connector, paste your MCP server URL and sign in. Claude connects from Anthropic's cloud, so the URL must be public HTTPS: your AnythingMCP Cloud URL, or your own instance behind TLS.
Claude Code:
claude mcp add --transport http woocommerce-mcp-server http://localhost:4000/mcp --header "X-API-Key: <MCP_API_KEY>"Cursor (
.cursor/mcp.json) and VS Code / GitHub Copilot (.vscode/mcp.json, keyserversinstead ofmcpServers, plus"type": "http"):{ "mcpServers": { "woocommerce-mcp-server": { "url": "http://localhost:4000/mcp", "headers": { "X-API-Key": "<MCP_API_KEY>" } } } }ChatGPT: add the public HTTPS URL as a connector (app) in ChatGPT's settings. A
localhostURL does not work there.
Tools
49 tools, generated from adapter/woocommerce.json. read tools cannot change anything in the source system.
Tool | What it does | Access |
| Search/list products with rich filters — keyword ( | read |
| Get a single product by id, including all fields: name, slug, description, short_description, sku, price/regular_price/sale_price, stock_quantity,… | read |
| Create a product. | write |
| Partial-update a product by id. | write |
| Move a product to trash, or pass | write |
| Bulk create / update / delete products in a single call. | write |
| List variations for a variable product. | read |
| Update a single variation of a variable product — price, SKU, stock, attributes. | write |
| List product categories. | read |
| Create a product category. | write |
| List product tags. | read |
| List the global attribute definitions configured for the store (e.g. | read |
| Find products that are out of stock OR have | read |
| Convenience wrapper over | write |
| List orders with status, date, customer, and product filters. | read |
| Get a single order by id — full payload incl. | read |
| Set an order's status (e.g. | write |
| Add a note to an order. | write |
| List refunds attached to an order. | read |
| Create a refund against an order. | write |
| List customers. | read |
| Get a customer by id (includes billing/shipping addresses, order count, total spent, last_order info). | read |
| Sales report for a date window or named period. | read |
| Top-selling products for a date window or named period. | read |
| Coupon counts grouped by discount type (percent | fixed_cart | fixed_product). | read |
| Counts of orders grouped by status (pending, processing, completed, ...). | read |
| Partial-update a customer by id. | write |
| Permanently delete a customer. | write |
| Create a customer account. | write |
| Create an order. | write |
| Move an order to trash, or pass | write |
| List notes attached to an order (both internal admin notes and customer-visible notes). | read |
| Retrieve a single order note by id. | read |
| Delete an order note. | write |
| List discount coupons in the store. | read |
| Create a discount coupon. | write |
| Get a single coupon by id, including full usage stats ( | read |
| Partial-update a coupon. | write |
| Move a coupon to trash, or pass | write |
| Reference card: valid order status slugs. | read |
| Reference card: valid | read |
| Reference card: valid | read |
| Reference card: valid | read |
| Skill recipe: find out-of-stock and low-stock products, cross-reference with demand (top sellers), and bulk-bump stock via batch update. | read |
| Skill recipe: optimise a product's name, description, slug, and Yoast/Rank Math SEO meta. | read |
| Skill recipe: build upsell + cross-sell relationships for a product based on category, price tier, and tags. | read |
| Skill recipe: identify products visible in the catalogue but not selling, with an honest framing of what WooCommerce REST can and cannot measure. | read |
| Skill recipe: process stuck orders (pending / on-hold / failed) — chase or cancel based on age and reason. | read |
| Skill recipe: build a one-page KPI snapshot — revenue, AOV, top sellers, pipeline state, coupon mix. | read |
Example prompts
Which products are low on stock, and how many of each did we sell last month?
Show order 1042 with its items and the customer's address.
Which orders are still "processing" after three days?
Put order 1042 on hold and add a note that the customer called about the delivery date. (write)
Refund 10 EUR on order 1042 for a scratched door. (write)
What were our sales and order totals last week?
More in examples/prompts.md.
Authentication
This connector talks to the WooCommerce REST API v3 (/wp-json/wc/v3). Works against any WordPress + WooCommerce site. HTTPS required.
Setup
WOOCOMMERCE_URL— site root (e.g.https://shop.example.com). Do NOT include/wp-json; the adapter appends/wp-json/wc/v3.WOOCOMMERCE_CONSUMER_KEY+WOOCOMMERCE_CONSUMER_SECRET— generate in WP admin → WooCommerce → Settings → Advanced → REST API → Add key. Use Read/Write for full functionality.
HTTPS is mandatory: on HTTP, WC requires OAuth1 instead of Basic Auth (the connector only does Basic Auth).
Pagination
List endpoints default to per_page=10, max 100. Pass explicit per_page + iterate page for full catalog scans. Total counts are in X-WP-Total / X-WP-TotalPages headers (not returned in the JSON body).
Bulk writes
For ≥ 3 product updates use woocommerce_batch_update_products (one call, up to 100 entries). Don't fan out single update_product calls.
SEO meta (Yoast / Rank Math) on products
Meta lives in the meta_data array on the product. Set it via woocommerce_update_product:
"meta_data": [
{ "key": "_yoast_wpseo_metadesc", "value": "..." },
{ "key": "_yoast_wpseo_focuskw", "value": "..." }
]Rank Math: rank_math_description, rank_math_focus_keyword, rank_math_title. Full reference: wordpress_list_seo_meta_keys (sibling WordPress connector).
Multi-step workflows
For inventory optimisation, product SEO, upsell/cross-sell, low-conversion analysis, abandoned-order triage, or KPI snapshots → call the dedicated woocommerce_skill_* tool. It returns the step-by-step playbook on demand. Don't preload that knowledge here.
Enum reference cards
Valid values for order status / product type / stock status / report period / payment methods → call woocommerce_list_*_options.
Permissions cheat-sheet
All list / get / reports: Read-only key.
Product create/update/delete, order update, refund, batch: Read/Write key.
Customer create / coupon create: Read/Write key.
Security
Read or write is your choice. 30 of the tools only read;
woocommerce_create_product,woocommerce_update_product,woocommerce_delete_product,woocommerce_batch_update_products,woocommerce_update_product_variation,woocommerce_create_product_category,woocommerce_update_stock,woocommerce_update_order_status,woocommerce_add_order_note,woocommerce_create_refund,woocommerce_update_customer,woocommerce_delete_customer,woocommerce_create_customer,woocommerce_create_order,woocommerce_delete_order,woocommerce_delete_order_note,woocommerce_create_coupon,woocommerce_update_coupon,woocommerce_delete_couponcan change data. Assign the connector to an MCP server whose role whitelists only the tools you want, and the rest are invisible to that client.Credentials are encrypted with AES-256-GCM and never shown to the model.
Response mapping drops or reshapes fields per tool before they reach the model, e.g. bank details or personal data.
Audit log: every call is recorded with input, output, duration and status, in your own database when self-hosted.
SSO, RBAC and SCIM are included in the self-hosted build.
FAQ
Is there a WooCommerce MCP server?
Yes, this one. It connects the WooCommerce REST API v3 to Claude, ChatGPT and Copilot through AnythingMCP: 49 tools for products, variations, stock, orders, refunds, customers, coupons and reports, plus a few built-in playbooks.
What do I need to connect my shop?
The shop's URL and a REST API key: WordPress admin → WooCommerce → Settings → Advanced → REST API → Add key. Choose Read for a read-only setup, Read/Write if the AI may change things. The site must use HTTPS, because WooCommerce only accepts the key over HTTPS.
Can the AI change my shop?
Only if you let it. Many tools write (products, stock, orders, refunds, coupons, customers). Create the key with Read permission, or give the MCP server a role that whitelists only the read tools.
Does it work with ChatGPT and Copilot?
Yes. The same MCP server works in ChatGPT (with a public HTTPS URL such as AnythingMCP Cloud), GitHub Copilot in VS Code, Cursor and Claude Code.
My shop is on a local or staging server. Does that work?
Yes, with a self-hosted AnythingMCP that can reach it; add the host to SSRF_ALLOWED_HOSTS.
Troubleshooting
Problem | Fix |
| The credentials are wrong or lack rights. Re-enter them on the connector page; the import runs a test call and shows the result. |
Tools missing in the AI client | The connector is not assigned to the MCP server the client uses. Check MCP Servers, then run |
The host is on your internal network | Self-host AnythingMCP on that network and add the hostname to |
Works locally, fails on AnythingMCP Cloud | The system must be reachable from the internet with a valid TLS certificate. |
Related
ecommerce-mcp-server: E-commerce MCP server: connect Amazon, eBay, WooCommerce, Shopware, Kaufland, OTTO and 7 more to Claude & ChatGPT.
shopware-mcp-server: Shopware 6 MCP server: let Claude & ChatGPT search your Shopware catalog: products, categories and cross-sells (Store API).
magento-mcp-server: Magento MCP server: Claude & ChatGPT manage products, stock, orders and customers in Magento 2 / Adobe Commerce.
AnythingMCP: the open-source MCP server and gateway this repository is built on.
License
AGPL-3.0-only. The adapter definition in adapter/ comes from AnythingMCP (AGPL-3.0).
This server cannot be deployed
Maintenance
Related MCP Connectors
Run storefronts, listings, orders, content, fulfillment, and analytics through AI.
An AI agent that runs your online business: products, orders, customers, email, and sites.
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
Manage WordPress blogs and WooCommerce shops from Claude, ChatGPT, Cursor and other MCP apps.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables AI assistants to manage WordPress content, design, SEO, WooCommerce, and more through natural language commands.10014 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage WooCommerce stores, including products, orders, customers, categories, coupons, attributes, variations, order notes, refunds, reports, payment gateways, meta data, reviews, settings, data, posts, and system status through natural language.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with WooCommerce stores via the WooCommerce REST API, supporting operations like listing products, orders, and customers.7 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage business operations including invoicing, WooCommerce syncing, expense tracking, POS, inventory, and team management through natural language.3 npm2MIT