Smartrr MCP server

Manage Smartrr subscriptions on Shopify: customers, orders, bills; pause, resume, cancel. Hosted by usefulapi — connect from Claude, ChatGPT, Cursor, or any MCP client.

Claude claude.ai · Desktop

  1. Open Customize → Connectors, then click + Add → Add custom connector.
  2. Enter the name Smartrr and this URL, then click Add:
    https://smartrr.usefulapi.io/mcp
  3. Claude opens the login page: enter your Smartrr access token.
  4. In a chat, click + → Connectors and turn on Smartrr.

Team and Enterprise: an Owner adds the connector for the organization first.

Claude Code

Run this command, then run /mcp in Claude Code to log in:

claude mcp add --transport http smartrr https://smartrr.usefulapi.io/mcp

Cursor

Add to Cursor or add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "smartrr": {
      "url": "https://smartrr.usefulapi.io/mcp"
    }
  }
}

VS Code

Add to VS Code or add this to .vscode/mcp.json:

{
  "servers": {
    "smartrr": {
      "type": "http",
      "url": "https://smartrr.usefulapi.io/mcp"
    }
  }
}

ChatGPT chatgpt.com

  1. Open Plugins, click +, then Add custom MCP server.
  2. Enter the name Smartrr and this URL, choose OAuth as the authentication, confirm the warning and create it:
    https://smartrr.usefulapi.io/mcp
  3. ChatGPT opens the login page: enter your Smartrr access token.
  4. In Plugins, install Smartrr, then choose it in a chat.

No Add custom MCP server option? It depends on your account or workspace settings: see OpenAI's guide.

Codex

Run these commands. The second one opens the login page:

codex mcp add smartrr --url https://smartrr.usefulapi.io/mcp
codex mcp login smartrr

Other MCP clients (Windsurf, Cline, Zed and more): add the URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser. Do not add an Authorization header: see Before you connect.

live25 toolsFree 50 tool calls / monthPro $9/mo · $90/yr

Before you connect

The login page asks for your Smartrr access token.

Create it in your Shopify admin → Apps → Smartrr → Integrations → Add Key. Name it, then set its permissions: read access for everything you want the assistant to see, and write access only if it should pause, skip, cancel or retry bills. Your token is used only to call the Smartrr API on your behalf; it is never shown to anyone.

Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Smartrr access token. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

Example prompts

Turn on the Smartrr connector, then ask in plain words. The AI picks the tools.

Tools 25

ToolTypeWhat it does
smartrr_list_subscriptionsread
List subscriptions
List customer subscriptions (Smartrr 'purchase states') with status, next billing date, selling plan, line items, shipping address, discounts and the customer (id, email, name). Filter by status, next billing date or creation date. The ids you need for the other tools: `id` (subscription id), `custRel.id` (customer id) and `shopifyId` (Shopify subscription id). GET /vendor/purchase-state.
smartrr_get_subscriptionread
Get subscription
One subscription by its Shopify subscription id (the `shopifyId` field from smartrr_list_subscriptions, passed exactly as shown): status, schedule, next billing date, line items, discounts, shipping address, customer and payment method (brand, last digits and expiry only). GET /vendor/purchase-state/{shopifySubscriptionId}.
smartrr_list_customer_subscriptionsread
List a customer's subscriptions
List the subscriptions of one customer, by Smartrr customer id (`custRel.id` from smartrr_list_subscriptions, or `id` from smartrr_list_customers). GET /vendor/customer/{customerRelationshipId}/purchase-state/.
smartrr_get_subscription_eventsread
Get subscription history
The 250 most recent events on a subscription (pause, skip, cancel, activate, billing attempts and failures, line-item and address changes, discounts) with who did it. GET /vendor/purchase-state/{shopifySubscriptionId}/events.
smartrr_get_subscription_ordersread
List a subscription's orders
Orders generated by one subscription, by its Shopify subscription id. GET /vendor/purchase-state/{shopifySubscriptionId}/orders.
smartrr_get_subscription_billsread
List a subscription's bills
Billing attempts of one subscription (amount, status pending/processing/succeeded/failed/canceled, billing date, retry count, error), by its Shopify subscription id. GET /vendor/purchase-state/{shopifySubscriptionId}/bills.
smartrr_list_customersread
List customers
List Smartrr customers (subscribers) with email, name, phone, order count, total spent and custom attributes. Search by email fragment or filter by Shopify customer id. GET /vendor/customer-relationship.
smartrr_list_ordersread
List orders
List orders Smartrr has synced from Shopify (subscription and one-time) with totals, status, financial and fulfillment status, tracking, items and customer. Filter by processed date or order label (e.g. #1001). GET /vendor/order.
smartrr_get_orderread
Get order
One order by its Shopify order id (the `shopifyId` field in smartrr_list_orders, passed as shown). GET /vendor/orders/{shopifyId}.
smartrr_list_billsread
List bills
List billing attempts across all subscriptions with amount, status (pending, processing, succeeded, failed, canceled), billing date, retry count, error and the subscription and customer. Filter by billing date; `status` filters the returned page only (use page_size 100 and next_page to cover more). Bill ids are numbers. GET /vendor/bill.
smartrr_get_bill_historyread
Get bill history
The audit trail of one bill: every status change, retry and error. GET /vendor/bill/{billId}/history.
smartrr_list_selling_plan_groupsread
List subscription programs
The store's subscription programs (selling plan groups) and their plans: name, options, delivery and billing frequency, discounts. GET /vendor/selling-plan-group.
smartrr_list_cancellation_reasonsread
List cancellation reasons
The cancellation reasons configured in Smartrr (id, type, text, action, retention discount). Use an `id` as reason_id when cancelling a subscription. GET /vendor/cancellation-reasons.
smartrr_get_analyticsread
Get subscription analytics
Active subscription count and active subscriber count for each day in a date range. GET /vendor/analytics-simple.
smartrr_pause_subscriptionwrite
Pause a subscription
WRITE: pause a customer's subscription until a date: no orders or charges are created while it is paused, then it resumes on that date. Reverse it with smartrr_resume_subscription. Takes the customer id and subscription id from smartrr_list_subscriptions. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/pause.
smartrr_resume_subscriptionwrite
Resume a subscription
WRITE: reactivate a paused or cancelled subscription; the customer will be billed on next_billing_date and every cycle after. Customer-facing: it restarts charges to the customer's card. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/activate.
smartrr_cancel_customer_subscriptionwrite
Cancel a customer's subscription
WRITE, DESTRUCTIVE: cancel a customer's subscription in the merchant's store (this is the customer's Smartrr subscription, not your usefulapi plan). It stops all future orders and charges; the reason may trigger Smartrr's configured cancellation emails or actions. It can be undone only with smartrr_resume_subscription. Get reason_id from smartrr_list_cancellation_reasons. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/cancel.
smartrr_skip_orderwrite
Skip a subscription order
WRITE: skip one scheduled order of a subscription (no order and no charge for that cycle; the schedule moves on). `date` is the scheduled order date to skip; omit it to skip the next one. Reverse with smartrr_unskip_order. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/skip.
smartrr_unskip_orderwrite
Unskip a subscription order
WRITE: restore a previously skipped order of a subscription, so it is billed and shipped again. `date` is the skipped order date; omit it to restore the earliest skip. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/unskip.
smartrr_set_next_billing_datewrite
Set next billing date
WRITE: change the date on which a subscription is next billed and its order created. Customer-facing: the customer is charged on the new date. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/next-billing-date.
smartrr_retry_billwrite
Retry a failed bill
WRITE, CHARGES THE CUSTOMER: retry a billing attempt now. If it succeeds the customer's saved payment method is charged for the bill amount and the order is created. Check the bill with smartrr_list_bills first; do not retry a succeeded bill. Not idempotent: each call can charge again. Requires confirm=true. POST /vendor/bill/{billId}/retry.
smartrr_usage_statusmeta
Usage status (free-tier meter)
Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter.
smartrr_request_featuremeta
Request a missing feature
Tell usefulapi that the user needs something the Smartrr tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter.
smartrr_upgrademeta
Upgrade to Pro (unlimited*)
Get Pro: unlimited tool calls (fair use limit: 10,000 a month) on Smartrr (the free tier caps monthly usage). Plans: "monthly" — $9/month; "yearly" — $90/year (2 months free). Cancel any time: Pro then runs to the end of the paid period, so it also suits a one-time job. *A fair use limit applies. For heavy use (near Pro's limit): "plus" or "plus_yearly" — Pro+, $19/month or $190/year, unlimited tool calls (fair use limit: 100,000 a month); an existing Pro subscription changes to Pro+ in place (needs confirm: true; the price difference for the rest of the period is charged at once). Otherwise returns a short link to open in your browser (it opens Stripe Checkout); after payment the account upgrades automatically. Does not count against the meter.
smartrr_cancel_subscriptionmeta
Cancel the Pro subscription
Cancel the caller's Smartrr Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run smartrr_upgrade later to undo the cancel before the period ends. Does not count against the meter.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Proper user$9/mo · $90/yrUnlimited*

*Pro fair use limit: 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this Smartrr server only. Subscribe with smartrr_upgrade (it returns a Stripe Checkout link). Cancel any time with smartrr_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running smartrr_upgrade before then undoes the cancel. Or write to [email protected].

FAQ

Is this an official Smartrr product?

No. usefulapi is an independent service. It is not affiliated with or endorsed by Smartrr. The server calls the Smartrr API with your own Smartrr access, so it sees only the data that your account can see.

Can I connect Smartrr to Claude or ChatGPT?

Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See the setup steps.

What do I need to connect?

The login page asks for your Smartrr access token. See Before you connect for where to find it.

Do I put my Smartrr key or an Authorization header in the client config?

No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Smartrr access token. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.

How do you keep my Smartrr credentials?

The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Smartrr API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Smartrr.

Can the AI change my Smartrr data?

Yes, if you approve it. 7 of the 21 Smartrr tools can create or change data. The other 14 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.

What does it cost?

The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with unlimited tool calls (fair use limit: 10,000 tool calls a month), for this Smartrr server only. Cancel any time: Pro then runs to the end of the paid period. Run smartrr_usage_status to see how many calls you used.

How do I subscribe or cancel?

Ask the AI to run smartrr_upgrade: it returns a Stripe Checkout link. To cancel, run smartrr_cancel_subscription. Pro continues to the end of the paid period.

What if a Smartrr tool that I need is missing?

Tell the AI what you wanted to do. It can send the request with smartrr_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.

Which AI clients can I use?

Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf and others.

This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.

More Payments & Billing MCP servers

AmberfloAutumnBasis TheorybexioBilfloBill4TimeBillomatBillyBind ERPBraintreeCashCtrlChargebeeChargeOverCheckout.come-BoekhoudenFreeAgentInstamojoInvoice NinjaInvoicedLagoLemon SqueezyLexware OfficeMercoaMerit AktivaMoonClerkOblioOrbPolarRecurlySeal SubscriptionssevdeskSmartAccountsSmartBillSuperFakturaSzámlázz.huVyfakturuj

All Payments & Billing servers →