ntfy-mcp

by teddyzxcv
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Sends notifications to the ntfy service when AI tasks are completed, allowing users to receive mobile alerts without needing to actively monitor their AI assistant's progress

ntfy-mcp:您的友好任务完成通知程序

欢迎来到 ntfy-mcp,这个 MCP 服务器能让你保持清醒和信息畅通!🚀☕️

这款便捷的小服务器集成了模型上下文协议 (MCP),每当您的 AI 助手完成任务时,它都会向您发送令人愉悦的通知。说实话,您值得在代码编写完成时享受片刻茶歇。

入门:快速冲泡指南

步骤 1:克隆和导航

git clone https://github.com/teddyzxcv/ntfy-mcp.git cd ntfy-mcp

第 2 步:安装

npm install

步骤 3:构建

npm run build

步骤 4:连接

选择你的冒险:

手动启动:

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 ] }

步骤 5:以时尚的方式接收通知

  1. 在手机上下载ntfy 应用
  2. 订阅您选择的主题
  3. 放松身心

步骤 6:魔法命令

写一个这样的提示,否则函数将不会调用(尝试在 cline 中使用Custom Instructions ,但它们在环 3 中,所以模型就忘了它)

Write me a hello world in python, notify me when the task is done

第七步:享用您选择的饮料

☕️🍵 任务完成后,您将收到通知。请勿偷看!

工作原理(技术茶)

此 MCP 服务器与模型上下文协议 (MCP) 无缝集成,充当您的个人通知管家。任务完成后,它会通过 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.

现在,您可以放心地编写代码,因为您的通知已得到妥善处理!🎉

ID: yp2a2rd773