Fast MCP Telegram
Server Details
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- leshchenko1979/fast-mcp-telegram
- GitHub Stars
- 50
- Server Listing
- Fast MCP Telegram
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 8 tools
Most tools target a distinct resource+action pair, and descriptions explicitly cross-reference alternatives (edit vs send, per-chat get_messages vs search_messages_globally). The main overlaps are send_message vs send_message_to_phone (same operation, different addressing) and invoke_mtproto, which by design can do anything the other tools do; both are documented well enough to avoid most misselection.
Names are uniformly snake_case and verb-first (edit_message, get_messages, send_message, search_messages_globally), which is highly predictable. Minor deviations: find_chats vs get_chat_info use different verbs for related lookup operations, and invoke_mtproto names a protocol rather than a resource.
Eight tools is well within the sweet spot for a Telegram client wrapper, and each one earns its place: lookup, read, send, edit, and a deliberate low-level escape hatch. Nothing feels padded or redundant enough to be removed.
Core lifecycle is covered: find chats, read messages (browse/search/threads), send, edit, and an MTProto escape hatch for unwrapped methods. Notable gaps remain on the high-level surface — no delete_message, forward, or chat join/leave — but invoke_mtproto (with allow_dangerous and peer-binding rules) gives agents a workaround.
Available Tools
8 toolsedit_messageEdit messageADestructiveIdempotentInspect
Replace the text of an existing message in a Telegram chat. Only works on messages sent by the authenticated account. Cannot edit media or other message attributes — text only. parse_mode: classic markdown/html/auto or rich (Rich Message; dialect auto-detected). schedule_date (ISO 8601) reschedules an already-queued message; it does not turn a delivered message into a scheduled one, and the result then carries status='scheduled'. Success: dict with message_id, date, chat, text, status='edited', and edit_date (rich messages also set rich=true and rich_format). Error: dict with ok=false and error string (e.g. message not found or not editable). Use edit_message to update a previously sent message; use send_message to create new ones. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: chat_id (required), message (required), message_id (required), parse_mode, +1 more. Returns: Return type for ``send_message`` and ``edit_message``.
find_chatsFind chatsARead-onlyIdempotentInspect
Find users/groups/channels by name, username, or phone. Comma-separated usernames are searched in parallel and results are merged round-robin. Global search (query required) searches all Telegram; with min_date, max_date, or filter, search uses dialog list or a named filter; include_peers filters use last-activity from GetPeerDialogs; flag-based filters use dialog list dates. Success: dict with key chats (list of chat objects). Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: limit, query, folder, public, +3 more. Returns: Return type for ``find_chats``.
get_chat_infoGet chat infoARead-onlyIdempotentInspect
Load profile and metadata for one user, bot, group, or channel. Success: info dict; forum chats may include topics up to topics_limit; user targets may include common_chats up to common_chats_limit. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: chat_id (required), topics_limit, common_chats_limit. Returns: Return type for ``get_chat_info``.
get_messagesGet messages in chatARead-onlyIdempotentInspect
Read or search messages in one chat: browse latest, search text, fetch by ids, or load replies to a message (comments, forum topics, threads). Use from_user to filter by sender (server-side, per-chat only). Use context to include neighboring messages and reply chains around each result. Use include_replies to fetch up to 5 direct replies per result. Do not combine message_ids with query or reply_to_id. Results are ordered by ascending date-time (oldest first) in every mode, including message_ids and nested context lists; limit selects the newest N. Success: messages, has_more, optional total_count and discussion fields. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: chat_id (required), limit, query, context, +9 more. Returns: Return type for ``search_messages_globally`` and ``get_messages``.
invoke_mtprotoInvoke MTProtoADestructiveInspect
Low-level Telegram API (MTProto) invoke for methods not wrapped by other tools. Dangerous methods require allow_dangerous=true. Success: API result dict or normalized error. PII and credential-shaped fields (phone, access_hash) are dropped from a successful result by default; pass include_sensitive=true for the raw payload. A bare message id needs a chat binding: requests with no peer field (messages.GetMessages, messages.DeleteMessages) are refused, because a bare id resolves against an arbitrary dialog. Use channels.GetMessages or messages.GetHistory, which carry the binding. messages.GetHistory cannot address a forum topic (no thread_id/top_msg_id in the schema, and channels.GetHistory does not exist) -- use messages.Search with top_msg_id, or the high-level get_messages with reply_to_id. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: params_json (required), method_full_name (required), resolve, allow_dangerous, +1 more. Returns: Return type for ``invoke_mtproto``. The success payload is a JSON-safe dict who…
search_messages_globallySearch messages globallyARead-onlyIdempotentInspect
Search all Telegram chats at once (not scoped to one chat). Comma-separated query terms; optional filters by date, chat kind, and public username. Results are ordered by ascending date-time (oldest first); limit selects the newest N. Success: message list and metadata dict. Global search ignores include_total_count. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: query (required), limit, public, max_date, +4 more. Returns: Return type for ``search_messages_globally`` and ``get_messages``.
send_messageSend messageADestructiveInspect
Send text and optional file attachments to a Telegram chat. Supports reply-to (including forum topics and channel discussion groups), parse_mode: classic markdown/html/auto (entities) or rich (Rich Message document; dialect auto-detected). parse_mode=rich cannot be combined with files. File attachments as http(s) URLs, local paths, or data: URIs. When files are provided, the message text becomes a caption. For channel posts with reply_to_id, automatically posts in the linked discussion group. schedule_date (ISO 8601, must be in the future) queues the message instead of delivering it now, so the result carries status='scheduled' plus scheduled and schedule_date. save_as_draft=true saves the text as the chat's draft instead of sending it (empty message clears the draft; user sessions only, bots cannot; text-only, so no files, no parse_mode='rich', no schedule_date). Success: dict with message_id, date, chat, text, status='sent', and sender info (rich messages also set rich=true and rich_format). Error: dict with ok=false and error string. Use send_message to create new messages; use edit_message to modify existing ones. Use send_message_to_phone when targeting a phone number instead of a chat_id. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: chat_id (required), message (required), files, parse_mode, +3 more. Returns: Return type for ``send_message`` and ``edit_message``.
send_message_to_phoneSend message to phoneADestructiveInspect
Send to a phone number: may create a temporary contact, then send text or files. Supports parse_mode: classic markdown/html/auto or rich (Rich Message; dialect auto-detected). parse_mode=rich cannot be combined with files. schedule_date (ISO 8601, future) queues the message instead of delivering now; save_as_draft=true saves the text as the draft in that chat instead of sending. Success: send result plus contact_was_new / contact_removed when applicable. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
Inputs: message (required), phone_number (required), files, last_name, +6 more. Returns: Return type for ``send_message_to_phone``.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
WhatsApp and Telegram for AI agents, behind a policy gateway. OAuth or access key.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Hosted Telegram MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Let AI assistants post to your Telegram chats, groups and channels. Not affiliated with Telegram.
Related MCP Servers
- AlicenseAqualityBmaintenanceGives an AI agent a real Telegram account so it can read personal chats, groups, channels and bots, transcribe voice messages and view photos, PDFs and other files locally, and send messages or files, create groups and channels, and press bot buttons over stdio or HTTP.11MIT
- AlicenseBqualityBmaintenanceTelegram MCP server that signs in as your user account over MTProto and treats every message it reads as a prompt injection. A Rust policy layer (send whitelist with username pinning, tier ceiling, kill switch, rate limits, audit log) guards 68 tools over stdio or HTTP with OAuth 2.1.421MIT
- FlicenseAqualityDmaintenanceEnables AI agents to interact with Telegram via MTProto, supporting high-performance communication and seamless integration.1-
- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to operate a Telegram user account through 116 Telethon-based tools covering messages, chats and file handling, while masking login codes and other secrets and refusing to forward, download or upload sensitive material. It runs locally over stdio or as a locked-down systemd service with encrypted credentials.Apache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.