The MCP server that keeps you informed by sending the notification on phone using ntfy
Tired of constantly checking on your LLM's progress? ntfy-mcp
is a Model Context Protocol (MCP) server designed to provide seamless, real-time notifications via ntfy when your AI-powered tasks are complete. Imagine a world where you can kick back, relax, and receive a notification the moment your code generation, data analysis, or creative writing is finished. ntfy-mcp
makes that a reality.
This guide provides a comprehensive walkthrough of setting up and configuring ntfy-mcp
to maximize your workflow efficiency.
ntfy-mcp
server.Clone the Repository:
git clone https://github.com/teddyzxcv/ntfy-mcp.git cd ntfy-mcp
Install Dependencies:
npm install
This command installs all the necessary packages, including the Model Context Protocol SDK, node-fetch
, dotenv
, and zod
.
Build the Project:
npm run build
This command compiles the TypeScript code into JavaScript, creating the production-ready application.
Configuration Options:
You have two primary methods for starting and configuring ntfy-mcp
: manual start and Cline configuration.
Manual Start:
This method involves directly running the compiled JavaScript file with the necessary environment variables.
NTFY_TOPIC=<your_ntfy_topic> npm start
Replace <your_ntfy_topic>
with the actual topic name you chose for your ntfy notifications. You can also set the NTFY_TOPIC
environment variable in your shell's configuration file (e.g., .bashrc
, .zshrc
).
Cline Configuration (Recommended):
This method integrates ntfy-mcp
directly into your Cline environment, providing a more streamlined and automated experience. Add the following configuration block to your Cline configuration file:
"ntfy-mcp": { "command": "node", "args": [ "/path/to/ntfy-mcp/build/index.js" ], "env": { "NTFY_TOPIC": "<your_ntfy_topic>" }, "autoApprove": [ "notify_user" // Highly recommended for seamless operation ] }
/path/to/ntfy-mcp/build/index.js
with the actual path to the compiled index.js
file.<your_ntfy_topic>
with your chosen ntfy topic name.autoApprove
array allows you to automatically approve the notify_user
function call from the LLM, eliminating the need for manual confirmation and ensuring a smooth workflow.Subscribe to Your ntfy Topic:
Open the ntfy app on your device and subscribe to the topic you specified in the configuration.
To trigger notifications, you need to instruct your LLM to use the notify_user
function provided by ntfy-mcp
. The key is to include a clear and explicit instruction in your prompt.
Example Prompt:
Write a Python script to calculate the Fibonacci sequence up to 1000, and notify me when the task is done.
Important Considerations:
notify_user
function depends heavily on the clarity and precision of your prompt. Experiment with different phrasing to find what works best for your specific LLM.notify_user
.NTFY_TOPIC
, you can configure other aspects of ntfy-mcp
using environment variables. Refer to the project's documentation for a complete list of available options.ntfy-mcp
server.ntfy-mcp
to use HTTPS. This requires obtaining an SSL certificate and configuring your server accordingly..env
file, simplifying configuration management.By following this expert guide, you can seamlessly integrate ntfy-mcp
into your LLM workflow, receiving real-time notifications and significantly boosting your productivity. Now, go forth and build amazing things!
๐ VOYP Voice Over Your Phone MCP Server for making calls.
๐ An MCP server with openAPI specs for using the WhatsApp unnoficial API (https://waha.devlike.pro/ also open source: https://github.com/devlikeapro/waha
๐ ๐ JMeter MCP Server for performance testing
๐ โ๏ธ Slack workspace integration for channel management and messaging