notificación-MCP
Servidor MCP para enviar notificaciones a través de Telegram
1
Github Watches
1
Github Forks
0
Github Stars
Cline Notification Server
An MCP server for Cline that enables sending notifications and receiving responses via Telegram. When Cline needs to ask a question, it will send you a Telegram message and wait for your response.
Features
- Send notifications with different urgency levels (low, medium, high)
- Automatically waits for user responses
- Configurable timeout (defaults to 30 seconds)
- Stops Cline when user is unavailable to prevent unwanted actions
Installation
npm install cline-notification-server
Setup
1. Create a Telegram Bot
- Message @BotFather on Telegram
- Send
/newbotand follow the instructions - Save the bot token you receive (it looks like
123456789:ABCdefGHIjklMNOpqrsTUVwxyz) - Start a chat with your new bot
- Message
/startto your bot
2. Get Your Chat ID
- Send a message to your bot
- Open this URL in your browser (replace BOT_TOKEN with your token):
https://api.telegram.org/botBOT_TOKEN/getUpdates - Look for the
chatobject and note theidfield - this is your chat ID
3. Configure Cline
Add the server to your Cline configuration file:
For VSCode extension (cline_mcp_settings.json):
{
"mcpServers": {
"notification": {
"command": "npx",
"args": ["cline-notification-server"],
"env": {
"TELEGRAM_BOT_TOKEN": "your_bot_token",
"TELEGRAM_CHAT_ID": "your_chat_id"
}
}
}
}
For Claude desktop app (claude_desktop_config.json):
{
"mcpServers": {
"notification": {
"command": "npx",
"args": ["cline-notification-server"],
"env": {
"TELEGRAM_BOT_TOKEN": "your_bot_token",
"TELEGRAM_CHAT_ID": "your_chat_id"
}
}
}
}
How It Works
When Cline needs to ask you a question:
- It sends a message via Telegram using your bot
- Waits up to 30 seconds for your response
- If you respond within 30 seconds, Cline continues with your answer
- If you don't respond within 30 seconds, Cline stops and waits for you to restart it
Example Usage
When this server is configured, Cline can use it to ask you questions:
// Example of how Cline uses the notification tools
const response = await use_mcp_tool({
server_name: "notification",
tool_name: "send_notification",
arguments: {
message: "Should I proceed with deploying to production?",
project: "MyApp",
urgency: "high"
}
});
Messages are formatted with:
- 🚨 Prefix for high urgency
- ⚠️ Prefix for medium urgency
- No prefix for low urgency
Environment Variables
-
TELEGRAM_BOT_TOKEN: Your Telegram bot token from BotFather -
TELEGRAM_CHAT_ID: Your Telegram chat ID where messages will be sent
Contributing
Feel free to open issues or submit pull requests if you have suggestions for improvements.
License
MIT
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Espejo dehttps: //github.com/agentience/practices_mcp_server
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews
user_k4fDw0PQ
I've been using the notification-mcp and it has significantly streamlined my notification management process. The integration was seamless and the functionality is top-notch. MobileVibe did an excellent job at creating a user-friendly and efficient tool. Highly recommend checking it out if you're looking for a robust notification solution!