# MS-Rewards-Farmer接入 Server酱：每日自动完成微软积分任务后微信收到结果（2026 教程）

> MS-Rewards-Farmer 通过内置 Apprise 接入 Server酱，自动完成微软 Rewards 积分任务后推送结果到微信，配置 config.yaml 即可使用。

- 网页版：https://sct.ftqq.com/docs/integrations/ms-rewards-farmer/
- 更新日期：2026-07-17

# MS-Rewards-Farmer + Server酱：每日自动完成微软积分任务后微信收到结果

> 效果：MS-Rewards-Farmer 每日自动完成微软积分任务后，微信收到执行结果通知。

## 前置条件

- 获取 Server酱 SendKey（[30 秒获取教程](https://sct.ftqq.com/docs/getting-started/sendkey/)）
- 已部署 MS-Rewards-Farmer 运行环境

## 配置步骤

MS-Rewards-Farmer 内置 Apprise 通知库，支持通过 `schan://` 协议直接对接 Server酱Turbo。

1. 打开 MS-Rewards-Farmer 的 `config.yaml`，找到 `apprise` 配置项，按以下格式填入：

```yaml
apprise:
  urls:
    - schan://你的SENDKEY
```

2. 保存配置并重新运行 MS-Rewards-Farmer，任务执行完毕后即可在微信收到通知。

若使用 Server酱³（`sctp` 开头的 SendKey），Apprise 暂无专用插件，需使用通用 `json://` 插件直连 API，具体接法参考 [Apprise 接入 Server酱](https://sct.ftqq.com/docs/integrations/apprise/)。

## 常见问题

**Server酱的发送额度是多少？**
免费版每天可发送 5 条消息，每分钟上限 50 条；订阅会员目前特价最低 3 元/月，一天最多可发 1000 条（[价格详情](https://sct.ftqq.com/subscribe)）。

**配置后没有收到消息？**
请先检查 SendKey 是否正确，以及消息通道是否已选好（详见[通道对比](https://sct.ftqq.com/docs/getting-started/channels/)）。也可通过命令行单独测试 Apprise 通知：`pip install apprise && apprise -t "测试" -b "正文" "schan://你的SENDKEY"`。更多排查步骤见[常见问题](https://sct.ftqq.com/docs/getting-started/faq/)。

**发送频率有限制吗？**
有。接口每分钟请求上限为 50 次，请勿在短时间内频繁触发通知。

## 相关集成

- [Python 接入 Server酱](https://sct.ftqq.com/docs/integrations/python/) —— Python 脚本推送
- [青龙面板接入 Server酱](https://sct.ftqq.com/docs/integrations/qinglong/) —— 青龙面板任务通知
- [Uptime Kuma 接入 Server酱](https://sct.ftqq.com/docs/integrations/uptime-kuma/) —— Uptime Kuma 宕机告警


## 懒人方案：把这段话复制给你的 AI 助手

把下面这段文字原样粘贴给 Claude Code、Cursor 或任何 AI 编程助手，它就会替你完成 Server酱 的接入：

```text
请帮我把 Server酱 微信通知接入到我当前的项目/工具中：
1. API：POST https://sctapi.ftqq.com/{SendKey}.send，参数 title（必填，不能含换行）、desp（正文，支持 Markdown，可选）；成功时返回 JSON 的 code 为 0。
2. 如果我的 SendKey 以 sctp 开头，则改用 https://{uid}.push.ft07.com/send/{SendKey}.send，uid 是 SendKey 中 sctp 与 t 之间的数字。
3. SendKey 从环境变量 SERVERCHAN_SENDKEY 读取；如果没有，提醒我到 https://sct.ftqq.com 免费获取（每天 5 条额度）。
4. 安全要求：不要把 SendKey 硬编码进代码、不要打印到日志、不要提交到 git。
5. 频率约定：任务结束发 1 条结果摘要即可，批量任务合并成一条，不要每步都推。
请根据我当前的项目和场景直接写好代码/配置并验证。
```

