Ntfy Mcp:您友好的任务完成通知器
概览
什么是 ntfy-mcp?
ntfy-mcp 是一个托管在 GitHub 上的开源项目,由用户 teddyzxcv 创建。它作为一个通知服务,允许用户通过各种渠道发送和接收通知。该项目旨在轻量且高效,是开发者将通知功能集成到其应用程序中的绝佳选择。
ntfy-mcp 的特点
- 开源:ntfy-mcp 是公开可用的,允许开发者根据需要贡献和修改代码。
- 多渠道通知:该服务支持通过多个渠道发送通知,增强用户参与度。
- 轻量设计:该应用程序旨在资源高效,确保对系统性能的影响最小。
- 易于集成:开发者可以轻松将 ntfy-mcp 集成到现有应用程序中,设置工作量最小。
- 社区支持:作为一个开源项目,它拥有一个不断壮大的社区,提供支持并分享增强功能。
如何使用 ntfy-mcp
- 安装:使用以下命令从 GitHub 克隆代码库:
git clone https://github.com/teddyzxcv/ntfy-mcp.git - 设置:按照 README 文件中的说明设置环境和依赖项。
- 配置:根据您的需求配置通知渠道。
- 发送通知:使用提供的 API 端点向您的用户发送通知。
- 接收通知:设置您的应用程序以监听传入通知并相应地显示它们。
常见问题解答
ntfy-mcp 是用什么编程语言构建的?
ntfy-mcp 主要使用 [在此插入编程语言,例如 Python、JavaScript 等] 构建。
我可以为 ntfy-mcp 贡献吗?
可以!欢迎贡献。您可以分叉代码库,进行更改,并提交拉取请求。
ntfy-mcp 有许可证吗?
有,ntfy-mcp 采用 Apache-2.0 许可证,允许个人和商业使用。
我该如何报告问题或错误?
您可以通过导航到 GitHub 代码库中的“问题”选项卡,提交一个新问题并详细描述问题。
我在哪里可以找到更多文档?
更多文档可以在代码库的 wiki 或 README 文件中找到。您还可以查看社区论坛以获取更多讨论和提示。
详情
ntfy-mcp: Your Friendly Task Completion Notifier
Welcome to ntfy-mcp, the MCP server that keeps you caffeinated and informed! 🚀☕️
This handy little server integrates with the Model Context Protocol to send you delightful ntfy notifications whenever your AI assistant completes a task. Because let's face it - you deserve that tea break while your code writes itself.
<a href="https://glama.ai/mcp/servers/@teddyzxcv/ntfy-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@teddyzxcv/ntfy-mcp/badge" /> </a>Getting Started: The Quick Brew Guide
Step 1: Clone & Navigate
git clone https://github.com/teddyzxcv/ntfy-mcp.git
cd ntfy-mcp
Step 2: Install
npm install
Step 3: Build
npm run build
Step 4: Connect
Choose your adventure:
Manual Start:
npm start
Cline Configuration:
"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
]
}
Step 5: Get Notified in Style
- Download the ntfy app on your phone
- Subscribe to your chosen topic
- Kick back and relax
Step 6: The Magic Command
Write a prompt like this, otherwise the function won't call
(tried use Custom Instructions in cline, but they are in the ring 3, so model just forget about it)
Write me a hello world in python, notify me when the task is done
Step 7: Enjoy Your Beverage of Choice
☕️🍵 Your notification will arrive when the task is complete. No peeking!
How It Works (The Technical Tea)
This MCP server integrates seamlessly with the Model Context Protocol, acting as your personal notification butler. When tasks are completed, it sends notifications via ntfy, keeping you informed without interrupting your flow.
Dependencies: The Secret Sauce
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
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.
Now go forth and code with confidence, knowing your notifications are in good hands! 🎉
Server配置
{
"mcpServers": {
"ntfy-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--teddyzxcv--ntfy-mcp--ntfy-mcp",
"npm run start"
],
"env": {
"NTFY_TOPIC": "ntfy-topic"
}
}
}
}