Stay AI MCP by usefulapi
v1.2.1Read subscriptions, orders and billing attempts; end subscriptions, skip deliveries in Stay AI.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
stayai_list_subscriptions List subscriptions
List subscription contracts with status (ACTIVE, PAUSED, CANCELLED), next billing date, customer and dunning state. Good first call for churn and billing questions. Stay API: GET /subscriptions/.
| Parameter | Type | Description |
|---|---|---|
created_at_max | integer | Timestamp filter as an integer, in the format the Stay docs use. |
created_at_min | integer | Timestamp filter as an integer, in the format the Stay docs use. |
email | string | Filter by customer email. |
is_in_dunning | boolean | Only subscriptions with failed payments being retried. |
next_billing_date_max | integer | Timestamp filter as an integer, in the format the Stay docs use. |
next_billing_date_min | integer | Timestamp filter as an integer, in the format the Stay docs use. |
page | integer | Page number (default 1). |
page_size | integer | Results per page. |
sort_by | string | Field to sort by, as the Stay docs name it. |
sort_direction | string | Sort direction. |
status | string | Filter by subscription status. |
updated_at_max | integer | Timestamp filter as an integer, in the format the Stay docs use. |
updated_at_min | integer | Timestamp filter as an integer, in the format the Stay docs use. |
stayai_get_subscription Get a subscription
Get one subscription by its Shopify or internal subscription id. Stay API: GET /subscriptions/{subscriptionId}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | Shopify (gid://shopify/SubscriptionContract/...) or internal subscription id. |
stayai_list_customers List customers
List subscription customers, filtered by creation or update time. Stay API: GET /customers.
| Parameter | Type | Description |
|---|---|---|
created_at_max | string | ISO 8601 datetime. |
created_at_min | string | ISO 8601 datetime, e.g. 2026-09-10T17:14:00Z. |
page | integer | Page number (default 1). |
page_size | integer | Results per page. |
updated_at_max | string | ISO 8601 datetime. |
updated_at_min | string | ISO 8601 datetime. |
stayai_list_orders List subscription orders
List recurring orders generated from subscriptions, filtered by creation or update time. Stay API: GET /orders.
| Parameter | Type | Description |
|---|---|---|
created_at_max | integer | Timestamp filter as an integer, in the format the Stay docs use. |
created_at_min | integer | Timestamp filter as an integer, in the format the Stay docs use. |
page | integer | Page number (default 1). |
page_size | integer | Results per page. |
sort_by | string | Field to sort by, as the Stay docs name it (e.g. createdAt). |
sort_direction | string | Sort direction. |
updated_at_max | integer | Timestamp filter as an integer, in the format the Stay docs use. |
updated_at_min | integer | Timestamp filter as an integer, in the format the Stay docs use. |
stayai_list_billing_attempts List billing attempts
List billing attempts for the store, successful and failed, with error codes and messages. Useful for payment-failure and dunning analysis. Stay API: GET /billing/attempts.
| Parameter | Type | Description |
|---|---|---|
billing_attempt_date_max | string | Upper bound of the attempt date, as the Stay docs format it. |
billing_attempt_date_min | string | Lower bound of the attempt date, as the Stay docs format it. |
customer_email | string | Only attempts for this customer email. |
error_code | string | Filter by error code. |
page | integer | Page number (default 1). |
page_size | integer | Results per page. |
subscription_id | string | Only attempts for this subscription id. |
stayai_list_catalog List catalog products
List the products in the store catalog that Stay can sell on subscription. Stay API: GET /products/catalog.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
stayai_get_catalog_product Get a catalog product
Get one catalog product by its Shopify product id. Stay API: GET /products/{shopifyProductId}.
| Parameter | Type | Description |
|---|---|---|
shopify_product_id * | string | Shopify product id (gid://shopify/Product/... or the numeric id). |
stayai_list_selling_plan_groups List selling plan groups
List subscription selling plan groups (the plans a shopper can pick), optionally for one product or variant. Stay API: GET /selling-plan-groups/.
| Parameter | Type | Description |
|---|---|---|
shopify_product_id | string | Shopify product gid. |
shopify_selling_plan_group_id | string | Shopify selling plan group gid. |
variant_id | string | Shopify variant id. |
stayai_get_selling_plan_group Get a selling plan group
Get one selling plan group by its Stay id. Stay API: GET /selling-plan-groups/{sellingPlanGroupId}.
| Parameter | Type | Description |
|---|---|---|
selling_plan_group_id * | string | The Stay selling plan group id (from stayai_list_selling_plan_groups). |
stayai_end_subscription End a Stay subscription
Cancel a subscription. This ends future orders and cannot be undone by this server (reactivation is a separate Stay action). Pass the reasons the merchant or customer gave. Stay API: POST /subscriptions/{subscriptionId}/cancel.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | Shopify or internal subscription id to cancel. |
cancellation_reasons | array | Reasons for the cancellation, e.g. 'too expensive'. |
initiator | string | Who started the cancellation (default MERCHANT). |
stayai_skip_line Skip a subscription line
Skip the next delivery of one line on a subscription. A retry after a lost reply can skip a further delivery, so do not repeat it blindly. Stay API: POST /subscriptions/{subscriptionId}/lines/{lineId}/skip.
| Parameter | Type | Description |
|---|---|---|
line_id * | string | The line id on that subscription (from stayai_get_subscription). |
subscription_id * | string | Shopify or internal subscription id. |