woocommerce-mcp
MCP server by wppoland Community
woocommerce-mcp is a read-only MCP server for WordPress and WooCommerce. It lets AI assistants answer questions about a live store's products, orders, sales and blog posts.
Install woocommerce-mcp
Built from the published package, never by AI.
claude mcp add woocommerce-mcp -e WP_URL=YOUR_WP_URL -- npx -y @wppoland/woocommerce-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"woocommerce-mcp": {
"env": {
"WP_URL": "YOUR_WP_URL"
},
"args": [
"-y",
"@wppoland/woocommerce-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"woocommerce-mcp": {
"env": {
"WP_URL": "YOUR_WP_URL"
},
"args": [
"-y",
"@wppoland/woocommerce-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"woocommerce-mcp": {
"env": {
"WP_URL": "YOUR_WP_URL"
},
"args": [
"-y",
"@wppoland/woocommerce-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add woocommerce-mcp --env WP_URL=YOUR_WP_URL -- npx -y @wppoland/woocommerce-mcp{
"mcpServers": {
"woocommerce-mcp": {
"env": {
"WP_URL": "YOUR_WP_URL"
},
"args": [
"-y",
"@wppoland/woocommerce-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add woocommerce-mcp npx -y @wppoland/woocommerce-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the woocommerce-mcp block.
About
woocommerce-mcp is a small, read-only Model Context Protocol server for WordPress and WooCommerce. It lets Claude or any MCP client answer questions about a live store, covering products, orders, sales and blog posts. It talks to the existing WordPress and WooCommerce REST APIs, so no plugin needs to be installed on the store.
The server provides five tools: list_products, get_product, list_orders, sales_report and search_posts. WooCommerce keys with Read permission are needed for the store tools, while search_posts works without keys on public WordPress sites. It is published on npm as @wppoland/woocommerce-mcp and is aimed at store owners and developers who want AI assistants to read live store data. It is MIT licensed and maintained by WPPoland.
Written from the project's README and checked against it.
Tools it gives your assistant
list_productsLists or searches products by name, SKU, price, stock and permalink.get_productReturns full details for one product by its id.list_ordersLists recent orders, newest first, with an optional status filter.sales_reportShows sales totals for a week, month, last month or year.search_postsSearches published blog posts through the public WordPress REST API.
What you need
- WordPress site URL set in WP_URL
- WooCommerce REST API consumer key and secret with Read permission
- Node.js 18 or later
| Setting | Needed | What it is |
|---|---|---|
WP_Environment variable | Required | Base URL of the WordPress / WooCommerce store (HTTPS) |
WC_Environment variable, secret | Optional | WooCommerce REST API consumer key (Read permission) |
WC_Environment variable, secret | Optional | WooCommerce REST API consumer secret (Read permission) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- What were last month's WooCommerce sales?
- List the 5 most recent orders that are on hold.
- Find products in my store with low stock and their SKUs.
Good to know
- Read-only: it never creates, edits or deletes anything in the store.
- Store tools need WooCommerce REST API keys; search_posts does not.
- Keys should be sent over HTTPS and given Read access only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to woocommerce-mcp
All alternatives →Spree is an open-source headless commerce platform for B2B, wholesale and multi-vendor marketplace stores. Its built-in MCP server lets Claude, ChatGPT, Cursor or any MCP client manage a store in natural language.
Spree Commerce provides developer docs and agent skills that help AI coding agents build headless ecommerce on its APIs. It also connects agents to a documentation MCP server so they can search the latest docs.
Crossly MCP servers give an AI agent the Crossly APIs as tools. The seller package runs a reselling account, and the buyer package manages a shopper's cart, orders, wishlists and offers.
A command line tool for setting up Shopify Dev MCP server
Lets an AI agent design, fill with real store data, render and publish pages for a Store Builder site. It runs as a local MCP stdio server with no manual clicking needed.
Shopping agent: compares Amazon, Walmart, eBay, Best Buy, Target, Shopify; buys only with your OK
Compare with Spree Commerce: open-source B2B and marketplace ecommerce, Spree Commerce developer docs for AI agents or Crossly
woocommerce-mcp: common questions
Can woocommerce-mcp change products or orders in my store?
No. The source says the server is read-only and never creates, edits or deletes anything in the store.
Does the store need a plugin installed for woocommerce-mcp to work?
No. The source says it talks to the existing WordPress and WooCommerce REST endpoints and needs no plugin on the store.
Which tools work without WooCommerce keys?
According to the source, search_posts works without keys against any public WordPress site. The other four tools need WooCommerce keys.
How do I install woocommerce-mcp?
In Claude Code run claude mcp add woocommerce-mcp -e WP_URL=YOUR_WP_URL -- npx -y @wppoland/woocommerce-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is woocommerce-mcp the official server?
woocommerce-mcp is a community project by wppoland, not verified by a company domain.
Is woocommerce-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is woocommerce-mcp safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to woocommerce-mcp?
Similar MCP servers: Spree Commerce: open-source B2B and marketplace ecommerce, Spree Commerce developer docs for AI agents, Crossly, Dev MCP.
Does woocommerce-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
