Documentation/tools reference

Products

Free

Tools for listing, reading, creating, updating and deleting WooCommerce products.

Products are the core of any WooCommerce store. StoreMCP exposes the full CRUD surface as a set of MCP tools.

Read-only tools are available on the Free tier. Create / update / delete operations require Pro.

store_mcp_list_products

List products with filters and pagination.

Tier: Free

Parameters

ParameterTypeRequiredDefaultDescription
searchstringnoSearch by product name or SKU
categoryintegernoFilter by category ID
statusstringnopublishpublish, draft, pending, trash
typestringnosimple, variable, grouped, external
on_salebooleannoOnly products currently on sale
min_pricenumbernoMinimum price filter
max_pricenumbernoMaximum price filter
stock_statusstringnoinstock, outofstock, onbackorder
orderbystringnodatedate, title, price, popularity, rating
orderstringnodescasc, desc
pageintegerno1Page number
per_pageintegerno10Items per page (max 100)

Example prompt

"Show me all products on sale under $50, sorted by popularity."

Example response

{
  "success": true,
  "data": [
    {
      "id": 4371,
      "name": "Agua Mineral 750ml",
      "sku": "MIN-750-AGUA",
      "price": 2.50,
      "regular_price": 3.00,
      "sale_price": 2.50,
      "on_sale": true,
      "stock_status": "instock",
      "stock_quantity": 150,
      "categories": [{ "id": 15, "name": "Bebidas" }],
      "images": [{ "src": "https://cdn.example.com/agua.jpg" }],
      "permalink": "https://example.com/producto/agua-mineral-750ml/"
    }
  ],
  "meta": { "total": 23, "pages": 3, "page": 1, "per_page": 10 }
}

store_mcp_get_product

Get full details for a single product by ID or SKU.

Tier: Free

Parameters

ParameterTypeRequiredDefaultDescription
idintegerno*Product ID
skustringno*Product SKU

One of id or sku is required.

Example response

Returns the full product object including meta, attributes, variations (IDs), tags, images, downloads, and tax settings.

store_mcp_create_product

Create a new product.

Tier: Pro

Parameters (most common)

ParameterTypeRequiredDefaultDescription
namestringyesProduct name
typestringnosimplesimple, variable, grouped, external
statusstringnodraftdraft, publish, pending
regular_pricestringnoRegular price
sale_pricestringnoSale price
skustringnoUnique SKU
descriptionstringnoLong description (HTML)
short_descriptionstringnoShort description
categoriesarraynoArray of category IDs
tagsarraynoArray of tag IDs
imagesarraynoArray of { src } objects
attributesarraynoAttribute definitions
manage_stockbooleannofalseEnable stock management
stock_quantityintegernoStock quantity

Example prompt

"Create a draft product called 'Aceite de Oliva Virgen 500ml' at $8.50, category Aceites, stock 40."

Example response

{
  "success": true,
  "data": {
    "id": 4412,
    "name": "Aceite de Oliva Virgen 500ml",
    "status": "draft",
    "price": "8.50",
    "sku": "",
    "permalink": "https://example.com/?p=4412"
  }
}

store_mcp_update_product

Update an existing product by ID.

Tier: Pro

Accepts the same parameters as store_mcp_create_product plus an id field. Any parameter omitted is left unchanged.

Example prompt

"Put product ID 4371 on sale at $2.20 until the end of the month."

store_mcp_delete_product

Delete a product.

Tier: Pro

Parameters

ParameterTypeRequiredDefaultDescription
idintegeryesProduct ID
forcebooleannofalsePermanently delete (skip trash)
Irreversible

force: true permanently removes the product. Without it, the product moves to trash and can be restored.

store_mcp_bulk_update_products

Update many products in a single call. Tier: Pro.

Parameters

ParameterTypeRequiredDescription
updatesarrayyesArray of { id, ...fields }

Useful for mass price changes, stock adjustments, status flips, or re-categorization. Returns a per-item success report.