MT

mcp-telegram/mcp-telegram

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

73 stars 28 forks 质量 89 趋势 21MIT

mcp-telegram/mcp-telegram 是从 https://github.com/mcp-telegram/mcp-telegram. 导入的 MCP 服务器候选

概览

mcp-telegram/mcp-telegram 是从 https://github.com/mcp-telegram/mcp-telegram. 导入的 MCP 服务器候选

概述(AI 翻译)

** 文档📖**** ☁️ 云端版本** — 只需30秒,只需二维码,无需API密钥,即可将Telegram连接到 Claude.ai 或ChatGPT。

Telegram MCP 服务器——一个模型上下文协议服务器,通过 MTProto 协议将 Claude 和 ChatGPT 等 AI 助手连接到 Telegram。与机器人不同,它作为 userbot 运行——它通过 GramJS 在你的个人 Telegram 账户下运行,提供对聊天记录、联系人和消息历史的完整访问权限。

特色

  • 全面的工具覆盖——功能最完整的Telegram MCP服务器
  • MTProto 协议——直接通过 Telegram API 访问,而非有限的 Bot API
  • 用户机器人 —— 作为您的个人账户运行,而非机器人
  • 功能齐全——消息、反应、投票、定时消息、贴纸、媒体、联系人等
  • 论坛话题——列出话题,阅读逐题消息,发送至特定话题,按主题计数
  • 贴纸——搜索贴纸组,浏览已安装/最近贴纸,向任何聊天发送贴纸
  • 账户和个人资料管理 —— 更新个人资料,设置表情状态、生日、个人频道、头像,管理隐私设置、会话、自动删除计时器

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Telegram MCP Server

📖 Documentation · ☁️ Cloud version — connect Telegram to Claude.ai or ChatGPT in 30 seconds with QR code, no API keys needed.

Telegram MCP Server — a Model Context Protocol server that connects AI assistants like Claude and ChatGPT to Telegram via the MTProto protocol. Unlike bots, this runs as a userbot – it operates under your personal Telegram account using GramJS, giving full access to your chats, contacts, and message history.

Features

  • Comprehensive tool coverage – the most full-featured Telegram MCP server available
  • MTProto protocol – direct Telegram API access, not the limited Bot API
  • Userbot – operates as your personal account, not a bot
  • Full-featured – messaging, reactions, polls, scheduled messages, stickers, media, contacts, and more
  • Forum Topics – list topics, read per-topic messages, send to specific topics, per-topic unread counts
  • Stickers – search sticker sets, browse installed/recent stickers, send stickers to any chat
  • Account & profile management – update profile, set emoji status, birthday, personal channel, profile photo, manage privacy settings, sessions, auto-delete timers
  • Chat folders – create, edit, delete and reorder folders, toggle folder tags, read suggested folders (v1.33.0)
  • Global privacy – read and set account-wide privacy settings (v1.33.0)
  • Global search – search messages across all chats at once
  • Real-time polling – fetch updates via stateless cursors; agent owns {pts, qts, date} state
  • Inline bots & buttons – query inline bots, send results, press callback buttons
  • Stories – read stories from peers, get story view stats; publish/edit/delete stories, react, pin, stealth mode, archive, report (v1.30.0)
  • Discussion – get discussion-group info for channel posts with comments, list groups eligible for discussion (v1.30.0)
在 GitHub 查看完整 README

安装

npx @overpod/mcp-telegram
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "telegram": { "command": "npx", "args": ["@overpod/mcp-telegram"], "env": { "TELEGRAM_API_ID": "YOUR_ID", "TELEGRAM_API_HASH": "YOUR_HASH" } } } }