Telegram MCP logo

Telegram MCP

by chigwell

Manage Telegram accounts, chats, messages, contacts, media, reactions, polls, and admin tasks through MCP tools.

Install Telegram MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "chigwell-telegram-mcp": {
      "command": "uvx",
      "args": [
        "telegram-mcp"
      ],
      "env": {
        "TELEGRAM_CONTACT_FUZZY": "YOUR_VALUE_HERE",
        "TELEGRAM_ALIASES_FILE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

chigwell/telegram-mcp connects MCP clients such as Claude and Cursor to Telegram through Telethon. Its 80+ tools cover account routing, chat administration, message workflows, contacts, media, polls, reactions, read status, and inline buttons. Use it when an agent needs to inspect Telegram conversations or perform controlled actions such as drafting, sending, forwarding, moderating, and organizing chats.

Use cases

  • Summarize unread Telegram messages
  • Search chat history and inspect surrounding context
  • Draft and send replies
  • Moderate groups and manage permissions
  • Transcribe voice messages and video notes

Key features

  • 80+ Telegram MCP tools
  • Multi-account routing by account label
  • Message search, editing, scheduling, forwarding, and reactions
  • Chat, group, channel, and admin management
  • Contact aliases with conservative matching
  • Media transfer and voice transcription

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

47/47 checks healthy over the last 89d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · telegram-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity11 viewsConfig copies, upvotes, and views on AllMCPs.

How Telegram MCP works

What chigwell/telegram-mcp MCP server does

chigwell/telegram-mcp exposes Telegram account and conversation operations through the Model Context Protocol. It is built with Telethon and is intended for MCP-compatible clients, including Claude and Cursor. The toolset spans account selection, chat and group management, message retrieval and editing, contact handling, media transfer, reactions, polls, and administrative actions.

The server also supports higher-level workflows. An agent can search chat history, inspect surrounding context, summarize unread messages, prepare replies, and then send or edit messages. Contact aliases let users refer to people with saved names, while chat access can be constrained with an allowlist.

How it works

Configured accounts can be listed and selected by account label when a tool call needs a particular Telegram identity. Telegram operations are then issued through MCP tools backed by Telethon. The available operations include both reads and writes, so clients can retrieve data as well as send messages, change chat settings, manage participants, or interact with message controls.

Message tools support replies, scheduling, forwarding, deletion, pinning, read markers, polls, reactions, inline buttons, and message links. Messages can use classic Markdown or HTML formatting, or the server's richer formatting modes. Rich modes support elements such as tables, headings, formulas, and collapsible sections, but require Telegram Premium; when Premium is unavailable, the server returns a structured result instead of sending the message.

Contact references are deliberately conservative. Exact saved aliases resolve directly, while ambiguous or merely similar wording produces a confirmation instruction rather than sending to a guessed recipient. Typing indicators can target a forum topic, and voice messages or video notes can be transcribed with the available transcription engines.

Setup and configuration

The repository is designed to be registered as an MCP server in a compatible client. The README demonstrates use with Claude and Cursor and includes client configuration, multi-account, device identity, proxy, Docker, and development topics.

Contact aliases are stored in an owner-only JSON file under ${XDG_STATE_HOME:-~/.local/state}/telegram-mcp/aliases.json. Set TELEGRAM_ALIASES_FILE to use another location. TELEGRAM_CONTACT_FUZZY=0 disables suggestions for wording that resembles a saved contact alias. Aliases can be listed, removed, or reassigned with dedicated tools.

Tools and capabilities

  • List configured Telegram accounts and route calls by account label.
  • List chats, inspect metadata, create groups or channels, join or leave chats, and manage invitations.
  • Administer groups with participant removal, bans, permissions, slow mode, topics, invite links, and administrator controls.
  • Retrieve, search, summarize in context, send, schedule, edit, delete, forward, pin, reply to, and mark messages as read.
  • Create and vote in polls, manage reactions, inspect inline buttons, and press supported callback or game buttons.
  • Add, search, import, export, block, unblock, and remove contacts, including remembered aliases.
  • Upload and download media, send files, voice notes, stickers, and GIFs, and transcribe voice messages or video notes.
  • Send temporary typing indicators and manage read status, message links, and send-as identities.

Limitations and notes

Rich message formatting depends on Telegram Premium and is checked for each relevant call. Inline-button actions that require a two-factor authentication password are refused. Poll voting validates answer indexes and Telegram's voting restrictions, and a new vote may replace an existing one.

Typing indicators are temporary write operations. Calls for the same account, chat, and topic cannot overlap, and successful responses confirm that Telegram accepted the request rather than that another client's interface displayed it. Contact alias resolution avoids guessing: unknown, ambiguous, or unresolved references result in an instruction to confirm the intended person before retrying.

The project is licensed under Apache-2.0.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Telegram MCP

chigwell/telegram-mcp is an MCP server that connects Claude, Cursor, and other MCP clients to Telegram through Telethon. Its main tools manage accounts, chats, groups, messages, contacts, media, polls, reactions, inline buttons, read status, and administrative operations, including sending, editing, forwarding, and searching messages.

Configure it as an MCP server in a compatible client, then set up the Telegram account and client settings required by the project. The project includes guidance for client configuration, multiple accounts, device identity, proxies, Docker, and development workflows.

Yes, chigwell/telegram-mcp is intended for Claude, Cursor, and other MCP-compatible clients. The project demonstrates Telegram use from Claude and identifies Cursor as a supported integration.

Use the contact-alias tools to associate a person with a confirmed username, phone number, numeric ID, or existing alias. Exact saved wording resolves automatically; ambiguous or similar wording asks for confirmation before any message is sent. Alias storage can be redirected with TELEGRAM_ALIASES_FILE.

Yes, its send, reply, and edit tools accept classic Markdown or HTML and richer formatting modes. Rich modes support tables, headings, formulas, and collapsible sections, but require Telegram Premium; without Premium, the server returns a structured result and sends nothing.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTelegram MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chigwell-telegram-mcp?style=directory)](https://allmcps.com/mcp/chigwell-telegram-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/chigwell-telegram-mcp"><img src="https://allmcps.com/api/badge/chigwell-telegram-mcp?style=directory" alt="Telegram MCP on AllMCPs" /></a>