关于 Smartrr MCP by usefulapi
Smartrr MCP by usefulapi 将 MCP 客户端连接到 Shopify 上的 Smartrr 订阅服务,可访问客户、订单、账单和分析数据,并管理订阅状态与账单。
主要功能
- 01列出订阅、客户、订单和账单
- 02查看订阅事件和账单历史
- 03获取订阅分析数据
- 04暂停、恢复或取消订阅
- 05跳过订单并调整账单日期
适用场景
- 01查看客户的订阅和订单历史
- 02调查账单并查看订阅分析
- 03更改订阅状态或重试失败账单
MCP 相关
通过远程 MCP 服务向客户端提供读取、写入和账户管理工具。OAuth 登录使用 Smartrr 凭据。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://smartrr.usefulapi.io/mcpclaude mcp add --transport http io-usefulapi-smartrr https://smartrr.usefulapi.io/mcp{"mcpServers":{"io-usefulapi-smartrr":{"type":"http","url":"https://smartrr.usefulapi.io/mcp"}}}在 Cursor 中打开{"servers":{"io-usefulapi-smartrr":{"type":"http","url":"https://smartrr.usefulapi.io/mcp"}}}在 VS Code 中打开{"mcpServers":{"io-usefulapi-smartrr":{"type":"http","url":"https://smartrr.usefulapi.io/mcp"}}}{"mcpServers":{"io-usefulapi-smartrr":{"serverUrl":"https://smartrr.usefulapi.io/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
usefulapi 的 Smartrr MCP
在 Shopify 上管理 Smartrr 订阅:客户、订单、账单;暂停、恢复、取消。
在线端点: https://smartrr.usefulapi.io/mcp · 主页: https://usefulapi.io/smartrr
连接
- Claude(claude.ai、桌面版):打开 Customize → Connectors,点击 + Add → Add custom connector,然后粘贴
https://smartrr.usefulapi.io/mcp。 - Claude Code: 运行
claude mcp add --transport http smartrr https://smartrr.usefulapi.io/mcp,然后运行/mcp登录。 - VS Code: 添加到 VS Code。
- Cursor 和其他客户端: 将此 URL 添加为远程 MCP 服务:
{
"mcpServers": {
"smartrr": {
"url": "https://smartrr.usefulapi.io/mcp"
}
}
}
只添加 URL。不要在客户端配置中添加 Authorization 标头或 API 密钥:服务会通过 OAuth 为你登录,登录页面会要求你提供 Smartrr 凭据。
分步设置说明、凭据查找位置和常见问题解答:https://usefulapi.io/smartrr/
首次连接时,你需要粘贴 Smartrr API 访问令牌(Shopify 管理后台 → Apps → Smartrr → Integrations)。
工具
| 工具 | 类型 | 功能 |
|---|---|---|
smartrr_list_subscriptions | read | 列出订阅 |
smartrr_get_subscription | read | 获取订阅 |
smartrr_list_customer_subscriptions | read | 列出客户的订阅 |
smartrr_get_subscription_events | read | 获取订阅历史记录 |
smartrr_get_subscription_orders | read | 列出订阅的订单 |
smartrr_get_subscription_bills | read | 列出订阅的账单 |
smartrr_list_customers | read | 列出客户 |
smartrr_list_orders | read | 列出订单 |
smartrr_get_order | read | 获取订单 |
smartrr_list_bills | read | 列出账单 |
smartrr_get_bill_history | read | 获取账单历史记录 |
smartrr_list_selling_plan_groups | read | 列出订阅计划 |
smartrr_list_cancellation_reasons | read | 列出取消原因 |
smartrr_get_analytics | read | 获取订阅分析数据 |
smartrr_pause_subscription | write | 暂停订阅 |
smartrr_resume_subscription | write | 恢复订阅 |
smartrr_cancel_customer_subscription | write | 取消客户的订阅 |
smartrr_skip_order | write | 跳过订阅订单 |
smartrr_unskip_order | write | 取消跳过订阅订单 |
smartrr_set_next_billing_date | write | 设置下次账单日期 |
smartrr_retry_bill | write | 重试失败的账单 |
smartrr_usage_status | meta | 使用状态(免费层级用量计数器) |
smartrr_request_feature | meta | 请求添加缺失功能 |
smartrr_upgrade | meta | 升级到 Pro(无限制*) |
smartrr_cancel_subscription | meta | 取消 Pro 订阅 |
read 工具为只读;write 工具会修改数据(客户端应在执行前确认);meta 工具用于报告用量、管理订阅或发送功能请求。
定价
| 计划 | 价格 | 限制 |
|---|---|---|
| 免费 | $0 | 每月 50 次工具调用 |
| Pro(每位用户) | $9/月 或 $90/年(免费送 2 个月) | 无限制* |
*Pro 在此服务上的公平使用上限为每月 10,000 次工具调用。如需更多,请发送邮件至 [email protected]。
Pro 仅适用于此服务。使用 smartrr_upgrade 订阅(它会返回 Stripe Checkout 链接)。你可以随时使用 smartrr_cancel_subscription 取消:Pro 会持续到已付费周期结束,当前周期不予退款;在此之前运行 smartrr_upgrade 可撤销取消。也可以发送邮件至 [email protected]。
许可证
MIT © usefulapi。与 Smartrr 无关联,也未获其认可。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。