Resources and Prompts
Beyond callable tools, the MCP server exposes two other primitives that many clients (Claude Desktop, MCP Inspector) surface directly in their UI.Resources
Read-only URIs that a client can browse without invoking a tool. Perfect for grounding an assistant on the merchant’s live data.| URI | Contents |
|---|---|
plans://all | Every billing plan on the merchant account. |
subscriptions://active | Subscriptions currently in the active state. |
analytics://summary | Full dashboard analytics response for the current billing month. |
events://recent | Most recent outbound webhook deliveries — useful for support. |
customers://{emailOrCode} | Per-customer profile, subscriptions, and payment sources (URI template). |
Example
A Claude Desktop user can dragplans://all into a chat, ask “which of these plans has the worst churn?”, and Claude will use compute_metric and get_subscriptions to answer without the user having to name specific plan codes.
Prompts
Reusable prompt templates that orchestrate multiple tools into a single guided workflow. Clients typically expose them as slash-commands or “run” buttons.monthly_business_review
Orchestrates a monthly review. Optional argument:
focus— narrow the review to one area, e.g."revenue","churn","payments".
generate_business_report— top-level view.explain_metric_changeon any concerning metric (MRR, churn rate, payment failure rate).compare_periodson revenue and MRR (this_monthvslast_month).generate_dunning_reportif payment failures look elevated.- A Markdown summary with Highlights / Concerns / Recommended actions.
subscription_health_check
Diagnoses subscription health and produces per-customer next actions. Optional argument:
customer— focus on a single customer by email or code.
compute_metricforchurn_rate,retention_rate,past_due_subscriptions,payment_failure_rate.get_subscriptionsfiltered on concerning states, inspecting the top offenders.explain_metric_changeonchurn_rateto surface drivers.generate_dunning_reportto surface at-risk customers.- A Markdown summary that recommends specific tool calls per customer (
send_dunning_reminder,retry_payment,create_portal_link).
