Description
StoreGuard MCP turns your WooCommerce store into a read-only, auditable Model Context Protocol (MCP) endpoint for Claude Desktop, Cursor, and MCP-compatible AI clients — without exposing WordPress admin passwords or risking accidental store mutations.
Built for WooCommerce Agencies & Store Operators
- 100% Read-Only Free Core: Ships strictly in Read-Only Audit Mode with zero destructive endpoints included in the core plugin.
- 30-Second Claude & Cursor Setup: Generate a scoped Bearer token (
sgmcp_ro_...) in WP Admin and click Copy Claude / Cursor Config JSON — zero CLI hacks and zero raw WordPress passwords. - WooCommerce HPOS Compatible: Explicitly declares High-Performance Order Storage (
custom_order_tables) compatibility and useswc_get_orders()andwc_get_products()CRUD APIs. - PII-Redacted Order Reporting:
order_summaryaggregates gross/net revenue, AOV, statuses, and gateways without exposing customer emails or street addresses. - 6 Free Read-Only Audit Tools:
store_health_audit— HPOS status, PHP/WP/WC versions, catalog and order posture, guardrail status.low_stock_report— SKU-level low stock and out-of-stock report with configurable threshold.order_summary— PII-redacted revenue, AOV, order counts by status, and payment gateway breakdown.coupon_audit— Flags high-discount (>40%), unlimited-use, expired, or unexpiring coupons.broken_sku_finder— Detects missing SKUs, duplicate SKUs, zero prices, inverted sale prices, and missing featured images.product_seo_audit— Audits titles, Yoast/RankMath/StoreGuard SEO meta, short descriptions, and image alt text.
- Persistent Audit Log: Every MCP request is logged in
wp_storeguard_audit_logwith tool name, mode, decision, reason, and duration. - Extensible Guardrail Architecture: Optional add-ons (including StoreGuard MCP Pro) can register guarded write tools via
storeguard_mcp_registered_write_toolswith mandatory Dry-Run diffs, configurable price-delta & batch caps, andwp_storeguard_snapshots1-click rollback.
Installation
- Upload
storeguard-mcpto/wp-content/plugins/or install the ZIP via Plugins > Add New > Upload Plugin. - Activate StoreGuard MCP through the Plugins screen (requires WordPress 6.4+, PHP 8.0+, and WooCommerce 8.0+).
- Go to WooCommerce > StoreGuard MCP.
- Click Generate Read-Only Token, then click Copy Claude / Cursor Config JSON and paste it into Cursor (
mcp.json) or Claude Desktop (claude_desktop_config.json).
FAQ
-
Does this expose my WordPress admin password to Claude or Cursor?
-
No. StoreGuard MCP issues dedicated scoped Bearer tokens (
sgmcp_ro_...) hashed withwp_hash_password()and verified in constant time viahash_equals(). You can revoke any token immediately from WP Admin. -
Does my store data pass through any third-party cloud proxy?
-
No. StoreGuard MCP runs 100% inside your own WordPress site at
/wp-json/storeguard-mcp/v1/mcp. Your AI client connects directly to your store. -
Can an AI mutate prices, stock, or orders with the Free Core plugin?
-
No. The Free Core plugin only registers 6 read-only audit tools and ships locked in Read-Only Audit Mode.
-
Is StoreGuard MCP compatible with WooCommerce HPOS?
-
Yes. StoreGuard MCP declares compatibility with
custom_order_tables(HPOS) and queries orders and products exclusively via WooCommerce CRUD functions (wc_get_orders,wc_get_products).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“StoreGuard MCP for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “StoreGuard MCP for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial public release.
- Streamable HTTP JSON-RPC 2.0 MCP endpoint at
/wp-json/storeguard-mcp/v1/mcp. - Scoped Bearer token authentication with
wp_hash_password()andhash_equals(). - 6 Free Read-Only Audit Tools (
store_health_audit,low_stock_report,order_summary,coupon_audit,broken_sku_finder,product_seo_audit). - Persistent MCP Audit Log (
wp_storeguard_audit_log) and extensible guardrail/snapshot hooks (wp_storeguard_snapshots) for optional Pro write add-ons. - WooCommerce HPOS (
custom_order_tables) compatibility declared.
