Skip to main content
Glama
kienpt91

mcp-stripe-revenue-server

by kienpt91

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDACT_EMAILSNoWhen true, masks customer emails in list_failed_payments output (billing@northwind.example becomes b***@northwind.example).false
STRIPE_API_KEYYesA restricted, read-only Stripe key (rk_...) with read access to Subscriptions, Invoices and Coupons. Not needed when the server is launched with the --demo flag.
STRIPE_MAX_ITEMSNoA single list read stops with a clear error once it has seen more than this many objects.50000
STRIPE_CACHE_TTL_SECONDSNoStripe lists (subscriptions, failed and paid invoices) are cached in memory for this many seconds. Set to 0 to disable the cache.60

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_mrrA

Current MRR and ARR per currency. Counts active and past_due subscriptions, normalizes yearly/weekly/daily/multi-month prices and quantities to a monthly amount, and applies percent_off / amount_off discounts that are active right now. Amounts are in minor units (cents); currencies are never combined.

get_churnA

Churn over the last N days: subscriptions and customers that existed at the start of the window and had ended by its close, as a rate (null when nothing existed at the start), plus churned MRR per currency.

list_failed_paymentsA

Invoices from the last N days that Stripe tried to collect at least once and that are still unpaid (open or uncollectible), newest first, with amount, customer and attempt count. Totals cover every match; limit only truncates the invoice list.

revenue_summaryA

One-call overview for the last N days: current MRR, cash collected from paid invoices, failed payment totals and churn. Every money figure is grouped per currency.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a distinct primary purpose: MRR, churn, failed payments, and an aggregate overview. The only overlap is that revenue_summary repeats metrics available from the individual tools, but its description clearly frames it as a one-call overview, making selection mostly clear.

Naming Consistency4/5

Names are all snake_case and mostly follow a verb_noun pattern (get_mrr, get_churn, list_failed_payments). revenue_summary is a noun phrase rather than verb_noun, which is a minor deviation but still understandable and predictable.

Tool Count5/5

Four tools is well-scoped for a focused Stripe revenue metrics server. Each tool covers a distinct metric area, and the aggregate summary tool adds convenience without overwhelming the surface.

Completeness4/5

The set covers core revenue analytics: MRR/ARR, churn, failed payments, and a summary with cash collected. Minor gaps exist around deeper drill-downs such as per-customer revenue or successful invoice listings, but the main metrics are fully represented.

Maintenance

ActivityMaintained
ResponsivenessNo issues