Cline Notification Server
MCP server to send notifications via Telegram
MobileVibe
README
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 BotFatherTELEGRAM_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
Recommended Servers
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Apple MCP Server
Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
@kazuph/mcp-gmail-gas
Model Context Protocol server for Gmail integration. This allows Claude Desktop (or any MCP client) to interact with your Gmail account through Google Apps Script.
Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.
MCP Server Trello
Facilitates interaction with Trello boards via the Trello API, offering features like rate limiting, type safety, input validation, and error handling for seamless management of cards, lists, and board activities.
Folderr
A Model Context Protocol (MCP) server that provides tools to interact with Folderr's API, specifically for managing and communicating with Folderr Assistants.
Composio MCP Server
A server implementation that provides MCP-compatible access to Composio applications like Gmail and Linear, allowing interaction through a structured interface for language models.
Gmail MCP Server
Integrates with Gmail to enable sending, reading, drafting, and managing emails via the Model Context Protocol (MCP), allowing users to interact with email tasks through automated client prompts.
Claude Outlook MCP Tool
A Model Context Protocol tool that enables Claude to interact with Microsoft Outlook for macOS, allowing users to read/send emails, manage calendar events, and access contacts through natural language commands.
SMTP MCP Server
Enables sending emails via SMTP with template management, supporting multiple SMTP configurations, template creation with variable substitution, and bulk email sending with rate limiting.