MCP.so
登录

Telegram MCP Server

@MobileVibe

关于 Telegram MCP Server

MCP server to send notifications to Telegram

基本信息

分类

沟通协作

许可证

MIT license

运行时

node

传输方式

stdio

发布者

MobileVibe

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "telegram-mcp-mobilevibe": {
      "command": "node",
      "args": [
        "examples/programmatic-usage.js"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Telegram MCP Server?

A Model Context Protocol (MCP) server that enables LLMs to send notifications via Telegram and receive user responses. It integrates with Cline and other MCP‑compatible LLM applications.

How to use Telegram MCP Server?

Install the package globally from npm (npm install -g telegram-mcp), set the required environment variables TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID, then run telegram-mcp. Alternatively, clone the repository, build, and run. For integration with Cline or Claude Desktop, add a JSON entry to their MCP settings or config file specifying the command, args, and environment variables.

Key features of Telegram MCP Server

  • Send text notifications to a Telegram chat
  • Customizable urgency levels: low, medium, high
  • Wait for and retrieve user responses
  • Supports both standalone and application‑integrated operation
  • Works with Node.js 16 or higher

Use cases of Telegram MCP Server

  • LLM notifies a user about task completion or requests approval
  • LLM waits for a user’s answer before proceeding with an action
  • Integrating LLMs into Telegram‑based workflow automation

FAQ from Telegram MCP Server

What prerequisites are needed to run the server?

Node.js 16 or higher, a Telegram bot token (obtained from @BotFather), and your Telegram chat ID.

How do I get a Telegram bot token?

Start a chat with @BotFather on Telegram, send the command /newbot, follow the instructions, and BotFather will provide a token.

How do I find my Telegram chat ID?

Start a chat with your new bot, send a message, then visit https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates. Look for the chat object in the response and note the id field.

What tools does the server provide?

Two tools: send_notification (sends a message with optional urgency) and check_notification_response (checks for a user reply to a previous message, with an optional timeout).

How do I integrate the server with Cline or Claude Desktop?

Add a JSON entry to the MCP settings file (Cline) or config file (Claude Desktop) under mcpServers, specifying command: "node", args pointing to the built index.js, and env containing TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID.

评论

沟通协作 分类下的更多 MCP 服务器