Aerostack
electrical_services

Woocommerce MCP Server — Hosted Api Connectors Integration

MCP Server language Hosted language Public

Manage products, orders, customers, and coupons for your WooCommerce store — full e-commerce automation for AI agents.

aerostack @aerostack verified
v0.1.0 MIT Updated Jun 28, 2026
robot_2

Use with AI AssistantsMCP

Connect Claude, Cursor, or any MCP-compatible client — then call tools directly

① Add This MCP Server

Paste into your AI client config — then all its tools are available instantly.

.claude/mcp.json
{
  "mcpServers": {
    "woocommerce": {
      "url": "https://mcp.aerostack.dev/s/aerostack/mcp-woocommerce",
      "headers": {
        "Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
      }
    }
  }
}

Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.

② Call a Tool

Ask your AI assistant to call a specific tool, or send raw JSON-RPC:

+17 more

Natural Language Prompt

“Use the _ping tool to verify woocommerce credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials

Using a Workspace?

Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.

add_circleAdd to Workspace

description Overview

mcp-woocommerce — WooCommerce MCP Server

Automate your WooCommerce store — manage products, orders, customers, and coupons from any AI agent.

WooCommerce powers over 40% of all online stores worldwide. This MCP server gives your agents complete access to the WooCommerce REST API v3: listing and creating products, managing orders through their full lifecycle, creating and updating customers, applying coupon codes, and pulling sales reports — all without touching the WordPress admin panel.

Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-woocommerce


What You Can Do

  • Automatically create and update products when catalog data changes in an upstream system
  • Monitor and fulfill orders — change statuses, add customer notes, create refunds
  • Sync customers and billing/shipping addresses from your CRM or helpdesk
  • Generate coupon codes for marketing campaigns and set usage limits or expiry dates
  • Pull sales reports to feed dashboards or trigger alerts when revenue crosses thresholds

Available Tools

Tool Description
list_products List products with filters: status, type, category, search. Pagination via page + per_page.
get_product Get full details of a product by ID
create_product Create a product — name, price, images, categories, SKU, stock
update_product Update product fields (price, stock, status, description)
delete_product Delete a product — trash or permanent
list_product_categories List product categories, filter by parent or search term
list_orders List orders filtered by status, date range, or customer
get_order Get full order details including line items, billing, and shipping
create_order Create an order with line items, addresses, and payment method
update_order Update order status or add a customer note
delete_order Delete an order — trash or permanent
create_refund Create a refund for an order with amount, reason, and line items
list_customers List customers — search, filter by email or role
get_customer Get full customer details including order history totals
create_customer Create a customer with billing and shipping addresses
update_customer Update customer name or addresses
list_coupons List coupons, search by code
create_coupon Create a coupon — percent, fixed cart, or fixed product discount
get_store_settings Get store general settings: currency, address, price format
list_shipping_zones List shipping zones with their configured methods
get_sales_report Get sales totals report for a period or date range
list_order_statuses Get all order statuses (including custom plugin statuses)

Configuration

Variable Required Description How to Get
WOOCOMMERCE_CONSUMER_KEY Yes WooCommerce REST API Consumer Key WooCommerce → Settings → Advanced → REST API → Add Key
WOOCOMMERCE_CONSUMER_SECRET Yes WooCommerce REST API Consumer Secret Shown once when the key is generated
WOOCOMMERCE_STORE_URL Yes Your WooCommerce store URL (must be HTTPS) The root URL of your WordPress + WooCommerce site
Generating API Keys
  1. In your WordPress admin, go to WooCommerce → Settings → Advanced → REST API
  2. Click Add Key
  3. Set Description (e.g. "Aerostack Agent"), User (admin), and Permissions (Read/Write)
  4. Click Generate API Key — copy both the Consumer Key and Consumer Secret immediately (the secret is only shown once)
  5. Add both to Aerostack under Project → Secrets

Quick Start

Add to Aerostack Workspace
  1. Go to aerostack.dev → Your Project → MCPs
  2. Search for "WooCommerce" and click Add to Workspace
  3. Add your WOOCOMMERCE_CONSUMER_KEY, WOOCOMMERCE_CONSUMER_SECRET, and WOOCOMMERCE_STORE_URL under Project → Secrets

Once added, every AI agent in your workspace can manage your WooCommerce store automatically.

Example Prompts
"List all orders with status 'processing' from the last 7 days"
"Create a 20% off coupon called SPRING20 that expires on 2026-05-31"
"Update product ID 42 to set the sale price to $19.99"
"Get the sales report for last month"
"Find all customers who signed up with @gmail.com and list their order counts"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-woocommerce \
  -H 'Content-Type: application/json' \
  -H 'X-Mcp-Secret-WOOCOMMERCE-CONSUMER-KEY: ck_your_key' \
  -H 'X-Mcp-Secret-WOOCOMMERCE-CONSUMER-SECRET: cs_your_secret' \
  -H 'X-Mcp-Secret-WOOCOMMERCE-STORE-URL: https://mystore.com' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_orders","arguments":{"status":"processing","per_page":10}}}'

Security

  • All secrets are passed via X-Mcp-Secret-* headers — never stored in environment variables at rest
  • SSRF protection: WOOCOMMERCE_STORE_URL is validated before every request. HTTP URLs are rejected; private/local IP ranges (localhost, 127.x, 10.x, 172.16–31.x, 192.168.x) are blocked
  • Authentication uses HTTP Basic with base64(consumerKey:consumerSecret) — WooCommerce's official auth method for HTTPS endpoints

License

MIT

terminal Tools (23)

Available tools on this MCP server. Each tool can be called directly from any AI agent.

terminal
_ping #1

Verify WooCommerce credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.

terminal
list_products #2

List WooCommerce products. Filter by status, type, category, or search term. Supports pagination.

terminal
get_product #3

Get a single WooCommerce product by ID. Returns name, slug, status, type, price, regular_price, sale_price, stock_status, stock_quantity, sku, images, categories, and tags.

terminal
create_product #4

Create a new WooCommerce product. Name is required. Optionally set type, price, description, categories, images, SKU, and stock management.

terminal
update_product #5

Update fields on an existing WooCommerce product. Provide only the fields to change.

terminal
delete_product #6

Delete a WooCommerce product. Use force=true to permanently delete; force=false moves to trash.

terminal
list_product_categories #7

List WooCommerce product categories. Filter by parent category or search term.

terminal
list_orders #8

List WooCommerce orders. Filter by status, date range, or customer. Supports pagination.

terminal
get_order #9

Get a single WooCommerce order by ID. Returns status, customer, line_items, shipping, billing, total, and payment_method.

terminal
create_order #10

Create a new WooCommerce order with line items, billing/shipping address, and payment method.

terminal
update_order #11

Update a WooCommerce order. Commonly used to change status or add a customer note.

terminal
delete_order #12

Delete a WooCommerce order. Use force=true to permanently delete; force=false moves to trash.

terminal
create_refund #13

Create a refund for a WooCommerce order. Specify the amount, reason, and optionally the line items to refund.

terminal
list_customers #14

List WooCommerce customers. Search by name/email, filter by role, or paginate.

terminal
get_customer #15

Get a single WooCommerce customer by ID. Returns first_name, last_name, email, orders_count, total_spent, billing, and shipping.

terminal
create_customer #16

Create a new WooCommerce customer. Email is required. Optionally set name, username, password, and addresses.

terminal
update_customer #17

Update a WooCommerce customer. Provide only the fields to change (name, billing address, shipping address).

terminal
list_coupons #18

List WooCommerce coupons. Optionally search by code.

terminal
create_coupon #19

Create a WooCommerce coupon. Code and discount_type are required. Supports percent, fixed_cart, and fixed_product discounts.

terminal
get_store_settings #20

Get WooCommerce store general settings including currency, price format, weight unit, and store address.

terminal
list_shipping_zones #21

List all WooCommerce shipping zones with their configured shipping methods.

terminal
get_sales_report #22

Get a WooCommerce sales report for a date range or predefined period. Returns totals for sales, orders, items, refunds, discount, and shipping.

terminal
list_order_statuses #23

Get all possible WooCommerce order statuses (including custom ones registered by plugins).

Details

upgrade Version 0.1.0
gavel License MIT
wifi Transport streamable-http
lock Access Public
category Category API Connectors
terminal Tools 23

language Live Endpoint

https://mcp.aerostack.dev/s/aerostack/mcp-woocommerce

Sub-50ms globally · Zero cold start

Publisher

aerostack
@aerostack verified

Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.

Tags

Browse more servers

More in API Connectors

Browse API Connectors MCPs →

Frequently asked questions

What is the Woocommerce MCP server and what can it do? +

The Woocommerce MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `list_products`, `get_product`, `create_product`, `update_product`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.

Is the Woocommerce MCP server hosted, or do I have to run it myself? +

It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.

Which AI agents and editors can use the Woocommerce MCP server? +

Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Woocommerce MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.

How do I install the Woocommerce MCP server in Claude Desktop? +

Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-woocommerce": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-woocommerce"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.

How do I use the Woocommerce MCP server in Cursor? +

In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-woocommerce", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-woocommerce"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.

Does Woocommerce MCP require authentication? +

Yes. Woocommerce requires authentication. Check the MCP's documentation for the required credentials.