mcpField
C
Cline Notification Server

Cline Notification Server

Local
github.com/MobileVibeCommunication2Updated 39w ago

About Cline Notification Server

Cline Notification Server is an MCP server for Cline that sends messages through Telegram and collects replies. It supports urgency levels and configurable timeouts, and stops Cline if no response arrives.

Key features

  1. 01Send Telegram notifications
  2. 02Set three urgency levels
  3. 03Wait for user replies
  4. 04Configure response timeout
  5. 05Stop Cline when unanswered

Use cases

  1. 01Confirm deployments through Telegram
  2. 02Answer Cline questions remotely

MCP support

The MCP server provides Cline with tools for sending notifications and waiting for replies.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"notification-mcp-mobilevibe": {
"command": "npx",
"args": [
"-y",
"cline-notification-server"
],
"env": {
"TELEGRAM_BOT_TOKEN": "<TELEGRAM_BOT_TOKEN>",
"TELEGRAM_CHAT_ID": "<TELEGRAM_CHAT_ID>"
}
}
}
}
Run commandnpx -y cline-notification-server
Environment variables to set
TELEGRAM_BOT_TOKENSecret
TELEGRAM_CHAT_ID

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmcline-notification-server

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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
  1. Message @BotFather on Telegram
  2. Send /newbot and follow the instructions
  3. Save the bot token you receive (it looks like 123456789:ABCdefGHIjklMNOpqrsTUVwxyz)
  4. Start a chat with your new bot
  5. Message /start to your bot
2. Get Your Chat ID
  1. Send a message to your bot
  2. Open this URL in your browser (replace BOT_TOKEN with your token):
    https://api.telegram.org/botBOT_TOKEN/getUpdates
    
  3. Look for the chat object and note the id field - 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:

  1. It sends a message via Telegram using your bot
  2. Waits up to 30 seconds for your response
  3. If you respond within 30 seconds, Cline continues with your answer
  4. 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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.