Cline 通知服务器

Cline 通知服务器

通过 Telegram 发送通知并接收响应的 MCP 服务器。

快速入门

  1. 安装软件包: 使用 npm 安装 npm install cline-notification-server

  2. 创建 Telegram Bot:

    • 联系 @BotFather
    • 发送 /newbot 并按指引操作,保存生成的 bot token。
  3. 获取 Chat ID:

  4. 配置 Cline: 在配置文件中添加以下内容:

    {
      "mcpServers": {
        "notification": {
          "command": "npx",
          "args": ["cline-notification-server"],
          "env": {
            "TELEGRAM_BOT_TOKEN": "your_bot_token",
            "TELEGRAM_CHAT_ID": "your_chat_id"
          }
        }
      }
    }
    
  5. 使用:当 Cline 需要提问时,它会通过 Telegram 发送消息并等待回复。