Changelog¶
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¶
Added¶
- An optional Docker Hub job in the release workflow. When the
DOCKERHUB_USERNAMEandDOCKERHUB_TOKENsecrets are set, it copies the released GHCR image todocker.io/<username>/woocommerce-mcpwith the same tags. Without them it skips. - A tool explorer on Hugging Face, https://huggingface.co/spaces/sadrmanesh/woocommerce-mcp-explorer, that lists every tool, prompt, and resource with its input schema and builds
tools/callrequests. The README and docs link to it, and the README names the Docker Hub imagesadrmanesh/woocommerce-mcp. .github/workflows/mirror.yml, which mirrorsmainand tags togitlab.com/sadrmanesh/woocommerce-mcpwhen theGITLAB_TOKENsecret is set, and skips cleanly otherwise.
0.3.2 - 2026-10-30¶
Added¶
- The release workflow publishes a Docker image to the GitHub Container Registry as
ghcr.io/sadrmanesh/woocommerce-mcp, built forlinux/amd64andlinux/arm64and taggedX.Y.Z,X.Y, andlatest. OCI labels and annotations link the image to this repository and carry its description and license. - The release workflow also publishes
@sadrmanesh/woocommerce-mcpto GitHub Packages with the workflow'sGITHUB_TOKEN. npmjs.com remains the main registry. - Install docs for the published image and for installing from GitHub Packages with an
.npmrcscope entry, in the README, the install and deployment guides, and the Persian page.
Changed¶
- The Docker examples use the published image instead of a local build.
server.json, the package version, and the Docker Compose image tag are now 0.3.2.
0.3.1 - 2026-10-30¶
Added¶
- The release workflow publishes
server.jsonto the official MCP Registry after each npm release, signing in with GitHub OIDC. The job checks thatserver.jsonmatches the tag and waits until the package is visible on npm. - npm and MCP Registry badges in the README, and registry details in the install guide.
Changed¶
server.jsonand the package version are now 0.3.1.
0.3.0 - 2026-10-30¶
Added¶
- Customer tools:
woocommerce_update_customer,woocommerce_customer_orderswith lifetime totals, andwoocommerce_customer_segments, which groups customers into VIP, repeat, one-time, and at-risk segments and summarizes guest orders. - PII redaction:
WOOCOMMERCE_REDACT_PIIor a per-storeredactPiisetting masks names, emails, phones, and street addresses in every tool result and resource. Customer tools also acceptredactPiiper call. - Coupon and promotion tools: get, update, and delete coupons,
woocommerce_coupon_performance(uses, discount given, and revenue per code), andwoocommerce_schedule_saleandwoocommerce_end_salefor timed percentage sales. - Order fulfillment:
woocommerce_list_order_notes,woocommerce_delete_order_note,woocommerce_get_order_tracking, andwoocommerce_fulfill_order, which records tracking, completes the order, and notifies the customer. Tracking is kept in order meta, or in the Shipment Tracking extension withWOOCOMMERCE_TRACKING_MODE=shipment-tracking. - Webhook management: list, get, create, update (including secret rotation), and delete webhooks. Webhook secrets come from configuration and never appear in results or previews.
- Webhook receiver on the HTTP transport at
WOOCOMMERCE_WEBHOOK_PATH/<store>. Deliveries are verified with the store's HMAC-SHA256 secret and kept in memory, readable withwoocommerce_list_webhook_eventsand thewoocommerce://stores/{store}/eventsresources. - Shipping and tax tools: shipping zones with their locations and methods, shipping methods, tax rates, and tax classes.
- Tool allow and deny lists with
*patterns:WOOCOMMERCE_TOOLS_ALLOWandWOOCOMMERCE_TOOLS_DENYfor the whole server, andallowToolsanddenyToolsper store. - Per-store rate limiting (
WOOCOMMERCE_RATE_LIMIT,WOOCOMMERCE_RATE_BURST). - Optional read cache (
WOOCOMMERCE_CACHE_TTL_MS,WOOCOMMERCE_CACHE_MAX_ENTRIES), cleared by every write to the store. server.jsonfor the MCP Registry,mcpNameinpackage.json, asmithery.yaml, and OCI labels on the Docker image.- Documentation for install options, webhooks, privacy, and performance.
Changed¶
- The npm package is now published as
@sadrmanesh/woocommerce-mcp. Install it withnpm install -g @sadrmanesh/woocommerce-mcpor run it withnpx -y @sadrmanesh/woocommerce-mcp. The command name is stillwoocommerce-mcp. woocommerce_low_stock_reportnow checks the variations of variable products, unlessincludeVariations: false. Each item hastype(productorvariation) andparentId, and the result reportsvariationsScanned.- Retries use exponential backoff with equal jitter, configurable with
WOOCOMMERCE_RETRY_BASE_MSandWOOCOMMERCE_RETRY_MAX_MS. Reads also retry HTTP 408. woocommerce_list_storesreports each store's privacy, webhook, cache, and rate limit settings.- The server now has 47 tools, up from 24.
0.2.0 - 2026-10-30¶
Added¶
- Several stores in one server, configured with
WOOCOMMERCE_STORESorWOOCOMMERCE_STORES_FILE. Every tool takes an optionalstoreargument, and each store has its own read-only setting. - Bearer authentication for the HTTP transport: static tokens with full or read-only scope, and OAuth 2.0 access tokens checked with RFC 7662 token introspection. Protected resource metadata (RFC 9728) and
WWW-Authenticatechallenges let clients discover the authorization server. /healthzendpoint,HostandOriginallow lists, and binding beyond loopback when authentication is configured.- Write previews:
dryRun: truereturns the exact request a write tool would send, andconfirm: trueapplies it. - Audit log of every write attempt as JSON Lines (
WOOCOMMERCE_AUDIT_LOG). - Refund tools: list, get, and create, with gateway refunds off unless requested.
- Bulk tools: batch updates of price, stock, and status for up to 100 products, and percentage or fixed price adjustments.
- Sales analytics over orders, with a time series, status and payment method breakdowns, and top products, plus a low stock report.
woocommerce_list_storestool.- MCP resources for stores, products, and orders, and prompts for a sales briefing, restock plan, order triage, and price change review.
- Optional OpenTelemetry tracing for tool calls and WooCommerce requests (
WOOCOMMERCE_OTEL_ENABLED). - Dockerfile and Docker Compose setup, with an image build and smoke test in CI.
- Release workflow that verifies the package and publishes it to npm when a version tag is pushed.
- Documentation for configuration, tools, security, deployment, and observability.
Changed¶
- Write tools ask for confirmation by default. Set
WOOCOMMERCE_REQUIRE_CONFIRMATION=falseto apply changes on the first call. MCP_HTTP_HOSTaccepts non-loopback addresses when bearer authentication is configured.- Tool modules register through a shared definition that adds the store, preview, audit, and tracing handling.
0.1.0 - 2026-10-30¶
Added¶
- MCP server for the WooCommerce REST API (
wc/v3) over stdio, with an optional streamable HTTP endpoint bound to loopback. - Product tools: list, search, get, create, and update.
- Order tools: list, get, update status, and add a note.
- Customer tools: list and get.
- Stock tools for products and variations.
- Store summary from the sales, top sellers, and totals report endpoints.
- Coupon tools: list and create.
- Read-only mode, enabled unless
WOOCOMMERCE_READ_ONLY=false. - Zod input validation, pagination, WooCommerce error mapping, and retries for rate limits and transient read failures.
- Configuration through environment variables, documented in
.env.example. - Tests with mocked HTTP, ESLint, and a GitHub Actions workflow.