RetentionCheck

السجل الرسمي البيانات وقواعدها

Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @retentioncheck/mcp-server
Claude Code
claude mcp add retentioncheck -e 'ANTHROPIC_API_KEY=<your anthropic_api_key>' -e 'STRIPE_SECRET_KEY=<your stripe_secret_key>' -e 'POSTGRES_URL=<your postgres_url>' -e 'MYSQL_URL=<your mysql_url>' -e 'RETENTIONCHECK_TELEMETRY=<RETENTIONCHECK_TELEMETRY>' -- npx -y @retentioncheck/mcp-server@0.6.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "retentioncheck": {
            "command": "npx",
            "args": [
                "-y",
                "@retentioncheck/mcp-server@0.6.2"
            ],
            "env": {
                "ANTHROPIC_API_KEY": "<your anthropic_api_key>",
                "STRIPE_SECRET_KEY": "<your stripe_secret_key>",
                "POSTGRES_URL": "<your postgres_url>",
                "MYSQL_URL": "<your mysql_url>",
                "RETENTIONCHECK_TELEMETRY": "<RETENTIONCHECK_TELEMETRY>"
            }
        }
    }
}

متغيرات البيئة

  • 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_TELEMETRY Set 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.

الأسئلة الشائعة

ما هو RetentionCheck؟

Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes.

كيف أثبّت RetentionCheck؟

يعمل على جهازك. في Claude Code: claude mcp add retentioncheck -e 'ANTHROPIC_API_KEY=<your anthropic_api_key>' -e 'STRIPE_SECRET_KEY=<your stripe_secret_key>' -e 'POSTGRES_URL=<your postgres_url>' -e 'MYSQL_URL=<your mysql_url>' -e 'RETENTIONCHECK_TELEMETRY=<RETENTIONCHECK_TELEMETRY>' -- npx -y @retentioncheck/mcp-server@0.6.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج RetentionCheck إلى مفتاح API؟

نعم. يتطلب ANTHROPIC_API_KEY, STRIPE_SECRET_KEY, POSTGRES_URL, MYSQL_URL، وتضبطها في إعداداته.

هل RetentionCheck مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون RetentionCheck؟

ينشره brianfofficial. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.