Code GenesisBook a discovery call
← Case studies
E-commerce · MCP

Agent-ready WooCommerce: let AI assistants shop your store

An MCP connector that lets Claude and ChatGPT search a WooCommerce catalog, check stock and delivery, build a cart, and hand the customer a secure checkout link, with no store rebuild.

Type
AI agent integration (MCP)
Tools
5 agent tools
Stack
TypeScript, MCP SDK, WooCommerce REST API

The problem

Shopify stores now get agent access built in. WooCommerce and custom stores don't, so they're invisible when customers ask an AI assistant to find and buy something.

The solution

A connector over the WooCommerce REST API exposes the store as clear, typed tools. Agents can browse and build orders, but payment always happens on the store's own checkout page.

Tools the agent can use

search_productsSearch the catalog by text, category, price, and attributesRead
check_stockLive stock and variant availabilityRead
create_cartBuild a cart and return a pre-filled checkout linkWrite
order_statusLook up an order for a verified customerRead
issue_refundDraft a refund that store staff approveNeeds approval

How it connects

  1. Customer's AI assistant
  2. MCP Gateway
  3. WooCommerce connector
  4. WooCommerce REST API
  5. Store checkout

Security by design

  • Agents never handle card details; payment stays on the store's checkout
  • Order lookups require customer verification
  • Refunds and price changes need staff approval

Stack

TypeScriptMCP SDKWooCommerce REST APICloudflare Workers

Let's build what's next.

Tell us about your product, platform, or roadmap. In a 30-minute consultation we'll share how we'd approach it, with no slides and no obligation.