Telegram Notify Mcp

io.github.ParthJadhav由 GitHub 帳號 ParthJadhav 發布v1.0.1更新於 Oct 24, 2026

Send Telegram notifications from AI agents — text, photos, and documents.

已驗證STDIO僅桌面溝通與協作

概覽

AI 產生的概覽

讓助理以文字訊息、圖片或檔案的形式傳送 Telegram 通知給你。

可以做什麼
一個小型 MCP 伺服器,提供三個工具:send_message 傳送文字更新,send_photo 傳送截圖或圖表等圖片,send_document 傳送報告、日誌或建置產物等檔案。首次呼叫時會把你的 Telegram 使用者名稱解析為聊天 ID,並在行程存活期間快取。它不涉及聊天或群組管理。
適用情境
適合在啟動長時間執行的助理任務後,把進度或完成提醒推送到 Telegram,而不必盯著終端機。也適合把產生的圖片或檔案傳送到手機上。
執行需求
透過 stdio 在本機執行,通常使用 npx,因此需要 Node.js。需要在 TELEGRAM_BOT_TOKEN 中提供來自 BotFather 的機器人權杖,並在 TELEGRAM_USERNAME 中填寫你的 Telegram 使用者名稱。必須先向機器人傳送 /start,它才能找到你的聊天 ID。需要連線至 Telegram Bot API 的網路存取。
安裝前請注意
TELEGRAM_BOT_TOKEN 中的機器人權杖是可控制該機器人的憑證,不要放入共用設定。訊息、圖片和檔案都會傳送到 Telegram 的伺服器,助理轉送的內容會離開你的機器。此伺服器只負責傳送,不讀取或管理聊天。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Telegram Notify Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[bloom-banner-01-light-tags-1500x500]

Telegram Notify MCP

[npm version] [License: MIT]

A dead-simple MCP server with one job: send AI agent progress back to you on Telegram.

That's it. No chat management, no group administration, no inline queries. Just notifications — as text, images, or files.

You kick off an agent, walk away, and get a Telegram message when it's done (or while it's working). Nothing more, nothing less.

Quick Start

1. Create a Telegram Bot

  1. Message @BotFather on Telegram
  2. Send /newbot and follow the prompts
  3. Copy the bot token

2. Start a chat with your bot

Find your bot on Telegram and send /start. This is required so the bot can discover your chat ID.

3. Add to your MCP client

Claude Code
bash
claude mcp add telegram -e TELEGRAM_BOT_TOKEN=your-token -e TELEGRAM_USERNAME=your-username -- npx @parthj/telegram-notify-mcp
Claude Desktop / Cursor / Windsurf

Add to your MCP config file:

json
{  "mcpServers": {    "telegram": {      "command": "npx",      "args": ["-y", "@parthj/telegram-notify-mcp"],      "env": {        "TELEGRAM_BOT_TOKEN": "your-bot-token",        "TELEGRAM_USERNAME": "your-telegram-username"      }    }  }}

Configuration

Environment VariableRequiredDescription
TELEGRAM_BOT_TOKENYesBot token from @BotFather
TELEGRAM_USERNAMEYesYour Telegram username (without the @)

Tools

Three tools. That's the entire surface area.

send_message

Send a text update to the user.

ParameterTypeRequiredDescription
textstringYesThe message text
parse_modestringNoHTML, Markdown, or MarkdownV2

send_photo

Send an image — a screenshot, a chart, a generated visual.

ParameterTypeRequiredDescription
photostringYesURL or absolute file path
captionstringNoPhoto caption
parse_modestringNoCaption formatting mode

send_document

Send a file — a report, a log, a build artifact.

ParameterTypeRequiredDescription
documentstringYesURL or absolute file path
captionstringNoDocument caption
parse_modestringNoCaption formatting mode

How It Works

  • On the first tool call, the server resolves your username to a chat ID via the Telegram Bot API's getUpdates
  • Sending /start to the bot is required — Telegram bots can only message users who have initiated a conversation
  • The chat ID is cached for the lifetime of the process

Development

bash
git clone https://github.com/ParthJadhav/telegram-notify-mcp.gitcd telegram-notify-mcpnpm installnpm run build

License

MIT

來源:README.md,提交 9eecb61

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分