Recurpay MCP by usefulapi

v1.13.1
io.usefulapi/recurpay Checked 2 days ago Published 1 day ago

Read subscriptions, subscribers and orders; manage renewals, billing skips and payment links.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

recurpay_get_access_scopes

Show the API scopes of the custom app whose token is connected (read-/write- subscriptions, customers, orders, plans, payments, webhooks). Use it when a tool answers 403.

recurpay_list_subscriptions

List the store's subscriptions (status active/paused/halted/cancelled/draft, subscriber, plan policies, line items, next_billing_at). Filter by status, plan, subscriber email and dates. Use status=halted to find subscriptions whose renewal payment failed. Page with next_page.

ParameterTypeDescription
created_at_maxstringOnly subscriptions created on or before this date.
created_at_minstringOnly subscriptions created on or after this date.
emailstringOnly subscriptions of the subscriber with this email.
limitintegerResults per page, 1-100 (default 100).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.
plan_idOnly subscriptions of this plan (id from recurpay_list_plans).
sort_bystringSort direction (default asc).
sort_keystringField to sort by (default id).
statusstringOnly subscriptions with this status.
updated_at_maxstringOnly subscriptions updated on or before this date.
updated_at_minstringOnly subscriptions updated on or after this date.

recurpay_get_subscription

Get one subscription with its subscriber, addresses, line items, discount codes, billing/delivery policy, payment method and billing dates.

ParameterTypeDescription
subscription_id *Recurpay subscription id (from recurpay_list_subscriptions).

recurpay_list_subscribers

List the store's subscribers (customers with at least one subscription): name, email, phone, addresses, total spent. Filter by name, email and dates. Page with next_page.

ParameterTypeDescription
created_at_maxstringOnly subscribers created on or before this date.
created_at_minstringOnly subscribers created on or after this date.
emailstringOnly the subscriber with this email.
first_namestringOnly subscribers with this first name.
last_namestringOnly subscribers with this last name.
limitintegerResults per page, 1-100 (default 100).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.
sort_bystringSort direction (default asc).
sort_keystringField to sort by (default id).
updated_at_maxstringOnly subscribers updated on or before this date.
updated_at_minstringOnly subscribers updated on or after this date.

recurpay_get_subscriber

Get one subscriber (customer) with contact data, addresses and total spent.

ParameterTypeDescription
subscriber_id *Recurpay subscriber id (from recurpay_list_subscribers).

recurpay_list_orders

List the orders generated by subscriptions (name, subscriber, status, totals). Filter by order name, subscriber email, subscription and dates. Page with next_page.

ParameterTypeDescription
created_at_maxstringOnly orders created on or before this date.
created_at_minstringOnly orders created on or after this date.
emailstringOnly orders of the subscriber with this email.
limitintegerResults per page, 1-100 (default 100).
namestringOnly orders with this name (the store's order number).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.
sort_bystringSort direction (default asc).
sort_keystringField to sort by (default id).
subscription_idOnly orders of this subscription.
updated_at_maxstringOnly orders updated on or before this date.
updated_at_minstringOnly orders updated on or after this date.

recurpay_get_order

Get one order with its subscriber and line items.

ParameterTypeDescription
order_id *Recurpay order id (from recurpay_list_orders).

recurpay_list_order_subscriptions

List the subscriptions that belong to one order.

ParameterTypeDescription
order_id *Recurpay order id (from recurpay_list_orders).
created_at_maxstringOnly subscriptions created on or before this date.
created_at_minstringOnly subscriptions created on or after this date.
limitintegerResults per page, 1-100 (default 100).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.
sort_bystringSort direction (default asc).
sort_keystringField to sort by (default id).
updated_at_maxstringOnly subscriptions updated on or before this date.
updated_at_minstringOnly subscriptions updated on or after this date.

recurpay_list_plans

List the subscription plans (selling plan groups) with their delivery/billing policies and discounts. Filter by plan title, product title/handle and dates. Page with next_page.

ParameterTypeDescription
created_at_maxstringOnly plans created on or before this date.
created_at_minstringOnly plans created on or after this date.
limitintegerResults per page, 1-100 (default 100).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.
plan_titlestringOnly plans with this title.
product_handlestringOnly plans attached to a product with this handle.
product_titlestringOnly plans attached to a product with this title.
sort_bystringSort direction (default asc).
sort_keystringField to sort by (default id).
updated_at_maxstringOnly plans updated on or before this date.
updated_at_minstringOnly plans updated on or after this date.

recurpay_get_plan

Get one plan with its selling plans (delivery policy, billing policy, anchors, discounts).

ParameterTypeDescription
plan_id *Recurpay plan id (from recurpay_list_plans).

recurpay_list_plan_products

List the products attached to one plan, with the variants excluded from it.

ParameterTypeDescription
plan_id *Recurpay plan id (from recurpay_list_plans).
limitintegerResults per page, 1-100 (default 100).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.

recurpay_list_webhooks

List the webhook subscriptions of the store (topic, address, status). Needs the read-webhooks scope.

ParameterTypeDescription
created_at_maxstringOnly webhooks created at or before this date.
created_at_minstringOnly webhooks created at or after this date.
limitintegerResults per page, 1-100 (default 100).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.

recurpay_cancel_customer_subscription

WRITE: cancel one subscriber's subscription in Recurpay (status becomes cancelled; billing and deliveries stop). This is the merchant's action on a customer's subscription, not the cancellation of this MCP server's own plan. Only the merchant can re-activate it. Ask the user to confirm the subscription first.

ParameterTypeDescription
cancelled_reason *stringReason shown on the subscription, e.g. 'Customer asked to cancel'.
subscription_id *Recurpay subscription id (from recurpay_list_subscriptions).

recurpay_skip_next_billing

WRITE: skip the subscription's next billing/delivery cycle (the next order is not generated). Ask the user to confirm the subscription first.

ParameterTypeDescription
subscription_id *Recurpay subscription id (from recurpay_list_subscriptions).

recurpay_renew_subscription

WRITE, MAY CHARGE THE CUSTOMER: renew the subscription now. Recurpay runs the billing cycle immediately, which can charge the subscriber's saved payment method and create an order. Use it e.g. to retry a halted subscription. Only call it when the user explicitly asks for it and set confirm=true. Repeated calls may repeat the charge or notification.

ParameterTypeDescription
confirm *booleanSet true only after the user explicitly approved this action and its customer/charge effects.
subscription_id *Recurpay subscription id (from recurpay_list_subscriptions).

recurpay_update_subscriber

WRITE: change a subscriber's contact data (email, first name, last name, phone). Only the fields you pass are sent. Ask the user to confirm the new values.

ParameterTypeDescription
subscriber_id *Recurpay subscriber id (from recurpay_list_subscribers).
emailstringNew email address.
first_namestringNew first name.
last_namestringNew last name.
phonestringNew phone number in international format, e.g. +12025550151.

recurpay_update_subscription_coupon

WRITE: add or remove a discount code (coupon) on one subscription; it changes what the subscriber pays on the next billings. Ask the user to confirm.

ParameterTypeDescription
action *stringadd = apply the code, remove = take it off.
code *stringThe discount code title, e.g. TEST20.
subscription_id *Recurpay subscription id (from recurpay_list_subscriptions).