mcpField
R
RetentionCheck

RetentionCheck

本地服务
retentioncheck.com数据与分析

关于 RetentionCheck

从 Stripe、Postgres、MySQL 或粘贴的反馈中提取流失数据。AI 排序的流失原因及改进方案。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"brianfofficial-retentioncheck": {
"command": "npx",
"args": [
"-y",
"@retentioncheck/mcp-server"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
"STRIPE_SECRET_KEY": "<STRIPE_SECRET_KEY>",
"POSTGRES_URL": "<POSTGRES_URL>",
"MYSQL_URL": "<MYSQL_URL>",
"RETENTIONCHECK_TELEMETRY": "<RETENTIONCHECK_TELEMETRY>"
}
}
}
}
启动命令npx -y @retentioncheck/mcp-server
需要配置的环境变量
ANTHROPIC_API_KEY密钥Anthropic API key for running churn analysis (required for analyze_churn, analyze_stripe_churn, and analyze_sql_churn; get_example_analysis works without it).
STRIPE_SECRET_KEY密钥Stripe API key for analyze_stripe_churn. Use a RESTRICTED (read-only) key with these permissions: Subscriptions Read, Customers Read, Prices Read. Create one at https://dashboard.stripe.com/apikeys/create. Optional — only required for the analyze_stripe_churn tool.
POSTGRES_URL密钥Postgres connection string for analyze_sql_churn when dialect='postgres'. Format: postgres://user:pass@host:5432/db?sslmode=require. Use a READ-ONLY user — see retentioncheck.com/integrations for the exact GRANT SQL. Optional — only required for the analyze_sql_churn tool with postgres dialect.
MYSQL_URL密钥MySQL connection string for analyze_sql_churn when dialect='mysql'. Format: mysql://user:pass@host:3306/db?ssl=true. Use a READ-ONLY user — see retentioncheck.com/integrations for the exact GRANT SQL. Optional — only required for the analyze_sql_churn tool with mysql dialect.
RETENTIONCHECK_TELEMETRYSet to 0 to opt out of anonymous usage telemetry. Telemetry tracks tool invocations and aggregate counts — never the feedback text, financial values, or any PII.

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npm@retentioncheck/mcp-server0.6.2

工具

4

收录的工具列表 · 更新于 2 周前

参数类型必填说明
focusstring否可选的分析重点,用于缩小分析范围(例如,'pricing'、'onboarding')
feedbackstring是原始解约反馈。每行一条回复。示例: 太贵了 缺少我们需要的功能 改用了竞争对手的产品

详细介绍

维护者还没有提供详细介绍,可以先查看代码仓库中的 README。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。