ntfy-mcp通知服务器
通过ntfy.sh使用手机发送通知来让你保持知情的MCP服务器
服务介绍
ntfy-mcp: 你的友好任务完成通知器
欢迎使用 ntfy-mcp,这个MCP服务器将让你保持清醒并随时了解最新信息!🚀☕️
这个方便的小服务器与Model Context Protocol集成,在你的AI助手完成任务时发送愉快的ntfy通知。因为说实话 - 当代码自己写好时,你值得享受一杯茶的时间。
快速开始:快速冲泡指南
第一步:克隆并导航
git clone https://github.com/teddyzxcv/ntfy-mcp.git
cd ntfy-mcp
第二步:安装
npm install
第三步:构建
npm run build
第四步:连接
选择你的冒险:
手动启动:
npm start
Cline配置:
"ntfy-mcp": {
"command": "node",
"args": [
"/path/to/ntfy-mcp/build/index.js"
],
"env": {
"NTFY_TOPIC": "<your topic name>"
},
"autoApprove": [
"notify_user" // Highly recommended for maximum chill
]
}
第五步:以风格获取通知
- 在手机上下载ntfy应用
- 订阅你选择的主题
- 放松等待
第六步:魔法命令
像这样编写提示,否则函数不会被调用
(尝试在cline中使用自定义指令,但它们位于环3中,所以模型会忘记它)
Write me a hello world in python, notify me when the task is done
第七步:享受你喜欢的饮品
☕️🍵 任务完成后通知将会到达。不要偷看!
工作原理(技术茶)
此MCP服务器无缝集成到Model Context Protocol中,充当你的个人通知管家。当任务完成时,它通过ntfy发送通知,让你随时了解最新情况而不中断你的工作流。
依赖项:秘密酱料
许可证
本项目根据Apache License 2.0许可 - 查看LICENSE文件了解详细信息。
Copyright 2025 Casey Hand @cyanheads
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
现在去自信地编码吧,知道你的通知掌握得很好!🎉