telegram-user-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TELEGRAM_PHONE | Yes | Phone number for the Telegram account. | |
| TELEGRAM_API_ID | Yes | Telegram API ID obtained from https://my.telegram.org/apps. | |
| TELEGRAM_API_HASH | Yes | Telegram API hash obtained from https://my.telegram.org/apps. | |
| TELEGRAM_READ_ONLY | No | When true, enables the read-only safety guard and blocks mutating tools. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Personal Telegram controller via Telethon MTProto. Use list_chats / list_folders / search_chats to discover chats, get_messages / search_messages_global to read messages, send_message / send_file / forward_messages to send content, and download_media to save files from Telegram channels or chats.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| auth_statusB | Check whether the Telegram personal account session is authorized. |
| auth_send_codeC | Send a Telegram login verification code to your phone/Telegram app. |
| auth_verify_codeA | Complete Telegram login with the verification code (and optional 2FA cloud password). |
| get_meA | Get profile information of the currently logged-in Telegram user. |
| list_foldersA | List custom Telegram chat folders (filters) such as work, courses, graphics, etc. |
| get_folder_chatsA | List all chats/channels/groups inside a custom Telegram folder (by folder title like 'Work' or folder ID). |
| list_chatsC | List recent Telegram dialogs/chats. chat_type: 'all', 'user', 'bot', 'group', or 'channel'. |
| search_chatsB | Search your Telegram dialogs and global directory by name or @username. |
| get_chat_infoB | Get detailed info about a user, group, or channel by ID, @username, or chat title. |
| get_messagesA | Read messages from a chat/group/channel ('me', @username, numeric ID, or chat title). Optionally filter messages inside that chat using 'search'. |
| search_messages_globalC | Search messages across ALL your Telegram chats, groups, and channels. |
| send_messageC | Send a text message to a user, group, channel, or 'me' (Saved Messages). parse_mode: 'md' (Markdown), 'html', or 'none'. |
| send_fileC | Upload and send a local file, image, video, or document to a Telegram chat or 'me'. |
| download_mediaC | Download the attached file/photo/video/archive from a specific message_id in target chat. |
| forward_messagesC | Forward one or more messages from one chat to another (e.g. to 'me' Saved Messages). |
| edit_messageC | Edit the text of a message you previously sent. |
| delete_messagesB | Delete one or more messages in a chat. |
| mark_as_readC | Mark unread messages in a chat/group/channel as read. |
| pin_messageC | Pin a message in a chat/group/channel. |
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 19 tools
Most tools target a distinct resource+action pair (send/edit/delete/forward/pin messages), and descriptions clarify the boundaries between list_chats, search_chats, and get_chat_info. Minor overlap remains between search_chats and get_chat_info (both resolve a chat by name/@username) and between get_messages and search_messages_global, but the wording makes the intended selection clear.
All names are snake_case and follow a verb_noun pattern (send_message, edit_message, delete_messages, list_chats, get_chat_info), with an auth_ namespace prefix used consistently for the three login tools. The only deviations are the noun-phrase auth_status and the terse get_me, which are minor and readable.
At 19 tools the set is on the heavy side but each tool maps to a real operation in a personal Telegram client (auth, chats, folders, messages, media). No obviously redundant tools inflate the count, though a few message-management operations could arguably be collapsed.
Core messaging lifecycle is well covered: send text/file, read, search (per-chat and global), edit, delete, forward, pin, mark read, and media download, plus auth and folder browsing. Gaps exist around chat membership operations (join/leave), contact/participant listing, reactions, and folder creation/deletion, but agents can work around most of these.