woocommerce-mcp MCP Server
Read-only MCP server for WordPress + WooCommerce products, orders, sales, and posts.
woocommerce-mcp scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 5 tools. Filed under AI and memory. GitHub shows 2 stars. Package registries report about 67 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 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
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. 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: 2 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": { "wppoland-woocommerce-mcp": { "command": "npx", "args": [ "-y", "@wppoland/woocommerce-mcp@0.1.1" ], "env": { "WP_URL": "", "WC_CONSUMER_KEY": "YOUR_WC_CONSUMER_KEY", "WC_CONSUMER_SECRET": "YOUR_WC_CONSUMER_SECRET" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
WP_URL | Required | Base URL of the WordPress / WooCommerce store (HTTPS) |
WC_CONSUMER_KEYSecret | Optional | WooCommerce REST API consumer key (Read permission) |
WC_CONSUMER_SECRETSecret | Optional | WooCommerce REST API consumer secret (Read permission) |
Tools5Tool docs quality grade C
All capabilitiesget_producttoolFull details for one product by id
list_orderstoolRecent orders, newest first, optional status filter
list_productstoolList / search products (name, sku, price, stock, permalink)
sales_reporttoolSales totals for a period (week / month / lastmonth / year)
search_poststoolSearch published blog posts (public WP REST API)
About
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
| Tool | What it does | Needs WooCommerce keys |
|---|---|---|
list_products | List / search products (name, sku, price, stock, permalink) | yes |
get_product | Full details for one product by id | yes |
list_orders | Recent orders, newest first, optional status filter | yes |
sales_report | Sales totals for a period (week / month / last_month / year) | yes |
search_posts | Search published blog posts (public WP REST API) | no |
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):
npm install -g @wppoland/woocommerce-mcp
# or: npx @wppoland/woocommerce-mcp
From source:
git clone https://github.com/wppoland/woocommerce-mcp.git
cd woocommerce-mcp
npm install
npm run build
Configure
Set three environment variables:
| Var | Required | Example |
|---|---|---|
WP_URL | yes | https://shop.example.com |
WC_CONSUMER_KEY | for wc_* tools | ck_xxx |
WC_CONSUMER_SECRET | for wc_* tools | cs_xxx |
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):
{
"mcpServers": {
"woocommerce": {
"command": "node",
"args": ["/absolute/path/to/woocommerce-mcp/dist/index.js"],
"env": {
"WP_URL": "https://shop.example.com",
"WC_CONSUMER_KEY": "ck_xxx",
"WC_CONSUMER_SECRET": "cs_xxx"
}
}
}
}
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
npm run check # builds, then asserts all five tools register (no network/credentials needed)
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
Frequently asked questions
What is woocommerce-mcp MCP Server?
Read-only MCP server for WordPress + WooCommerce products, orders, sales, and posts.
How do I install woocommerce-mcp 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-mcp MCP Server runs locally from the npm package @wppoland/woocommerce-mcp with the command npx -y @wppoland/woocommerce-mcp@0.1.1.
Is woocommerce-mcp MCP Server free and open source?
Yes. woocommerce-mcp 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-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for woocommerce-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does woocommerce-mcp MCP Server provide?
woocommerce-mcp MCP Server provides 5 tools, including get_product, list_orders, list_products, and sales_report. See the full tool list for descriptions and parameters.
How is woocommerce-mcp MCP Server's trust score calculated?
woocommerce-mcp MCP Server scores 68 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.