mcp-server-woocommerce
MCP server for managing WooCommerce stores through AI assistants like Claude. Provides 101 tools covering products, orders, customers, coupons, shipping, taxes, webhooks, settings, reports, and more.
Power your agent
पब्लिशर की अपनी कमांड। PlugMCP एंडपॉइंट नहीं।
Host a copy with our keys and logs.
npx -y @amitgurbani/[email protected]Claude Code में लोकल कमांड के लिए इंस्टॉल लिंक नहीं है। नीचे दी गई कमांड कॉपी करें और टर्मिनल में चलाएँ।
claude mcp add io.github.amitgurbani-mcp-server-woocommerce -- npx -y @amitgurbani/mcp-server-woocommerce@1.2.0टर्मिनल में चलाएँ।
{ "mcpServers": { "io.github.amitgurbani-mcp-server-woocommerce": { "command": "npx", "args": [ "-y", "@amitgurbani/[email protected]" ] } }}claude_desktop_config.json
रिमोट URL या आपकी मशीन पर कमांड? दोनों इंस्टॉल में क्या अंतर है
PlugMCP पर चलाएँ
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
लॉन्चपब्लिशर से
MCP server for managing WooCommerce stores through AI assistants like Claude. Provides 101 tools covering products, orders, customers, coupons, shipping, taxes, webhooks, settings, reports, and more.
101 tools for WooCommerce store management with field filtering and guided prompts.
1. Get WooCommerce API keys
In your WordPress admin: WooCommerce > Settings > Advanced > REST API > Add key with Read/Write permissions.
2. Add to your AI tool
No install needed — runs directly via npx:
Add to your project's .mcp.json:
{
"mcpServers": {
"woocommerce": {
"command": "npx",
"args": ["-y", "@amitgurbani/mcp-server-woocommerce"],
"env": {
"WORDPRESS_SITE_URL": "https://store.example.com",
"WOOCOMMERCE_CONSUMER_KEY": "ck_your_key",
"WOOCOMMERCE_CONSUMER_SECRET": "cs_your_secret"
}
}
}
}
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"woocommerce": {
"command": "npx",
"args": ["-y", "@amitgurbani/mcp-server-woocommerce"],
"env": {
"WORDPRESS_SITE_URL": "https://store.example.com",
"WOOCOMMERCE_CONSUMER_KEY": "ck_your_key",
"WOOCOMMERCE_CONSUMER_SECRET": "cs_your_secret"
}
}
}
}
Install in Cursor (one-click) or add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"woocommerce": {
"command": "npx",
"args": ["-y", "@amitgurbani/mcp-server-woocommerce"],
"env": {
"WORDPRESS_SITE_URL": "https://store.example.com",
"WOOCOMMERCE_CONSUMER_KEY": "ck_your_key",
"WOOCOMMERCE_CONSUMER_SECRET": "cs_your_secret"
}
}
}
}
4. Start using it — ask your AI assistant things like:
"List all products that are out of stock" "Create a 10% off coupon for orders over $50" "Show me this week's sales report"
fields param to return only specific fields, reducing response size by 60-97%readOnlyHint, destructiveHint, and idempotentHint on all 101 tools for safe agent behaviorThis server connects to a LIVE WooCommerce store. Every create, update, and delete operation affects real data. Use caution, especially on production stores.
WOOCOMMERCE_MCP_READ_ONLY=true to block all write operations — only list, get, and report tools will work.Most delete operations move items to trash (recoverable). However, these are permanent and cannot be undone:
Some operations affect more than the single item being changed:
batch_update_attribute_terms, batch_update_variations) can create, update, AND delete in a single callFor maximum safety, create WooCommerce API keys with only the permissions you need:
The server exposes 7 MCP resources that provide schema references and guides for AI agents:
Resources are read-only context that agents can fetch to understand WooCommerce data structures before making API calls.
5 guided workflow prompts that orchestrate multi-step operations:
Every tool is annotated with behavior hints so AI agents can make safe decisions:
All tools also set openWorldHint: false — they only interact with WooCommerce, no external side effects.
.env fileInstead of inlining credentials, point to a directory with a .env file:
{
"mcpServers": {
"woocommerce": {
"command": "npx",
"args": ["-y", "@amitgurbani/mcp-server-woocommerce"],
"cwd": "/path/to/your/project"
}
}
}
Use different server names to manage multiple stores from one project:
{
"mcpServers": {
"store-a": {
"command": "npx",
"args": ["-y", "@amitgurbani/mcp-server-woocommerce"],
"env": { "WORDPRESS_SITE_URL": "https://store-a.com", "..." }
},
"store-b": {
"command": "npx",
"args": ["-y", "@amitgurbani/mcp-server-woocommerce"],
"env": { "WORDPRESS_SITE_URL": "https://store-b.com", "..." }
}
}
}
All tools support an optional fields param (comma-separated) to return only specific fields:
# Browsing products — just names and prices
fields: "id,name,price"
# Stock check
fields: "id,name,stock_status,stock_quantity"
# Order overview
fields: "id,number,status,total"
This reduces response size by 60-97%, keeping AI context windows focused and costs low.
git clone https://github.com/AmitGurbani/mcp-server-woocommerce.git
cd mcp-server-woocommerce
pnpm install
pnpm dev # Watch mode
pnpm build # Build
pnpm start # Run directly
pnpm test # Run unit tests
pnpm test:integration # Run integration tests (requires Docker)
pnpm test:watch # Run unit tests in watch mode
pnpm inspector # Debug with MCP Inspector
Integration tests run against a real WordPress 6.9.4 + WooCommerce 10.5.3 instance via @wordpress/env. Prerequisite: Docker. The test environment starts automatically when you run pnpm test:integration.
docker build -t mcp-server-woocommerce .
docker run \
-e WORDPRESS_SITE_URL=https://store.example.com \
-e WOOCOMMERCE_CONSUMER_KEY=ck_your_key \
-e WOOCOMMERCE_CONSUMER_SECRET=cs_your_secret \
mcp-server-woocommerce
For accessing your WooCommerce tools from Claude mobile, ChatGPT, or other remote clients, run the server in HTTP mode:
MCP_TRANSPORT=http MCP_AUTH_TOKEN=your-secret-token node build/index.js
Or with Docker:
docker run -p 3000:3000 \
-e MCP_TRANSPORT=http \
-e MCP_AUTH_TOKEN=your-secret-token \
-e WORDPRESS_SITE_URL=https://store.example.com \
-e WOOCOMMERCE_CONSUMER_KEY=ck_your_key \
-e WOOCOMMERCE_CONSUMER_SECRET=cs_your_secret \
mcp-server-woocommerce
Either MCP_AUTH_TOKEN or AUTH0_DOMAIN + AUTH0_AUDIENCE + MCP_SERVER_URL is required.
Deployment guide: See docs/DEPLOYMENT.md for step-by-step instructions for Railway ($0/mo), Fly.io ($0/mo with scale-to-zero), and Docker deployments.
Claude Desktop / Code: Use bearer token auth — add the server URL and Authorization: Bearer <token> header to your config.
Claude.ai web / mobile: Requires OAuth 2.1 via Auth0 (free tier). See the deployment guide for setup instructions.
Default mode remains stdio — existing npx users are unaffected.
MIT
WooCommerce is a registered trademark of Automattic Inc. This project is not affiliated with, endorsed by, or sponsored by Automattic Inc.
101 tools for WooCommerce store management with field filtering and guided prompts.
{ "mcpServers": { "io.github.amitgurbani-mcp-server-woocommerce": { "command": "npx", "args": [ "-y", "@amitgurbani/[email protected]" ] } }}टूल
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
इस रिकॉर्ड में कोई ज़रूरी एनवायरनमेंट वेरिएबल दर्ज नहीं है।
WooCommerce MCP Server stdio पर लोकल चलता है।
पिछली जाँच 2026-11-08 को हुई। 101 tools for WooCommerce store management with field filtering and guided prompts.