About Woocommerce Rest API Ts Lib
Woocommerce Rest API Ts Lib is an MCP server published by Yuri-Lima in the Commerce category: this is some improvements from the oficial WooCommerce repo. https://github.com/woocommerce/woocommerce-rest-api-js-lib I hope they merge or accept it as new repo. soon. Please few free to contact me. Conduid read 87 tools from its source: woo_categories_create, woo_categories_delete, woo_categories_get, woo_categories_list, woo_categories_update, woo_coupons_create and 81 more. No package is published for it, so it installs from a source checkout.
The repository has 45 stars and 8 forks, and its last commit was on 29 Oct 2026. Conduid has no tagged release on record for it. Its topics include woocomerce and woocommerce.
Install
git clone https://github.com/Yuri-Lima/woocommerce-rest-api-ts-libTools (87)
woo_categories_createCreates a new product category, optionally nested under a parent. Use this when structuring or expanding the store catalog taxonomy.woo_categories_deleteDeletes a product category by ID. Products are not deleted; they simply lose this category assignment. force=true permanently deletes.woo_categories_getRetrieves a single product category by ID. Use this when you need the full category record including description, image, and product count.woo_categories_listLists product categories with pagination and optional parent filter. Use this to understand catalog taxonomy, build navigation, or assign products to the correct category IDs.woo_categories_updateUpdates an existing product category by ID. Use this to rename categories, fix slugs, re-parent nodes, or update descriptions for SEO.woo_coupons_createCreates a new coupon code with discount type, amount, and optional limits. Use this to launch promotions or generate one-off support discounts.woo_coupons_deleteDeletes a coupon by ID. Use this to retire obsolete or leaked promo codes. force=true permanently removes the coupon.woo_coupons_getRetrieves a single coupon by ID including amount, limits, and expiry. Use this when you already have the coupon ID from a list or order coupon_lines.woo_coupons_listLists discount coupons with pagination. Use this to audit active promotions, find a code by browsing, or report on campaign inventory.woo_coupons_updateUpdates an existing coupon by ID (amount, expiry, usage limits, etc.). Use this to extend campaigns or disable a code without deleting history.woo_customers_createCreates a new customer account with email and optional name, addresses, and password. Use this to onboard users from an agent workflow or seed demo accounts.woo_customers_deleteDeletes a customer by ID. force=true is required by WooCommerce for permanent deletion. Use for GDPR erasure or test cleanup only when authorized.woo_customers_getRetrieves a single customer by ID including billing/shipping and meta. Use this when you have a customer ID from an order or search and need full account details.woo_customers_listLists WooCommerce customers with pagination. Default detail=summary uses a slim `_fields` projection (no full address blobs) to cut tokens/memory — use detail=full or woo_customers_get for complete profiles. Returns customer objects and pagination metadata.woo_customers_searchSearches customers by free-text query (name, email, username). Default detail=summary uses a slim `_fields` projection. Use this when the user provides a partial name or email and you need matching accounts before acting on orders.woo_customers_updateUpdates an existing customer by ID. Use this to fix addresses, names, or billing details without recreating the account.woo_model_usage_recordRecords LLM token usage from a host model call (Anthropic/OpenAI-style) into the MCP session so woo_usage_stats can report it. Call this after each model round when your agent host tracks usage outside the MCP server.woo_orders_batchRuns multiple order create/update/delete operations in one batch request. Use this for bulk status updates (e.g. mark many orders completed) or mass test-data management while minimizing API calls.woo_orders_createCreates a new order with optional customer, line items, addresses, and payment fields. Use this to place orders on behalf of customers, seed test data, or automate checkout-like flows from an agent.woo_orders_deleteDeletes an order by ID. force=true permanently deletes; force=false moves to trash. Use carefully for test cleanup or GDPR-style removal when appropriate policies allow.woo_orders_getRetrieves a single order by ID including line items, billing/shipping, totals, and status history fields. Use this for support tickets, fulfillment, or when an order number is already known.woo_orders_listLists store orders with pagination and optional filters for status, date range, and customer. Default detail=summary uses a slim `_fields` projection to cut tokens/memory — use detail=full or woo_orders_get for complete addresses/meta. Returns order objects plus pagination metadata.woo_orders_notes_createAdds a note to an order. Set customer_note=true to show it to the customer (email may be triggered by WC). Use this to document support actions or notify customers of fulfillment updates.woo_orders_notes_listLists notes attached to a specific order (customer-visible and private staff notes). Use this when reviewing order history, support context, or audit trails for a single order.woo_orders_refunds_createCreates a full or partial refund on an order. Prefer amount for simple money refunds; use line_items for item-level restocks. api_refund=true attempts payment gateway refund when supported. Use carefully — this mutates order money and may email the customer.woo_orders_refunds_deleteDeletes a refund record from an order. force=true is required by WooCommerce for permanent delete. Use mainly for test cleanup; production finance policies often disallow removing refund history.woo_orders_refunds_getRetrieves a single refund by ID for an order, including amount, reason, and line items. Use when you have a refund ID from a list or webhook.woo_orders_refunds_listLists refunds issued against a specific order. Use this for support lookups, finance reconciliation, or before creating another partial refund so you do not double-refund.woo_orders_updateUpdates an existing order by ID (status changes, notes, addresses, line items). Use this for fulfillment transitions (e.g. processing → completed), address corrections, or partial refunds workflows that only need field updates.woo_payments_getRetrieves a single payment gateway by its ID string (e.g. bacs, cod, stripe). Use this to inspect title, enabled flag, and settings fields for a specific method.woo_payments_listLists all payment gateways registered in the store (enabled and disabled). Use this to audit checkout payment options or find gateway IDs before updating settings.woo_payments_updateUpdates payment gateway settings such as enabled state, title, or method-specific options. Use this carefully when enabling/disabling checkout methods or fixing gateway configuration from an agent workflow.woo_products_batchPerforms multiple product create, update, and/or delete operations in a single API call. Use this for bulk catalog imports, mass price updates, or multi-item cleanup to reduce round-trips and respect rate limits.woo_products_createCreates a new product in the WooCommerce catalog. Use this to add simple or variable products with pricing, descriptions, categories, and images. Returns the created product object including the new ID.woo_products_deleteDeletes a product by ID. By default force=true permanently deletes; set force=false to move to trash when supported. Use this for catalog cleanup or removing test products.woo_products_getRetrieves a single product by its numeric ID, including prices, stock, images, categories, and attributes. Use this when you already know the product ID and need full details for editing, display, or diagnostics.woo_products_listLists products from the WooCommerce catalog with pagination. Default detail=summary uses a slim `_fields` projection (no HTML descriptions/images) to cut tokens and memory — use detail=full or woo_products_get when you need the complete product. Returns product objects plus pagination metadata.woo_products_searchSearches products by a free-text query matching name, SKU, and description fields. Default detail=summary uses a slim `_fields` projection. Returns paginated matching products.woo_products_updateUpdates an existing product by ID. Only fields you provide are changed (partial update). Use this for price changes, stock adjustments, description edits, or status transitions without re-sending the full product.woo_reports_coupons_totalsReturns coupon usage/count totals from the reports API. Use this to measure promotion adoption without listing every coupon record.woo_reports_customers_totalsReturns customer counts by role or segment totals exposed by WooCommerce. Use this for a quick snapshot of the customer base size without paging through all customer records.woo_reports_orders_totalsReturns order counts grouped by status (pending, processing, completed, etc.). Use this for operational dashboards and backlog visibility without listing every order.woo_reports_products_totalsReturns product counts by type (simple, variable, etc.). Use this for catalog composition analysis and inventory planning at a high level.woo_reports_reviews_totalsReturns product review counts by status (approved, hold, spam, etc.). Use this to monitor moderation backlog and review health.woo_reports_salesFetches the WooCommerce sales report for a period or custom date range, including totals, averages, and order counts. Use this for revenue dashboards, period comparisons, or answering “how much did we sell last month?”.woo_reports_top_sellersReturns the top-selling products for a period with quantities sold. Use this to identify bestsellers, plan restocks, or build merchandising recommendations.woo_reviews_createCreates a product review (rating 1–5). Useful for seeding demo data or importing historical reviews. Prefer status=hold for moderation workflows.woo_reviews_deleteDeletes a product review by ID. force=true permanently deletes; otherwise moves to trash when supported.woo_reviews_getRetrieves a single product review by ID including rating, content, and approval status. Use when moderating a specific review from a list or notification.woo_reviews_listLists product reviews with optional filters for product, status, and reviewer. Use this for moderation queues, reputation checks, or finding unapproved reviews before publish.woo_reviews_updateUpdates a product review (status, rating, text). Use this to approve/spam reviews or correct imported content.woo_settings_getRetrieves a single setting option by group and option ID. Use this when you need the current value and metadata (type, default, options) for one configuration key.woo_settings_groups_listLists WooCommerce settings groups (general, products, tax, shipping, checkout, account, email, advanced, etc.). Use this to discover which setting groups exist before reading or updating options.woo_settings_listLists all setting options within a settings group (e.g. general, products). Use this to inspect current store configuration values such as currency, country, or tax display.woo_settings_updateUpdates a single setting option value. Use this carefully for configuration changes such as currency, store address, or tax display — always confirm intent with the user for production stores.woo_shipping_classes_getRetrieves a single product shipping class by ID. Use this to inspect slug, description, and count for a specific class.woo_shipping_classes_listLists product shipping classes used to group products for rate calculation. Use this when assigning classes to products or configuring class-based flat rates.woo_shipping_methods_listLists all registered shipping method types available in WooCommerce (not zone assignments). Use this to see which method plugins/classes the store supports.woo_shipping_zone_methods_listLists shipping methods enabled for a given zone (flat rate, free shipping, local pickup, etc.). Use this to audit delivery options available to customers in that region.woo_shipping_zones_getRetrieves a single shipping zone by ID including name and order. Use this when drilling into a specific zone from the list.woo_shipping_zones_listLists all shipping zones configured in the store. Use this to understand regional shipping setup before inspecting methods or diagnosing delivery options.woo_system_status_getFetches WooCommerce system status (environment, database, plugins, theme, security). Default detail=summary returns a slim health report suitable for agents; use detail=full for the complete payload (often 50–200KB+). Optionally pass `sections` to include only specific top-level keys.woo_system_status_tools_listLists available WooCommerce system tools (clear transients, recount terms, regenerate thumbnails, etc.). Use this to discover maintenance actions before running one.woo_system_status_tools_runRuns a WooCommerce system maintenance tool by ID (e.g. clear_transients). Use this only when the user explicitly requests a maintenance action — these can be destructive or slow on large stores.woo_tags_createCreates a new product tag. Use this when introducing a new merchandising or SEO label that products can share.woo_tags_deleteDeletes a product tag by ID. Products keep their other tags; only this association is removed. force=true permanently deletes.woo_tags_getRetrieves a single product tag by ID. Use this when you need the full tag record including slug and product count.woo_tags_listLists product tags with pagination. Use this to discover available tags for filtering, merchandising, or assigning to products during catalog work.woo_tags_updateUpdates an existing product tag by ID. Use this to rename tags or improve descriptions for storefront filters and SEO.woo_tax_classes_getRetrieves a tax class by slug. Use this to confirm a class exists before assigning it to products or rates.woo_tax_classes_listLists tax classes (standard, reduced-rate, zero-rate, and custom). Use this when assigning tax classes to products or configuring class-specific rates.woo_tax_rates_createCreates a new tax rate for a location and optional tax class. Use this when expanding into new regions or adding reduced/zero rates.woo_tax_rates_deleteDeletes a tax rate by ID. Use this to remove obsolete regional rates. force=true permanently deletes.woo_tax_rates_getRetrieves a single tax rate by ID. Use this when you need the full rate record including location and class details.woo_tax_rates_listLists configured tax rates with pagination and optional filters. Use this to audit regional tax setup or find rate IDs before updates.woo_tax_rates_updateUpdates an existing tax rate by ID. Use this when tax legislation changes or location matching needs correction.woo_usage_statsReturns token/usage statistics for this MCP server session: estimated tool-response tokens and any model (LLM) usage reports recorded by a host bridge (e.g. Anthropic). Use after multi-step agent work to audit cost.woo_variations_createCreates a new variation under a variable product. Use this when adding a new size/color combination with its own price and stock.woo_variations_deleteDeletes a product variation by ID. Use this to remove obsolete size/color SKUs from a variable product. force=true permanently deletes.woo_variations_getRetrieves a single product variation by parent product ID and variation ID. Use this for detailed variant pricing, stock, or attribute inspection.woo_variations_listLists variations for a parent variable product with pagination. Use this when managing size/color SKUs, checking per-variant stock, or syncing variant pricing.woo_variations_updateUpdates an existing product variation. Use this for variant price changes, stock adjustments, or attribute corrections.woo_webhooks_createCreates a new webhook subscription for a topic and delivery URL. Use this to connect the store to external systems (ERP, Slack, custom services) on order/product/customer events.woo_webhooks_deleteDeletes a webhook by ID. Use this to remove obsolete integrations or stop noisy event delivery. force=true permanently deletes.woo_webhooks_getRetrieves a single webhook by ID including topic, delivery URL, and status. Use this when diagnosing a specific integration endpoint.woo_webhooks_listLists configured WooCommerce webhooks with pagination. Use this to audit integrations, find broken delivery URLs, or inventory event subscriptions.woo_webhooks_updateUpdates an existing webhook by ID (status, URL, topic, name). Use this to pause/resume integrations or rotate delivery endpoints.Security checks
6 checks have not been run yet.