SparkPay
io.github.muammar-yacoob/spark-pay
SaaS billing over Stripe: plans, coupons, subscriptions, credits, revenue and affiliates
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
C’est votre projet ? Revendiquez la fiche pour répondre aux questions, être prévenu des avis et apparaître comme auteur.
- Dépôt
- github.com/muammar-yacoob/spark-pay
- Site
- sparkpay.dev/
- Adresse du serveur
https://sparkpay.dev/api/mcp/mcp(streamable-http)- Version
- 1.0.0
- Auteur
- muammar-yacoob (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 30 nov. 2026)
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Questions à l’auteur
Pas encore de question.
Connectez-vous pour poser une question à l’auteur. L’auteur n’a pas encore revendiqué cette fiche : il ne sera prévenu que s’il la revendique. Les autres membres peuvent répondre.
Comment l’installer
Le serveur accepte et demande un en-tête : Authorization. Remplacez VOTRE_CLE par votre clé.
Claude Code
Dans un terminal :
claude mcp add --transport http spark-pay https://sparkpay.dev/api/mcp/mcp \
--header "Authorization: Bearer VOTRE_CLE"Claude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://sparkpay.dev/api/mcp/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://sparkpay.dev/api/mcp/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"spark-pay": {
"url": "https://sparkpay.dev/api/mcp/mcp",
"headers": {
"Authorization": "Bearer VOTRE_CLE"
}
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"spark-pay": {
"type": "http",
"url": "https://sparkpay.dev/api/mcp/mcp",
"headers": {
"Authorization": "Bearer VOTRE_CLE"
}
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 1 déc. 2026, 09:51 (test fait par L’Atlas)
- Temps de réponse
- 596 ms (test complet)
- Outils trouvés
- 29
- Nom annoncé
- spark-pay 1.0.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 8 déc. 2026
Voir les outils (29)
list_apps
List the registered apps (app_id + name). Use this first to discover valid app_id values, then pass one to the other tools to scope results to a single product.list_subscriptions
List subscriptions/registrations, newest first. Optionally filter by app_id, status, or payment_type. Returns metadata (email, status, plan, amounts). Use get_customer for a single user, or revenue_summary for totals.get_customer
Look up a customer by email. Returns every subscription/registration for that email across apps (or within one app if app_id is given), with full detail: verification, plan, billing period, usage, refunds. Empty when the email is unknown.list_recent_payments
List recent paid transactions (excludes free-tier rows), newest first, ordered by payment date. Optionally scope by app_id. Use to review recent sales activity. Amounts are in the transaction currency (cents).revenue_summary
Revenue and subscriber summary in USD cents (normalized from each transaction currency). Returns latest_payments (the MOST RECENT payment summed per customer: a run-rate, NOT lifetime turnover, because amount_paid is overwritten on renewal)revenue_by_app
Per-app rollup in USD cents (latest_payments/refunded/MRR + paid customer count), largest refund-adjusted latest payments first. latest_payments sums the most recent payment per customer, so it is a run-rate and NOT lifetime turnover. No lilist_referrals
List referral records (who referred whom, reward coupon code, pending/rewarded status) with what the referred buyer paid, newest first. Use for working out creator commission: a one_time referredPaymentType means referredAmountPaidCents isaffiliate_commissions
Monthly per-code affiliate commission report, newest month first: attributed paid revenue (USD cents) and what each creator is owed, from the affiliate payment ledger. A payment counts only within 12 months of that buyer's FIRST attributedlist_recent_cancellations
Recently canceled paid subscriptions (excludes free rows), most recent cancellation first, with what each customer was paying. Use for churn review; list_subscriptions orders by signup date instead.list_coupons
List discount coupons (code, percent off, expiry, max uses, use count, which paid tiers they apply to). Optionally scope by app_id and/or restrict to currently-active ones (not expired, not maxed out). Read-only: cannot create, edit, or delcreate_coupon
Create a percentage discount coupon for an app. WRITE, human-gated: a real create requires an elicitation-capable client (e.g. Claude Desktop). The human enters the final code, percent, expiry, visibility, and tier scope in a form; those vabulk_create_coupon
Create the SAME discount code across many apps in one call: the portfolio-promo shortcut (e.g. a summer sale on every owned app). WRITE, human-gated: a real create requires an elicitation-capable client; the human enters the coupon terms ONdelete_coupon
Delete one coupon from an app. WRITE, human-gated: a real delete requires an elicitation-capable client; the human sees the exact coupon (code, percent, redemption count) and must click approve. The model cannot confirm on its own, and confbulk_delete_coupon
Delete the SAME coupon code across many apps in one call: the inverse of bulk_create_coupon, for retiring a portfolio-wide promo. WRITE, human-gated: a real delete requires an elicitation-capable client; the human sees every app the code woset_coupon_listed
Show, hide or SCHEDULE an EXISTING coupon on the public pricing pages by setting its `listed` flag and optional `listed_from` start date. WRITE, human-gated: a real write requires an elicitation-capable client and the human sees the code, tset_coupon_affiliate
Mark an EXISTING coupon as a creator's AFFILIATE code at an agreed commission % (the standing deal is 30% of first-year attributed revenue), or clear the mark with percent:null. WRITE, human-gated: a real write requires an elicitation-capablist_coupon_invites
List who a coupon was offered to and what they did with it: per-address status (invited / redeemed / revoked), where the invite came from, and the timestamps. Also returns the coupon's own `invite_only` flag -- read that FIRST: when it is finvite_to_coupon
Add email addresses to a coupon's invite list and, by default, switch the coupon to invite-only so the list is actually enforced. WRITE, human-gated: a real write requires an elicitation-capable client and the human sees every address plusrevoke_coupon_invite
Withdraw one address's right to spend a coupon: the targeted block. WRITE, human-gated: a real write requires an elicitation-capable client and the human sees the address and its current status; clients without elicitation are refused unlesplan_app_kit
Step 1 of onboarding a new app onto SparkPay. Recons app_name against existing apps and the rest of the portfolio's plan catalogs, then returns automated findings plus the minimum set of questions that genuinely need a human answer (plan prcreate_app_kit
Step 2 of onboarding a new app onto SparkPay. Applies answers.plan_catalog by minting real Stripe prices (same helper /api/apps/sync-plans uses) and registers/updates the app, then returns a downloadable integration kit (lib/spark-pay clienlist_plans
Download an app's live plan catalog: tiers, names, prices, trial, and the machine-readable `limits` that gate features inside the app. This is the source of truth each app repo's `bun run plans:sync` regenerates lib/spark-pay/plans.json froupdate_plan_limits
Change the per-tier numbers an app's catalog gates on: its usage `limits` (default), or, with target:"grants", what ONE purchase of a credit pack adds to the buyer's credits_by_key. Nothing else writes `grants` on an existing plan. It onlyupdate_plan_meta
Set an existing tier's display metadata: its name and the two badge flags the public pricing page styles cards from: is_elite (gold/carbon BEST VALUE card with the rainbow title and app icon) and recommended (MOST POPULAR). A tier called "Eupdate_plan_pricing
Change what an app's EXISTING tiers charge: the amount, the billing model (one_time vs subscription), or both. WRITE, human-gated at the highest tier: a real write requires an elicitation-capable client, and the human types the tier, billinarchive_plan
Remove a tier from an app's plan catalog. WRITE, human-gated: a real write needs an elicitation-capable client and the human must approve; dry_run previews anywhere. Every other plan tool edits tiers that already exist, so a catalog could gcreate_credit_pack
Mint a credit pack for an app: a one-time plan carrying a `grants` map, which is how SparkPay sells an in-app purchase (a $5 top-up of 500 ai_credits). Buying one adds its grants to the buyer's credits_by_key and leaves their plan row alonegrant_credits
Add or remove one buyer's credit-pack credits by hand: goodwill, a support fix, or correcting a refund the webhook could not attribute. Writes only subscriptions.credits_by_key, through the same two statements a real pack purchase uses, sosetup_pricing_page
Guided, stage-chained wizard that configures an app's hosted pricing page end to end: plan billing model + price (with clickable recommendations), plan name and badge (elite/recommended), optional free tier, a seasonal coupon (SUMMER26-styl
Tests précédents
| 1 déc. 2026 | Répond | 596 ms | 29 outils |
| 28 nov. 2026 | Répond | 728 ms | 27 outils |
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Citer cette fiche
Pour un article ou une comparaison, utilisez ce lien permanent et précisez la date du test. La description appartient à sa source ; les avis sont ceux des membres. Un test réussi ne constitue pas un audit de sécurité.
SparkPay · L’Agora · Test du
[SparkPay — L’Agora](https://lagora.dev/fiche/io.github.muammar-yacoob/spark-pay)
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.github.muammar-yacoob/spark-pay)HTML
<a href="https://lagora.dev/fiche/io.github.muammar-yacoob/spark-pay"><img src="https://lagora.dev/badge/io.github.muammar-yacoob/spark-pay.svg" alt="io.github.muammar-yacoob/spark-pay sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.
Du même auteur
Bottled Répond
Duck Tax Répond
Sellular Répond