
Telegram MCP Server

2025.04.19
1
TypeScriptTelegram 交互AI 助手交流协作
Telegram MCP Server 是一个基于 Model Context Protocol 的服务,用于连接 Telegram Bot API,使 AI 助手能够通过标准化工具与 Telegram 进行交互。该服务支持发送消息、发送照片和删除消息等操作,适用于需要自动化处理 Telegram 消息的场景。
View on GitHub
Overview
基本能力
产品定位
Telegram MCP Server 是一个基于 Model Context Protocol 的服务,用于连接 Telegram Bot API,使 AI 助手能够通过标准化工具与 Telegram 进行交互。
核心功能
- sendMessage: 向聊天发送文本消息
- sendPhoto: 向聊天发送带可选标题的照片
- deleteMessage: 从聊天中删除消息
适用场景
- 自动化处理 Telegram 消息
- AI 助手与 Telegram 的交互
- 需要标准化工具集成的 Telegram 机器人开发
工具列表
- Model Context Protocol SDK: 提供标准化工具集成的能力
- Telegram Bot API: 提供与 Telegram 交互的能力
- TypeScript: 用于开发该服务的编程语言
常见问题解答
无
使用教程
使用依赖
-
安装依赖:
npm install
-
创建
.env
文件并填写 Telegram Bot Token:TELEGRAM_BOT_TOKEN=your_bot_token_here
安装教程
-
构建 TypeScript 项目:
npm run build
-
启动服务:
npm start
调试方式
无