telegram-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TELEGRAM_API_ID | Yes | Your Telegram API ID from my.telegram.org | |
| TELEGRAM_SESSION | Yes | Your session string for user authentication | |
| TELEGRAM_API_HASH | Yes | Your Telegram API hash from my.telegram.org |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_recent_messagesA | Get recent messages from a Telegram channel, group, or private chat. Returns resolved channel info (id/peer/username/type), hasMore/nextOffsetId for pagination, and lastMessageDate so an empty window can be told apart from a dead channel. |
| get_messages_multiA | Get recent messages from multiple Telegram channels in one call (1-25 channels). Returns per-channel results and per-channel errors, so one bad channel does not fail the call. Same response fields as get_recent_messages per channel. |
| get_channel_infoC | Get information about a Telegram channel, group, or private chat |
| search_messagesC | Search for messages in a Telegram channel, group, or private chat |
| get_available_channelsB | Get list of available channels and groups that the user has access to |
| mark_messages_readB | Mark messages as read in a Telegram chat, group, or private conversation (not supported for broadcast channels) |
| check_unread_messagesC | Check for unread messages in private chats and groups |
| get_private_messagesC | Get messages from a private chat conversation |
| get_chat_statusC | Get detailed status information about a chat including unread count and read status |
| telegram_authorizeB | Start Telegram authorization process with phone number |
| telegram_verify_codeB | Complete Telegram authorization with verification code and optional 2FA password |
| telegram_logoutB | Logout from Telegram and invalidate the current session |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Several read-oriented tools overlap: get_recent_messages already covers private chats that get_private_messages targets, check_unread_messages overlaps with get_chat_status and get_recent_messages, and get_messages_multi is a batched variant of get_recent_messages. Descriptions clarify some distinctions, but boundaries remain fuzzy enough to cause misselection.
Most tools follow a clear verb_noun pattern such as get_channel_info, search_messages, and mark_messages_read. The telegram_ prefix on authorization tools is a minor deviation but still readable and predictable.
Twelve tools is a well-scoped size for a Telegram client MCP covering authorization, channel discovery, message retrieval, search, unread tracking, and read marking. Each tool has a plausible role in that surface.
The server covers reading, searching, auth, and read receipts, but there is no tool to send a message, which is a core Telegram operation. Other lifecycle gaps such as editing, deleting, forwarding, or joining/leaving chats further limit the surface for a messaging integration.