@retainq/mcp
@retainq/mcp
RetainQ MCP 服务器 — 将 AI 助手连接到您的流失减少平台。
这是什么?
这是用于 RetainQ 的 Model Context Protocol (MCP) 服务器。它让 AI 助手(如 Claude、Cursor、Kiro 等)与您的 RetainQ 工作区交互 — 查询留存指标、管理流程、分析流失数据等。
Related MCP server: Attio MCP Server
安装
npx @retainq/mcp或全局安装:
npm install -g @retainq/mcp配置
环境变量
设置您的 RetainQ API 密钥:
export RETAINQ_API_KEY=rq_live_your_key_here从 RetainQ 仪表板的 设置 → API 密钥 获取 API 密钥。
MCP 客户端配置
添加到您的 MCP 客户端配置(例如 Claude Desktop、Kiro、Cursor):
{
"mcpServers": {
"retainq": {
"command": "npx",
"args": ["@retainq/mcp"],
"env": {
"RETAINQ_API_KEY": "rq_live_your_key_here"
}
}
}
}可用工具(32 个)
分析
get_retention_stats— 工作区指标概览get_recent_sessions— 最近的流程会话及结果get_top_churn_reasons— 按频率排序的取消原因get_high_risk_customers— 超过流失风险阈值的客户get_offer_performance— 优惠接受率和收入
流程
list_flows— 列出所有流程get_flow— 获取流程详情create_flow— 创建新流程(简单或高级)update_flow— 更新流程元数据delete_flow— 归档流程configure_simple_flow— 设置简单流程配置(调查、优惠、反馈、设计)set_advanced_flow_schema— 设置基于节点的流程架构publish_flow— 发布并上线get_flow_schema— 获取当前已发布的架构
优惠
list_offers— 列出所有留存优惠create_offer— 创建新优惠update_offer— 更新优惠delete_offer— 归档优惠
客户
list_customers— 列出带有流失评分的客户get_customer— 按电子邮件获取客户get_customer_sessions— 获取客户的会话历史
机会
list_opportunities— 列出留存机会confirm_opportunity— 确认/履行机会reject_opportunity— 拒绝机会
AI 智能
run_churn_analysis— 运行 AI 驱动的流失分析ask_ai— 向 RetainQ AI 询问有关您数据的问题
通知
list_notifications— 获取最近的通知get_notification_preferences— 获取通知设置update_notification_preferences— 更新通知设置
反馈
list_feedback— 获取会话反馈/答案export_feedback_csv— 将反馈导出为 CSV
API 基础 URL
默认连接到 https://app.retainq.com/api/v1/public。可通过以下方式覆盖:
export RETAINQ_API_URL=http://localhost:3000/api/v1/public许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read and manage Churnkey cancel flows, retention metrics, and payment recovery
Give your AI agents the tools to build, manage, and run automation workflows.
Connect AI to your Attio CRM. Manage contacts, companies, deals, and sales pipelines. Create tasks…
Manage AI assistants, history, calls, campaigns, contacts, knowledge, messaging, and automations.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interaction with Retell AI's voice and chat agent platform. Build, deploy, and manage AI phone agents, configure conversation flows, handle calls/chats, and manage phone numbers through natural language.52
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to interact with Attio CRM through natural language, providing complete access to companies, people, deals, tasks, lists, notes, and records with advanced search, batch operations, and relationship management.812
- AlicenseAqualityDmaintenanceConnects AI assistants to Custify customer success data for querying account metrics, health scores, and usage trends. It also supports taking actions such as creating notes, managing tasks, and triggering playbooks.15213MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to manage contacts, send messages, handle conversations, and manage workspace via the Respond.io API.28106MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/me-saurabh/retainq-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server