WooCommerce MCP Server for Cloudflare Workers
87 tools available in the WooCommerce MCP server. Each tool can be called by AI assistants to perform specific actions.
delete_tax_classDelete a tax class
{
"type": "object",
"properties": {}
}list_shipping_zonesList shipping zones
{
"type": "object",
"properties": {}
}get_shipping_zoneGet a single shipping zone
{
"type": "object",
"properties": {}
}create_shipping_zoneCreate a new shipping zone
{
"type": "object",
"properties": {}
}update_shipping_zoneUpdate a shipping zone
{
"type": "object",
"properties": {}
}delete_shipping_zoneDelete a shipping zone
{
"type": "object",
"properties": {}
}get_shipping_zone_locationsGet locations for a shipping zone
{
"type": "object",
"properties": {}
}update_shipping_zone_locationsUpdate locations for a shipping zone
{
"type": "object",
"properties": {}
}list_shipping_zone_methodsList methods for a shipping zone
{
"type": "object",
"properties": {}
}get_shipping_zone_methodGet a shipping zone method
{
"type": "object",
"properties": {}
}create_shipping_zone_methodAdd a shipping method to a zone
{
"type": "object",
"properties": {}
}update_shipping_zone_methodUpdate a shipping zone method
{
"type": "object",
"properties": {}
}delete_shipping_zone_methodDelete a shipping zone method
{
"type": "object",
"properties": {}
}list_shipping_methodsList available shipping methods
{
"type": "object",
"properties": {}
}get_shipping_methodGet a shipping method
{
"type": "object",
"properties": {}
}list_payment_gatewaysList payment gateways
{
"type": "object",
"properties": {}
}get_payment_gatewayGet a payment gateway
{
"type": "object",
"properties": {}
}update_payment_gatewayUpdate a payment gateway
{
"type": "object",
"properties": {}
}update_webhookUpdate a webhook
{
"type": "object",
"properties": {}
}update_setting_optionUpdate a setting option
{
"type": "object",
"properties": {}
}get_setting_optionGet a single setting option
{
"type": "object",
"properties": {}
}create_productCreate a new product', schema: productCreateSchema, handler: async (params: z.infer<typeof productCreateSchema>) => { const result = await client.createProduct(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_product: {
description: 'Update an existing product
{
"type": "object",
"properties": {}
}delete_productDelete a product
{
"type": "object",
"properties": {}
}list_variationsList variations for a variable product
{
"type": "object",
"properties": {}
}get_variationGet a single product variation
{
"type": "object",
"properties": {}
}create_variationCreate a new product variation', schema: variationCreateSchema, handler: async ({ productId, ...params }: z.infer<typeof variationCreateSchema>) => { const result = await client.createVariation(productId, params as Parameters<typeof client.createVariation>[1]); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_variation: {
description: 'Update a product variation
{
"type": "object",
"properties": {}
}delete_variationDelete a product variation
{
"type": "object",
"properties": {}
}list_categoriesList product categories', schema: paginationSchema, handler: async (params: z.infer<typeof paginationSchema>) => { const result = await client.listCategories(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_category: {
description: 'Get a single product category
{
"type": "object",
"properties": {}
}list_couponsList coupons with optional filtering and pagination', schema: couponFilterSchema, handler: async (params: z.infer<typeof couponFilterSchema>) => { const result = await client.listCoupons(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_coupon: {
description: 'Get a single coupon by ID
{
"type": "object",
"properties": {}
}create_couponCreate a new coupon', schema: couponCreateSchema, handler: async (params: z.infer<typeof couponCreateSchema>) => { const result = await client.createCoupon(params as Parameters<typeof client.createCoupon>[0]); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_coupon: {
description: 'Update an existing coupon
{
"type": "object",
"properties": {}
}delete_couponDelete a coupon
{
"type": "object",
"properties": {}
}list_customersList customers with optional filtering and pagination', schema: customerFilterSchema, handler: async (params: z.infer<typeof customerFilterSchema>) => { const result = await client.listCustomers(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_customer: {
description: 'Get a single customer by ID
{
"type": "object",
"properties": {}
}create_customerCreate a new customer', schema: customerCreateSchema, handler: async (params: z.infer<typeof customerCreateSchema>) => { const result = await client.createCustomer(params as Parameters<typeof client.createCustomer>[0]); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_customer: {
description: 'Update an existing customer
{
"type": "object",
"properties": {}
}delete_customerDelete a customer
{
"type": "object",
"properties": {}
}get_customer_downloadsGet downloads for a customer
{
"type": "object",
"properties": {}
}list_ordersList orders with optional filtering and pagination', schema: orderFilterSchema, handler: async (params: z.infer<typeof orderFilterSchema>) => { const result = await client.listOrders(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_order: {
description: 'Get a single order by ID
{
"type": "object",
"properties": {}
}create_orderCreate a new order', schema: orderCreateSchema, handler: async (params: z.infer<typeof orderCreateSchema>) => { const result = await client.createOrder(params as Parameters<typeof client.createOrder>[0]); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_order: {
description: 'Update an existing order
{
"type": "object",
"properties": {}
}delete_orderDelete an order
{
"type": "object",
"properties": {}
}list_order_notesList notes for an order
{
"type": "object",
"properties": {}
}get_order_noteGet a single order note
{
"type": "object",
"properties": {}
}create_order_noteAdd a note to an order', schema: orderNoteCreateSchema, handler: async ({ orderId, ...params }: z.infer<typeof orderNoteCreateSchema>) => { const result = await client.createOrderNote(orderId, params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
delete_order_note: {
description: 'Delete an order note
{
"type": "object",
"properties": {}
}list_refundsList refunds for an order
{
"type": "object",
"properties": {}
}get_refundGet a single refund
{
"type": "object",
"properties": {}
}create_refundCreate a refund for an order', schema: refundCreateSchema, handler: async ({ orderId, ...params }: z.infer<typeof refundCreateSchema>) => { const result = await client.createRefund(orderId, params as Parameters<typeof client.createRefund>[1]); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
delete_refund: {
description: 'Delete a refund
{
"type": "object",
"properties": {}
}list_productsList products with optional filtering and pagination', schema: productFilterSchema, handler: async (params: z.infer<typeof productFilterSchema>) => { const result = await client.listProducts(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_product: {
description: 'Get a single product by ID
{
"type": "object",
"properties": {}
}list_setting_optionsList options for a setting group
{
"type": "object",
"properties": {}
}create_categoryCreate a new product category', schema: categoryCreateSchema, handler: async (params: z.infer<typeof categoryCreateSchema>) => { const result = await client.createCategory(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_category: {
description: 'Update a product category
{
"type": "object",
"properties": {}
}delete_categoryDelete a product category
{
"type": "object",
"properties": {}
}list_tagsList product tags', schema: paginationSchema, handler: async (params: z.infer<typeof paginationSchema>) => { const result = await client.listTags(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_tag: {
description: 'Get a single product tag
{
"type": "object",
"properties": {}
}create_tagCreate a new product tag', schema: tagCreateSchema, handler: async (params: z.infer<typeof tagCreateSchema>) => { const result = await client.createTag(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_tag: {
description: 'Update a product tag
{
"type": "object",
"properties": {}
}delete_tagDelete a product tag
{
"type": "object",
"properties": {}
}list_attributesList product attributes
{
"type": "object",
"properties": {}
}get_attributeGet a single product attribute
{
"type": "object",
"properties": {}
}create_attributeCreate a new product attribute', schema: attributeCreateSchema, handler: async (params: z.infer<typeof attributeCreateSchema>) => { const result = await client.createAttribute(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_attribute: {
description: 'Update a product attribute
{
"type": "object",
"properties": {}
}delete_attributeDelete a product attribute
{
"type": "object",
"properties": {}
}list_attribute_termsList terms for a product attribute
{
"type": "object",
"properties": {}
}get_attribute_termGet a single attribute term
{
"type": "object",
"properties": {}
}create_attribute_termCreate a new attribute term', schema: attributeTermCreateSchema, handler: async ({ attributeId, ...params }: z.infer<typeof attributeTermCreateSchema>) => { const result = await client.createAttributeTerm(attributeId, params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_attribute_term: {
description: 'Update an attribute term
{
"type": "object",
"properties": {}
}delete_attribute_termDelete an attribute term
{
"type": "object",
"properties": {}
}list_reviewsList product reviews', schema: paginationSchema.extend({ search: z.string().optional(), product: z.number().optional().describe('Filter by product ID'), status: z.enum(['all', 'hold', 'approved', 'spam', 'trash']).optional(), }), handler: async (params: z.infer<typeof paginationSchema> & { search?: string; product?: number; status?: string }) => { const result = await client.listReviews(params as Parameters<typeof client.listReviews>[0]); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_review: {
description: 'Get a single product review
{
"type": "object",
"properties": {}
}create_reviewCreate a new product review', schema: reviewCreateSchema, handler: async (params: z.infer<typeof reviewCreateSchema>) => { const result = await client.createReview(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_review: {
description: 'Update a product review
{
"type": "object",
"properties": {}
}delete_reviewDelete a product review
{
"type": "object",
"properties": {}
}list_shipping_classesList product shipping classes', schema: paginationSchema, handler: async (params: z.infer<typeof paginationSchema>) => { const result = await client.listShippingClasses(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_shipping_class: {
description: 'Get a single shipping class
{
"type": "object",
"properties": {}
}create_shipping_classCreate a new shipping class', schema: shippingClassCreateSchema, handler: async (params: z.infer<typeof shippingClassCreateSchema>) => { const result = await client.createShippingClass(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
update_shipping_class: {
description: 'Update a shipping class
{
"type": "object",
"properties": {}
}delete_shipping_classDelete a shipping class
{
"type": "object",
"properties": {}
}list_setting_groupsList all setting groups
{
"type": "object",
"properties": {}
}list_tax_ratesList tax rates', schema: paginationSchema, handler: async (params: z.infer<typeof paginationSchema>) => { const result = await client.listTaxRates(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_tax_rate: {
description: 'Get a single tax rate
{
"type": "object",
"properties": {}
}create_tax_rateCreate a new tax rate
{
"type": "object",
"properties": {}
}update_tax_rateUpdate a tax rate
{
"type": "object",
"properties": {}
}delete_tax_rateDelete a tax rate
{
"type": "object",
"properties": {}
}list_tax_classesList tax classes
{
"type": "object",
"properties": {}
}create_tax_classCreate a new tax class
{
"type": "object",
"properties": {}
}list_webhooksList webhooks', schema: paginationSchema, handler: async (params: z.infer<typeof paginationSchema>) => { const result = await client.listWebhooks(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_webhook: {
description: 'Get a webhook
{
"type": "object",
"properties": {}
}create_webhookCreate a new webhook
{
"type": "object",
"properties": {}
}delete_webhookDelete a webhook
{
"type": "object",
"properties": {}
}list_reportsList available reports
{
"type": "object",
"properties": {}
}get_sales_reportGet sales report', schema: reportParamsSchema, handler: async (params: z.infer<typeof reportParamsSchema>) => { const result = await client.getSalesReport(params); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, },
get_top_sellers_report: {
description: 'Get top sellers report',
schema: reportParamsSchema,
handler: async (params: z.infer<typeof reportParamsSchema>) => {
const result = await client.getTopSellersReport(params);
return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] };
},
},
// =========================================================================
// System Status
// =========================================================================
get_system_status: {
description: 'Get system status information
{
"type": "object",
"properties": {}
}list_system_status_toolsList available system status tools
{
"type": "object",
"properties": {}
}run_system_status_toolRun a system status tool
{
"type": "object",
"properties": {}
}list_continentsList continents with countries
{
"type": "object",
"properties": {}
}get_continentGet a continent by code
{
"type": "object",
"properties": {}
}list_countriesList countries with states
{
"type": "object",
"properties": {}
}get_countryGet a country by code
{
"type": "object",
"properties": {}
}list_currenciesList available currencies
{
"type": "object",
"properties": {}
}get_currencyGet a currency by code
{
"type": "object",
"properties": {}
}get_current_currencyGet the store current currency
{
"type": "object",
"properties": {}
}test_connectionTest the connection to WooCommerce
{
"type": "object",
"properties": {}
}