woocommerce-mcp
Provides tools for interacting with a WooCommerce store through the WooCommerce REST API, including read operations by default and optional write operations when enabled.
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-mcpWhat are my latest orders?"
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
Private MCP connector for one WooCommerce store, selected as the merchant tool for the project brief. It is intended for an Agent Studio-compatible MCP host; registration in Agent Studio and a real-store pilot are not yet complete.
Deliverable | Source of truth | Verification |
API-key authentication |
|
|
Read and optional write tools |
|
|
Rate-limit and retry handling |
|
|
MCP tool specification |
|
|
Agent capabilities and limits |
|
|
What it is
The connector exposes WooCommerce REST API operations through MCP. It uses a consumer key and consumer secret with HTTP Basic authentication. Read tools are available by default; write tools are registered only when WOO_ALLOW_WRITES=true.
Related MCP server: WooCommerce MCP Server
Quick start
Install and build:
npm ci
npm run buildLocal stdio
Set the variables from .env.example in the process environment, then run:
npm startHosted HTTP
Start the server with:
npm run start:httpIt exposes GET /healthz and POST /mcp. Each MCP request must provide x-woo-store-url, x-woo-consumer-key, and x-woo-consumer-secret. Credentials are passed per request and are not stored server-side. Set PORT to change the default port 3000.
Docker
docker build -t woocommerce-mcp .
docker run --rm -p 3000:3000 \
-e WOO_STORE_URL=https://your-store.example.com \
-e WOO_CONSUMER_KEY=ck_xxxxxxxx \
-e WOO_CONSUMER_SECRET=cs_xxxxxxxx \
woocommerce-mcpThe Docker image runs the hosted HTTP entry point.
Demo and checks
npm run demo builds the project and runs a scripted flow against the built-in mock store; it needs no credentials. npm run demo:store starts only that mock store, defaulting to port 8080, so it can be used by an external MCP client. Set PORT if that port is occupied.
npm test
npm run spec
npm run demo
npm run demo:storeConfiguration
Variable | Required | Default | Purpose |
| yes for stdio | none | WooCommerce store URL; HTTPS is required except configured local HTTP |
| yes for stdio | none | WooCommerce REST API consumer key |
| yes for stdio | none | WooCommerce REST API consumer secret |
| no |
| Register the four write tools when |
| no | unset | Allow HTTP only for |
| no |
| Minimum interval between store requests |
| no |
| Maximum retries for retryable requests |
| no |
| Per-call request deadline in milliseconds |
Hosted HTTP receives store credentials through request headers instead of these three credential variables. PORT controls the HTTP and mock-store listeners and defaults to 3000 for HTTP or 8080 for the mock store.
Limitations and next steps
Agent Studio registration has not yet been done. A real-store pilot has not yet been done. The demos use a mock store. The connector does not provide deletes, refunds, payments, webhooks, analytics, or bulk operations; see docs/CONNECTOR.md for the complete tool contract.
This server cannot be deployed
Maintenance
Related MCP Connectors
WooCommerce MCP Pack — wraps the WooCommerce REST API v3
Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.
Manage WordPress blogs and WooCommerce shops from Claude, ChatGPT, Cursor and other MCP apps.
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceWooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON-RPC 2.0 protocol.103MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with WooCommerce stores through the WordPress REST API, supporting comprehensive management of products, orders, customers, shipping, taxes, discounts, and store configuration.-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with WordPress sites through the WordPress REST API, dynamically exposing all routes as MCP tools for content management and site configuration.-
- AlicenseBqualityCmaintenanceEnables MCP-compatible clients to securely operate a WordPress site through a signed REST API, managing plugins, content, themes, menus, media, users, WooCommerce, Elementor, audits, and allowlisted WP-CLI commands.5836 npmMIT