
ntfy mcp server
未知
Repository Info
About This Server
未知
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
ntfy MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to send push notifications through ntfy.sh. This server provides a simple way to integrate real-time notifications into your AI workflows, allowing you to receive alerts on your phone, desktop, or any device that supports ntfy.sh.
What is ntfy.sh?
ntfy.sh is a simple HTTP-based pub-sub notification service that allows you to send push notifications to your devices. It's particularly useful for:
- Getting notified when long-running tasks complete
- Receiving alerts from automated workflows
- Staying informed about important events in your applications
Features
- Send messages to any ntfy.sh channel
- Support for message titles, priorities (1-5), and tags
- Simple integration with MCP-compatible AI assistants
- No authentication required for public channels
Installation
- Install dependencies:
npm install --save-dev typescript @types/node ts-node
- Build the TypeScript code:
npm run build
- The MCP server is now available at
./build/index.js
Usage
Running the Server
After building, you can run the server directly:
npm start
Or point your MCP client to the built server at ./build/index.js.
Available Tools
The server provides one tool:
send_message
Sends a message to a specified ntfy.sh channel.
Parameters:
channel(required): The ntfy.sh channel name to send the message tomessage(required): The message content to sendtitle(optional): A title for the notificationpriority(optional): Priority level from 1-5 (5 being highest priority)tags(optional): Array of tags to categorize the message
Example usage in an MCP client:
{
"tool": "send_message",
"arguments": {
"channel": "my-notifications",
"message": "Task completed successfully!",
"title": "Workflow Update",
"priority": 4,
"tags": ["automation", "success"]
}
}
Configuration
No additional configuration is required. The server uses the public ntfy.sh service at https://ntfy.sh/.
Channel Names
- Channel names can be any string, but should be unique to avoid conflicts
- Consider using descriptive names like
my-project-alertsorpersonal-notifications - Anyone who knows your channel name can send messages to it, so choose wisely
Development
Build Scripts
npm run build- Compile TypeScript to JavaScriptnpm run build:linux- Build and make executable on Linuxnpm run build:windows- Build for Windowsnpm start- Run the compiled server
Project Structure
src/index.ts- Main server implementationbuild/index.js- Compiled JavaScript output (after build)
License
See LICENSE file for details.
Quick Start
Clone the repository
git clone https://github.com/mounta11n/ntfy-mcp-serverInstall dependencies
cd ntfy-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.