Moksa Coupons for WooCommerce abilities, governed through the Bridge

An agent can list, count and look up WooCommerce coupons, check codes and usage, and read performance and revenue reports. It can also create, update, enable or disable, copy, bulk-generate, expire, send and delete coupons, and change remarketing rules.

Abilities
3720 read17 destructive
Active installs
Fewer than 10
Rating
No ratings yet
Version checked
1.2.1
Requires
WP 7.0+, PHP 8.2+
Last updated
2026-10-12
Abilities verified
10 November 2026
Installs and rating as of
10 November 2026

What has to be true first

Needs WordPress 7.0 or later (the plugin's own minimum; the Abilities API itself needs 6.9), plus PHP 8.2 or later and the plugin active. Of the 37 abilities, 8 check 'manage_woocommerce'; for 29 the permission check runs through a helper or filter, so no single capability is listed here.

A note on the count below

Counted from the plugin code on 10 November 2026; settings or feature flags that the count does not evaluate may hide some of these abilities.

The 37 Moksa Coupons for WooCommerce abilities

Grouped by what each one can change. Every one starts off until you enable it.

Destructive also covers abilities the plugin does not declare read-only: the Bridge treats a missing annotation as destructive until the owner reviews it, so some of them may only look things up.

Read 20

  • Read

    Count coupons

    How many coupons the store has, broken down by status. Use this for any "how many coupons" question instead of counting rows from list-coupons. Read-only.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-count-coupons
  • Read

    List coupons

    List coupons, filterable by status (publish = enabled / draft = disabled), discount type, and keyword. Returns total (how many match the filter in the whole store) and coupons (a page of at most 50 rows, default 20). Answer questions about how many there are with total, never with the number of rows returned. Read-only.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-list-coupons
  • Read

    Look up coupon details

    Get the full settings of a single coupon (code, discount type and amount, expiry date, usage count and limit, minimum spend, restricted products, etc.). Provide a code or ID. Read-only.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-get-coupon
  • Read

    Check whether a code exists

    Check whether a given coupon code already exists, returning whether it exists and its ID. Use this before creating to avoid duplicates. Read-only.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-find-coupon-by-code
  • Read

    Look up coupon usage

    Look up a coupon's usage count, total limit and per-user limit, and remaining uses. Read-only.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-coupon-usage-summary
  • Read

    List advanced rule types

    List all 26 condition types available for "Advanced rules (AND/OR)", each with its allowed operators (op) and value shape. Check this before building moksafocou.advanced_rules. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-list-rule-types
  • Read

    Get advanced settings schema

    Return the complete JSON schema of the moksafocou advanced settings object for create-coupon / update-coupon (schedule / conditions / tiers / advanced rules / BOGO / gift / shipping…). Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-get-settings-schema
  • Read

    List payment methods

    List the id, name, and enabled status of all payment methods in this store, use the real id when setting "Payment method conditions" or a payment_method rule. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-list-payment-gateways
  • Read

    List shipping zones

    List the id and name of WooCommerce shipping zones (including the "Locations not covered" zone 0), use the real id for shipping_zone rules. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-list-shipping-zones
  • Read

    List country codes

    List the ISO codes and names of countries / regions, use the uppercase code (e.g. TW) when setting "Shipping region conditions" or a shipping_country rule. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-list-countries
  • Read

    Validate advanced rule tree

    Dry-run an "Advanced rules" tree: return whether there are valid rules, the normalized result, the types used, and any unknown types that were dropped; if sample_cart is given, also return whether it passes. Does not write. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-validate-rules
  • Read

    Coupon performance report

    Orders used and total discount for each coupon (paid orders only), sorted by discount amount from high to low. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-get-coupon-report
  • Read

    Coupon revenue overview

    Revenue, total discount, order count, and average order value of paid orders with coupons over the last N days, plus a daily trend. Answers "how much business coupons brought in". Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-coupon-revenue-overview
  • Read

    Coupon campaign report

    Aggregate the coupon count, orders used, discount, and revenue for each campaign by "Campaign" tag (paid orders only), sorted by discount from high to low. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-coupon-campaign-report
  • Read

    Suggest coupons

    Make specific coupon suggestions based on store data (average order value with coupons, slow-moving products, currently most effective coupons, coupon activity), each with parameters you can create directly. Read-only analysis.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-suggest-coupons
  • Read

    Coupon health check

    Find coupons that need attention: expired but still enabled, expiring within 7 days but never used, percentage discount too high (margin risk). Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-audit-coupons
  • Read

    List coupon templates

    List the built-in coupon templates (id, name, description, category, discount type, required modules). Pair with apply-template for one-click coupon creation. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-list-templates
  • Read

    List schedule / expiry status

    List coupons' expiry dates, schedule start/end, and campaign, sorted by expiry date; you can view a single campaign only. Use this when managing multi-stage campaigns or coupons nearing expiry. Read-only.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-list-scheduled-coupons
  • Read

    Get remarketing settings

    Read the current "automatically issue a coupon after order completion" settings: template coupon, issuance conditions, amount threshold, validity days, and whether to send an email. Read-only.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-get-remarketing-config
  • Read

    Get coupon share link / QR

    Get the "auto-apply" share URL and QR code link for a coupon (customers apply the coupon automatically by clicking or scanning). If the coupon has not enabled the URL feature, it returns enabled=false with a hint. Read-only.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-get-coupon-share

Destructive 17

  • Destructive

    Create a Buy X Get Y coupon

    Create a "Buy X Get Y (BOGO)" coupon: after the customer buys the specified products / categories in the required quantity, the gift items in the cart can be free / percentage / fixed discount, and it can be set to once or repeatable. Destructive, the call only "proposes" it, and it is created only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-create-bogo-coupon
  • Destructive

    Create coupon

    Create a new WooCommerce coupon. This is a destructive operation, the call only "proposes" it, and it is only created after the user clicks "Confirm"; you do not need to ask for confirmation yourself.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-create-coupon
  • Destructive

    Update coupon

    Update the fields of an existing coupon (discount, expiry date, usage limit, etc.; the code cannot be changed). Destructive, the call only "proposes" it, and it only takes effect after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-update-coupon
  • Destructive

    Enable/disable coupon

    Enable (publish) or disable (draft) a coupon. Destructive, the call only "proposes" it, and it only takes effect after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-toggle-coupon
  • Destructive

    Delete coupon

    Delete a coupon (by default moved to trash; force=true permanently deletes). Destructive and irreversible, the call only "proposes" it, and it is only performed after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-delete-coupon
  • Destructive

    Bulk-generate coupons

    Bulk-generate multiple coupons with the same settings and unique codes at once (for marketing campaigns). Destructive, the call only "proposes" it, and they are only created after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-bulk-generate-coupons
  • Destructive

    Extend expiry date

    Extend the expiry date of one or more coupons to a specified date. Destructive, the call only "proposes" it, and it only takes effect after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-extend-expiry
  • Destructive

    Copy coupon

    Copy an existing coupon into a new draft (keeping all discount settings and schedule / role / cart conditions, resetting the usage count to zero, and automatically appending -COPY- to the code). Destructive, the call only "proposes" it, and it is only created after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-duplicate-coupon
  • Destructive

    Create a tiered discount coupon

    Create a percentage coupon that "gives different discounts by cart threshold" using a simple tier table (e.g. spend 1000 get 10% off, spend 2000 get 20% off). Destructive, the call only "proposes"; it is created only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-create-tiered-coupon
  • Destructive

    Apply coupon template

    Apply a built-in template to create a draft coupon (first use list-templates to get the template_id). You can fine-tune code / amount / date_expires / usage_limit, etc. Destructive, the call only "proposes"; it is created only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-apply-template
  • Destructive

    Restore deleted coupon

    Restore a coupon from the trash as a draft (provide the numeric ID). Destructive, the call only "proposes"; it is restored only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-restore-coupon
  • Destructive

    Expire immediately

    Set one or more coupons to expire immediately (expiry date set to yesterday). Ends a campaign "right now" more explicitly than disabling. Destructive, the call only "proposes"; it takes effect only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-expire-now
  • Destructive

    Batch adjust expiry date

    Set the expiry date of multiple coupons to the same day at once (leave date_expires empty = clear the expiry date to make them permanent). Handy for extending or ending campaigns early. Destructive, the call only "proposes"; it takes effect only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-bulk-reschedule-expiry
  • Destructive

    Send coupon

    Send an existing coupon to a specified Email (optionally locked to that Email only). Destructive, the call only "proposes"; it is sent only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-send-coupon
  • Destructive

    Create a Mix & Match coupon

    Create a "Mix & Match" coupon: specify a set of products (or the whole site), the customer picks any N items, and the group is priced at a fixed total or a group percentage discount, repeatable. Example: pick 3 for $299 → qty=3, price_mode=fixed_total, price_value=299; pick 5 at 25% off → qty=5, price_mode=percent, price_value=25. Destructive, the call only "proposes"; it is created only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-create-mixmatch-coupon
  • Destructive

    Create an Nth-item discount coupon

    Create an "Nth-item discount" coupon: for the same set of products (or the whole site), every N items qualifies the Nth item for free / percentage / fixed discount per item, once or repeatable. Example: second item 40% off → n=2, reward_mode=percent, reward_value=40. Destructive, the call only "proposes"; it is created only after the user confirms.

    Permission
    Custom checkpermission is checked by the plugin's own code, so no single capability could be read from it
    MCP tool
    aafm-bridge-moksafocou-create-nth-item-coupon
  • Destructive

    Set remarketing rules

    Set "automatically issue a coupon after order completion": template coupon code, issuance conditions (all / first_order / min_total), amount threshold, validity days, and whether to send an email. Validates that the template coupon exists.

    Permission
    manage_woocommerceShop managers and administrators
    MCP tool
    aafm-bridge-moksafocou-set-remarketing-config

How to switch these on

Four steps from two active plugins to a governed connection.

  1. Install Moksa Coupons for WooCommerce and Agent Abilities for MCP

    Both plugins need to be active on the same WordPress site. Moksa Coupons for WooCommerce registers its own abilities; this plugin discovers and governs them.

  2. Open the Plugins’ own tools screen

    In Agent Abilities for MCP, open the Bridge tab (labeled "Plugins’ own tools" in the admin, "Other plugins" before 1.12.0). Abilities from every registered plugin appear there, grouped by the plugin that registered them.

  3. Enable one ability at a time

    Every ability from Moksa Coupons for WooCommerce starts off. Turn on only the ones you want an agent to reach, or enable the whole set in one click.

  4. Connect as a least-privilege user

    Approve the connection as a WordPress account scoped to what you actually want the agent to do. Each call still re-checks that account’s capability before it runs.

Read more in how bridging works or the full documentation.

Frequently asked questions

Does Moksa Coupons for WooCommerce work with the Bridge?

Yes. Moksa Coupons for WooCommerce calls wp_register_ability() for 37 abilities in its current code on wordpress.org, so the Bridge can discover them once the plugin is active.

Do Moksa Coupons for WooCommerce's abilities register automatically?

Yes, once Moksa Coupons for WooCommerce is active, as far as its code shows. This directory reads the code but does not evaluate every setting or feature flag, so check the plugin's own settings if an ability is missing on your site.

Does Moksa Coupons for WooCommerce need anything special to work with the Bridge?

Needs WordPress 7.0 or later (the plugin's own minimum; the Abilities API itself needs 6.9), plus PHP 8.2 or later and the plugin active. Of the 37 abilities, 8 check 'manage_woocommerce'; for 29 the permission check runs through a helper or filter, so no single capability is listed here.

More Ecommerce plugins

An agent can list, create, update, and delete WooCommerce products, and list orders, add order notes, or change an order's status, all through the same REST layer as the wc/v3 API.

Ecommerce7M+ active installsVerified 28 September 2026
2 read2 write3 destructive
Built-in integration tooView abilities

An agent can pull the connected Stripe account's status and balance, and read charges, payment intents, disputes, payouts and balance transactions by ID or as lists, all read-only, once WooCommerce and the plugin's ability feature flag are both enabled.

Ecommerce700K+ active installsVerified 28 September 2026
10 read
View abilities

An agent can check whether the store's PayPal account is connected, list configured payment methods, and look up a PayPal order's captures, refunds and shipment tracking, all read-only, once WooCommerce and the plugin's ability feature flag are both enabled.

Ecommerce700K+ active installsVerified 28 September 2026
4 read
View abilities

Verified from Moksa Coupons for WooCommerce's own free wordpress.org code (version 1.2.1) on 10 November 2026, not from its marketing claims. Not every ability listed here has been run end to end against a live site. Plugin authors change their code, so a name, a capability, or a condition can be different in a later release. This site is not affiliated with, or endorsed by, Moksa or Moksa Coupons for WooCommerce. Back to the full directory.

Back to the plugin directory

Bridge Moksa Coupons for WooCommerce, keep the same control.

Every ability starts off, is scoped to the user you connect, and is written to the same audit log as core. Turn on only what you need.

Off by default. Capability checked on every call.