Connector guide2-minute read49 MCP tools7 languages

How to Connect Woocommerce to Gemini — via MCP

Connect WooCommerce to Gemini using MCP. Manage products, orders, inventory, customers, and run revenue reports with natural language.

HCBy HelpCode teamUpdated 2 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

WooCommerce

WooCommerce

AI-native commerce operations for any WooCommerce store. Semantic tools for products, variations, inventory, orders, refunds, customers, categories, and reports — plus documented multi-step recipes (inventory optimisation, SEO refresh, upsell/cross-sell, abandoned-order triage, revenue analysis).

tools

49

Region

INTL

Category

E-commerce

Authentication

Query Param Auth

Required env vars

WOOCOMMERCE_URLWOOCOMMERCE_CONSUMER_KEYWOOCOMMERCE_CONSUMER_SECRET
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the WooCommerce in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Connect WooCommerce to Gemini using MCP. Manage products, orders, inventory, customers, and run revenue reports with natural language.

Try asking

Example prompts for WooCommerce

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

WooCommerce · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Connect WooCommerce to Gemini

WooCommerce powers ~30% of online stores. With AnythingMCP and Gemini, you can run merchandising, inventory, order management, and growth analysis — entirely through conversation.

What You Can Do

  • "Find every out-of-stock product that sold well last month and bump stock to 50."
  • "Build a markdown KPI report for this month vs last month — revenue, AOV, top sellers, refunds."
  • "Identify products with weak descriptions and rewrite them for SEO."
  • "Cancel all pending orders older than 48 hours."
  • "Create a 15% off code MCPLAUNCH valid for 30 days, limited to 200 uses, percentage discount."

Setup

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
  1. Generate REST API credentials in /wp-admin → WooCommerce → Settings → Advanced → REST API → Add key with Read/Write permission.
  2. Open http://localhost:3000/connectors/store, import the WooCommerce adapter.
  3. Supply WOOCOMMERCE_URL, WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET. HTTPS required.
  4. Assign the connector to an MCP server.

Connect Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the WooCommerce tools.

Self-hosting with the quickstart above? Use your server's local endpoint http://localhost:4000/mcp/<server-id> as the URL.

Skill Tools (the AI-native edge)

When you ask "optimise inventory", Gemini calls woocommerce_skill_inventory_optimization and receives the full playbook: find out-of-stock, cross-reference with top sellers, batch-update stock. No need to pre-write that recipe in your system prompt.

Available skills:

  • woocommerce_skill_inventory_optimization
  • woocommerce_skill_product_seo_optimization
  • woocommerce_skill_upsell_cross_sell
  • woocommerce_skill_low_conversion_analysis
  • woocommerce_skill_abandoned_order_triage
  • woocommerce_skill_revenue_kpi_snapshot

Bulk Writes Done Right

For any operation touching ≥3 products, Gemini uses woocommerce_batch_update_products (one HTTP call, up to 100 products) instead of fanning out individual updates. The skill recipes enforce this pattern.

FAQ

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Your WooCommerce agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Related guides