Labsco
gitmotion logo

Ntfy

β˜… 67

from gitmotion

An ntfy MCP server for sending/fetching ntfy notifications to your self-hosted ntfy server from AI Agents πŸ“€ (supports secure token auth & more - use with npx or docker!)

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredAdvanced setup

<img src="https://m2tg1pnwn0.ufs.sh/f/GMqNN8nd9I8l9tUbmif1CnFX8Baqr7mHeicYu0AULDyNVWJE" width=30 /> ntfy-me-mcp

TypeScript Model Context Protocol NPM Version Docker Image Version License GitHub <a href="https://www.buymeacoffee.com/gitmotion" target="_blank" rel="noopener noreferrer"> <img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy me a coffee" width="105px" /> </a>

A streamlined Model Context Protocol (MCP) server for sending notifications via ntfy service (public or selfhosted with token support) πŸ“²

Overview

ntfy-me-mcp provides AI assistants with the ability to send real-time notifications to your devices through the ntfy.sh service (either public or selfhosted with token support). Get notified when your AI completes tasks, encounters errors, or reaches important milestones - all without constant monitoring.

The server includes intelligent features like automatic URL detection for creating view actions and smart markdown formatting detection, making it easier for AI assistants to create rich, interactive notifications without extra configuration.

<table> <thead> <tr> <th width="50%">Preview</th> <th width="50%">Available via</th> </tr> </thead> <tbody> <tr> <td valign="top"><img src="https://m2tg1pnwn0.ufs.sh/f/GMqNN8nd9I8lvhAeasbt6OQorL7fKJdgMSekE0Wanp5HXNIm" alt="autodetect-preview" width="100%"></td> <td valign="top"> <table> <thead> <tr><th>Name</th><th>Link / Badge</th></tr> </thead> <tbody> <tr> <td>ntfy.sh</td> <td><a href="https://docs.ntfy.sh/integrations/#projects-scripts">Featured on ntfy.sh</a></td> </tr> <tr> <td>Glama.ai</td> <td><a href="https://glama.ai/mcp/servers/@gitmotion/ntfy-me-mcp"><img width="250" src="https://glama.ai/mcp/servers/@gitmotion/ntfy-me-mcp/badge" alt="ntfy-me-mcp MCP server" /></a></td> </tr> <tr> <td>Smithery.ai</td> <td><a href="https://smithery.ai/server/@gitmotion/ntfy-me-mcp"><img src="https://smithery.ai/badge/@gitmotion/ntfy-me-mcp" alt="smithery badge" /></a></td> </tr> <tr> <td>MseeP.ai</td> <td><a href="https://mseep.ai/app/gitmotion-ntfy-me-mcp"><img width="150" src="https://mseep.net/pr/gitmotion-ntfy-me-mcp-badge.png" alt="ntfy-me-mc-mseepai" /></a></td> </tr> <tr> <td>Archestra.ai</td> <td><a href="https://archestra.ai/mcp-catalog/gitmotion__ntfy-me-mcp"><img src="https://archestra.ai/mcp-catalog/api/badge/quality/gitmotion/ntfy-me-mcp" alt="Trust Score" /></a></td> </tr> </tbody> </table> </td> </tr> </tbody> </table>

Features

  • πŸš€ Quick Setup: Run with npx or docker!
  • πŸ”” Real-time Notifications: Get updates on your phone/desktop when tasks complete
  • 🎨 Rich Notifications: Support for topic, title, priorities, emoji tags, and detailed messages
  • πŸ” Notification Fetching: Fetch and filter cached messages from your ntfy topics
  • 🎯 Smart Action Links: Automatically detects URLs in messages and creates view actions
  • πŸ“„ Intelligent Markdown: Auto-detects and enables markdown formatting when present
  • πŸ”’ Secure: Optional authentication with access tokens
  • πŸ”‘ Input Masking: Securely store your ntfy token in your vs config!
  • 🌐 Self-hosted Support: Works with both ntfy.sh and self-hosted ntfy instances

Coming soon...

  • πŸ“¨ Email: Send notifications to email (requires ntfy email server configuration)
  • πŸ”— Click urls: Ability to customize click urls
  • πŸ–ΌοΈ Image urls: Intelligent image url detection to automatically include image urls in messages and notifications
  • 🏁 and more!

Table of Contents

<table> <thead> <tr> <th>Section</th> <th>Topics</th> </tr> </thead> <tbody> <tr> <td><a href="#quickstart---mcp-server-configuration">Quickstart - MCP Server Configuration</a></td> <td> <a href="#configuration-examples">Configuration Examples</a> </td> </tr> <tr> <td><a href="#installation">Installation</a></td> <td> <a href="#setting-up-the-notification-receiver">Setting Up the Notification Receiver</a> </td> </tr> <tr> <td><a href="#configuration">Configuration</a></td> <td> <a href="#environment-variables">Environment Variables</a><br/> <a href="#authentication">Authentication</a><br/> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#secure-token-handling-vscode">↳ Secure Token Handling (vscode)</a> </td> </tr> <tr> <td><a href="#tools--usage">Tools &amp; Usage</a></td> <td> <a href="#ntfy_me-sending-notifications">ntfy_me: Sending Notifications</a><br/> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#using-natural-language">↳ Using Natural Language</a><br/> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#example-usage">↳ Example Usage</a><br/> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#message-parameters">↳ Message Parameters</a><br/> <a href="#ntfy_me_fetch-polling-notifications">ntfy_me_fetch: Polling Notifications</a><br/> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#using-natural-language-1">↳ Using Natural Language</a><br/> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#example-usage-1">↳ Example Usage</a><br/> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#fetch-parameters">↳ Fetch Parameters</a> </td> </tr> <tr> <td><a href="#development--contributions">Development &amp; Contributions</a></td> <td></td> </tr> <tr> <td><a href="#license">License</a></td> <td></td> </tr> </tbody> </table>

Development & Contributions

Contributions are welcome! Please see CONTRIBUTING.md, which include general guidelines, setup steps, etc.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.


Made with ❀️ by gitmotion