由 Vitor Dvorschi (Appyon) 根据 appeeky/stripe-skills 改编(MIT 许可证,(c) 2026 Erencan)。
优惠券与促销审计
Stripe MCP 设置
需要通过 OAuth 或受限密钥连接 Stripe MCP。文档:https://docs.stripe.com/mcp
- 在任何调用前,先执行
GetMcpTools,设置server: "user-Stripe"(或plugin-stripe-stripe) - 对于列表/检索操作,优先使用
stripe_api_search→stripe_api_details→stripe_api_read - 始终分页 —
limit: 100,当has_more为 true 时,使用starting_after继续 - 金额单位默认为 分,除非另有说明
- 切勿在输出中暴露密钥
工作流程
GetCoupons—limit: 100GetPromotionCodes— 获取活跃代码- 对于活跃订阅,检查
discount/discounts数组 - 估算折扣后的 MRR 影响
输出模板
促销概览([日期])
活跃优惠券数:[n]
活跃促销代码数:[n]
带折扣的订阅数:[n](占活跃订阅的 [%])
| 代码 | 折扣百分比 | 兑换次数 | 预估 MRR 影响 |
风险:[年度计划上的终身折扣]