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! 🎉
伺服器配置
{
"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"
}
}
}
}