npm @wppoland/woocommerce-mcpstdioMITupdated 10d ago
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.
Was kannst du mit woocommerce mcp machen?
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
Installation
woocommerce mcp zu deinem Client hinzufügen. Wähl den, den du nutzt.
claude mcp add woocommerce-mcp -- npx -y @wppoland/woocommerce-mcpcodex mcp add woocommerce-mcp -- npx -y @wppoland/woocommerce-mcpamp mcp add woocommerce-mcp -- npx -y @wppoland/woocommerce-mcp{
"mcpServers": {
"woocommerce-mcp": {
"command": "npx",
"args": [
"-y",
"@wppoland/woocommerce-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"woocommerce-mcp": {
"command": "npx",
"args": [
"-y",
"@wppoland/woocommerce-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"woocommerce-mcp","command":"npx","args":["-y","@wppoland/woocommerce-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"woocommerce-mcp": {
"command": "npx",
"args": [
"-y",
"@wppoland/woocommerce-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"woocommerce-mcp": {
"command": "npx",
"args": [
"-y",
"@wppoland/woocommerce-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"woocommerce-mcp": {
"command": "npx",
"args": [
"-y",
"@wppoland/woocommerce-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"woocommerce-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@wppoland/woocommerce-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"woocommerce-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@wppoland/woocommerce-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @wppoland/woocommerce-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
5 Tools
woocommerce mcp stellt einem verbundenen Agent 5 Tools bereit.
- list_products
- List / search products (name, sku, price, stock, permalink)
- get_product
- Full details for one product by id
- list_orders
- Recent orders, newest first, optional status filter
- sales_report
- Sales totals for a period (week / month / last_month / year)
- search_posts
- Search published blog posts (public WP REST API)
Score
75 / 100
Gut
- Dokumentation25/25
- Pflege19/25
- Vertrauen13/20
- Funktionsumfang6/15
- Installation12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 3 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 5 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Versionsverlauf
| Versionen | Veröffentlicht |
|---|---|
| 0.1.1Aktuell | 19. Juli 2026 |