RepositoryPythonGBUnited Kingdom
chigwell

chigwell/telegram-mcp

Telegram MCP server powered by Telethon to let MCP clients read chats, manage groups, and send/modify messages, media, contacts, and settings.

2.1kstars
539forks
14issues
7views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: contacts

#1 Repository of the week

1
TINIX TRENDING·Topic: search

#1 Repository of the week

1
TINIX TRENDING·Topic: telegram

#1 Repository of the week

📡 Telegram MCP Server

Bridge a Telegram session to MCP-compatible AI clients.

A Telethon-based Model Context Protocol server that lets clients like Claude, Cursor, and other MCP hosts work with a Telegram account. It exposes account, chat, message, contact, media, folder, and admin operations through 80+ tools, returning sanitized, structured JSON where practical.

✨ Highlights

  • 80+ MCP tools: Covers accounts, chats/groups, messages, contacts, media, profile/privacy, folders, and drafts.
  • Telethon-backed access: Uses Telethon to interact with the Telegram API through your own API credentials and session.
  • Multi-account support: List configured accounts and route tool calls by account label.
  • Login options: Generate a session string via interactive, QR (--qr), or phone + code (--phone) login with session_string_generator.py.
  • Read-only mode: Set TELEGRAM_EXPOSED_TOOLS=read-only to expose only tools annotated with readOnlyHint=True. This is only a tool-surface restriction, not a Telegram permission sandbox.
  • Extra controls: Includes proxy support, device identity options, file path security notes, and Docker support.
  • Safe install warning: Do not use uvx telegram-mcp or pip install telegram-mcp — use a cloned checkout of this repo.

💡 Why it matters

By putting Telegram actions under MCP, clients can inspect chat history, manage groups/channels, send or edit messages, handle media/contacts, and work with folders/drafts from one interface. Tool results with user-controlled content are sanitized where practical, and the exposed tool set can be limited to read-only without changing the underlying Telegram session authority.


#MCP #Telegram #Telethon #Python #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryPython
public-apis/public-apis

A collective list of free APIs

502.6k
Nov 30, 2026
RepositoryJavaScript
meetfranz/franz

Franz is a free messaging app for services like WhatsApp, Slack, Messenger and many more.

4.7k
Jun 12, 2026
RepositoryGo
nikoksr/notify

A dead simple Go library for sending notifications to various messaging services.

3.9k
Nov 30, 2026
RepositoryJavaScript
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

159.7k
Nov 27, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.3k
Dec 1, 2026
RepositoryMarkdown
DigitalPlatDev/FreeDomain

Free domain registration and practical DNS learning resources for everyone.

209.9k
Aug 12, 2026