WooCommerce MCP server for AI agents

Live

CONSUMER KEY AND SECRET

ECOMMERCE

CRM & Sales

WooCommerce gives your agent store management in your WooCommerce store: read orders, products, customers, and coupons, pull sales and top seller reports, and create or update products, orders, customers, and coupons, and refund orders.

  • One store connection: you connect WooCommerce once with a consumer key and secret, not per user.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
WooCommerce
agent · Acme Q3
Run
What were our total sales last week?
S
woocommerce_sales_report_get
224ms
Store agent
Total sales last week were $12,480 across 214 orders.
Sources: WooCommerce sales report, 1 week
woocommerce
$12,480
18:29
Message Claude...

Tools your ecommerce agent reaches for on WooCommerce, scoped before every call.

CALL ANY TOOL
23 tools for ecommerce in WooCommerce: read orders, products, customers, and coupons, pull sales and top seller reports, and create or update products, orders, customers, and coupons, and refund orders.
woocommerce_coupon_create
Create coupon
Create a discount coupon in the WooCommerce store with its code, discount type and amount, expiry and usage restrictions. Returns the new coupon with its id and saved settings. Use woocommerce_coupon_create to add a coupon. Use woocommerce_coupons_list first to check that the code is not taken.
Parameters
Name
Type
Required
Description
code
string
Required
Coupon code that customers enter at checkout; must be unique in the store. Example: 10off.
amount
string
Optional
Discount amount as a number in a string, also for a percentage. Example: 10 for 10% off with discount_type percent.
date_expires
string
Optional
Date the coupon expires, in the store's timezone (ISO 8601). Example: 2025-12-31T23:59:59.
description
string
Optional
Internal description of the coupon. Example: Black Friday 2025 newsletter offer.
discount_type
string
Optional
Type of discount: percent (percentage off the cart), fixed_cart (fixed amount off the cart) or fixed_product (fixed amount off each matching product). WooCommerce defaults to fixed_cart. One of: `percent`, `fixed_cart`, `fixed_product`.
email_restrictions
array
Optional
Billing email addresses allowed to use the coupon; leave out to allow everyone. Example: ["john.doe@example.com"].
exclude_sale_items
boolean
Optional
Set to true so the coupon does not apply to items that are already on sale. WooCommerce defaults to false.
excluded_product_categories
array
Optional
Product category IDs the coupon never applies to. Example: [9, 14].
excluded_product_ids
array
Optional
Product IDs the coupon never applies to. Example: [93, 22].
free_shipping
boolean
Optional
Set to true to grant free shipping, when the store has a free shipping method that requires a coupon. WooCommerce defaults to false.
individual_use
boolean
Optional
Set to true so the coupon cannot be combined with other coupons. WooCommerce defaults to false.
limit_usage_to_x_items
integer
Optional
Maximum number of cart items the discount applies to. Example: 3.
maximum_amount
string
Optional
Maximum cart subtotal allowed to use the coupon. Example: 500.00.
meta_data
array
Optional
Custom meta data to store on the coupon, as a list of key/value objects. Sending a key that already exists updates its value. Example: [{"key": "gift_message", "value": "Happy birthday!"}].
minimum_amount
string
Optional
Minimum cart subtotal needed to use the coupon. Example: 100.00.
product_categories
array
Optional
Product category IDs the coupon applies to (from woocommerce_product_categories_list). Example: [9, 14].
product_ids
array
Optional
Product IDs the coupon applies to; leave out to apply to all products. Example: [93, 22].
usage_limit
integer
Optional
Total number of times the coupon can be used across all customers. Example: 100.
usage_limit_per_user
integer
Optional
Number of times each customer can use the coupon. Example: 1.
woocommerce_coupons_list
List coupons
woocommerce_customer_create
Create customer
woocommerce_customer_get
Get customer
woocommerce_customer_update
Update customer
woocommerce_customers_list
List customers
woocommerce_order_create
Create order
woocommerce_order_get
Get order
woocommerce_order_note_create
Create order note
woocommerce_order_notes_list
List order notes
woocommerce_order_refund_create
Create order refund
woocommerce_order_refunds_list
List order refunds
woocommerce_order_update
Update order
woocommerce_orders_list
List orders
woocommerce_product_categories_list
List product categories
woocommerce_product_category_create
Create product category
woocommerce_product_create
Create product
woocommerce_product_get
Get product
woocommerce_product_update
Update product
woocommerce_product_variations_list
List product variations
woocommerce_products_list
List products
woocommerce_sales_report_get
Get sales report
woocommerce_top_sellers_report_get
Get top sellers report
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// WooCommerce tools available to this agent
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["woocommerce"], toolNames: [
    "woocommerce_orders_list",
    "woocommerce_sales_report_get",
    "woocommerce_top_sellers_report_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List last week's orders, show the sales report, and show the top sellers" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["woocommerce"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List last week's orders, show the sales report, and show the top sellers" }],
  tools,
});

// Execute the tool call with the vaulted WooCommerce consumer key and secret
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["woocommerce"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List last week's orders, show the sales report, and show the top sellers" }],
  tools,
});

// Tool call runs with the vaulted WooCommerce consumer key and secret
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["woocommerce"] }, pageSize: 100,
});

const agent = new Agent({
  name: "store_agent",
  model: "gemini-2.5-pro",
  instruction: "WooCommerce tools available to this agent",
  tools,
});

await agent.run("List last week's orders, show the sales report, and show the top sellers");
Try these prompts
Copy any prompt into your agent. Each maps directly to a WooCommerce tool. Click to copy, paste into your agent, done.
Orders and customers
Copy the prompt
Copied
List the processing orders from the last 7 days.
Copy the prompt
Copied
Show the notes on this order.
Copy the prompt
Copied
Find the customer with this email.
Products and reports
Copy the prompt
Copied
Search the catalog for products with SKU TSHIRT.
Copy the prompt
Copied
Show the best-selling products this month.
Copy the prompt
Copied
Show the sales report for last week.
Update the store
Copy the prompt
Copied
Create a 10 percent coupon with the code SPRING10.
Copy the prompt
Copied
Update the price of this product.
Copy the prompt
Copied
Refund this order in part.
SEE HOW AUTH WORKS
You connect WooCommerce once with a consumer key and secret, and Scalekit authenticates every call. The key and secret stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
WooCommerce
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
WooCommerce
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
WooCommerce
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
WooCommerce
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same auth pattern across other CRM and marketing connectors.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
GTM and RevOps Teams
Revenue forecast commentary
Pulls open pipeline from Salesforce and HubSpot, calculates coverage against quota, flags at-risk stages, posts commentary to Slack, and logs every snapshot to Google Sheets.
Test other agents
See the same auth pattern across other CRM and marketing connectors.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
GTM
Revenue forecast agent
Score pipeline coverage against quota across Salesforce and HubSpot, post forecast commentary to Slack, log snapshots to Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Consumer secrets stay out of agent code
Pasting a WooCommerce consumer secret into agent code puts it one log line away from a leak. Scalekit keeps the consumer key and secret in its vault, authenticates each call at request time, and records which agent run made it.
// secret in code
env → prompt, logs

// scalekit
vault → call ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
WooCommerce today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent use a shared consumer key and secret for WooCommerce?
Yes. You connect WooCommerce once with a consumer key and secret, and Scalekit authenticates every call. The agent reaches what that key can access in the store, and audit logs record every action the agent takes.
Where are the WooCommerce credentials stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in WooCommerce?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list and get tools without woocommerce_order_refund_create, which refunds an order in full or in part, or woocommerce_order_update. None of the 23 tools is destructive. Scalekit also enforces scope checks before every API call.
What happens when WooCommerce access is turned off?
Disable the connection in the Scalekit dashboard and the next tool call fails closed with a clear error. Other tenants are unaffected, and the change is logged.
Can the agent refund an order?
Yes. woocommerce_order_refund_create refunds an order in full or in part, by amount or by line item. Leave it out of the tools you expose if a person should always issue refunds.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""woocommerce"": {
""url"": ""https://mcp.scalekit.com/woocommerce"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.woocommerce]
url = ""https://mcp.scalekit.com/woocommerce""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""woocommerce"": {
""url"": ""https://mcp.scalekit.com/woocommerce"",
""type"": ""http""
}
}
}