Fast MCP Telegram
io.github.leshchenko1979/fast-mcp-telegram
Serveur MCP OK 8 outils
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Fiche technique
- Auteur
- leshchenko1979 (espace de noms du registre)
- Dépôt
- github.com/leshchenko1979/fast-mcp-telegram
- Site
- github.com/leshchenko1979/fast-mcp-telegram
- Version
- 0.46.2
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://tg-mcp.l1979.ru/v1/mcp Streamable HTTP
- Paquets
- fast-mcp-telegram 0.46.2 pypi stdio
- Outils
- 8
- Catégories
- Messagerie et communication, IA, agents et mémoire
- Comparatifs
- Serveurs MCP pour Telegram
- Dernière mise à jour
- 11 nov. 2026
- Publication
- 11 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 1 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.leshchenko1979/fast-mcp-telegram)<a href="https://latlas.dev/mcp/io.github.leshchenko1979/fast-mcp-telegram"><img src="https://latlas.dev/badge/statut/mcp/io.github.leshchenko1979/fast-mcp-telegram.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.leshchenko1979/fast-mcp-telegram)<a href="https://latlas.dev/mcp/io.github.leshchenko1979/fast-mcp-telegram"><img src="https://latlas.dev/badge/fiche/io.github.leshchenko1979/fast-mcp-telegram.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://tg-mcp.l1979.ru/v1/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:37
- Temps de réponse
- 1 781 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- Telegram MCP Server 3.4.11
- Outils
- 8
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:37 | OK | 1 781 ms | 8 |
Outils exposés (8, réponse à tools/list, 28 nov. 2026)
search_messages_globally
Search messages globally
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search terms, comma-separated for multiple terms (OR-style global search). Required. |
| limit | integer | non | Maximum messages to return (recommended 50 or less). |
| min_date | string | non | Inclusive minimum date filter (ISO 8601 date or datetime). Omit for no lower bound. |
| max_date | string | non | Inclusive maximum date filter (ISO 8601 date or datetime). Omit for no upper bound. |
| chat_type | string | non | Comma-separated chat kinds: private, bot, group, channel. Case-insensitive; extra spaces allowed. |
| public | boolean | non | If true, prefer chats with a public username; if false, without. Does not apply to private DMs. Omit to skip this filter. |
| auto_expand_batches | integer | non | Extra search batches to run when filters narrow results. Higher values may return more matches at the cost of latency. |
| include_total_count | boolean | non | If true, response may include total_count where supported (per-chat search; ignored for global search). |
get_messages
Get messages in chat
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chat_id | string | oui | Target chat: numeric id (e.g. -100…), username without @, or 'me' for Saved Messages. |
| query | string | non | Search within this chat only; comma-separated terms. Omit to browse latest or use message_ids / reply_to_id modes. |
| message_ids | array<integer> | non | Exact message ids to fetch. Mutually exclusive with query and reply_to_id. |
| reply_to_id | integer | non | Anchor message id: channel post id, forum topic_id from get_chat_info, or a message id for direct replies. Use with thread_scope. |
| thread_scope | enum: "auto" | "full" | "direct" | non | Only with reply_to_id. auto: full forum topic (topic_id) or channel comment thread via getReplies; else direct replies. full: nested branch under a message id (forum in-topic uses search window, not whole topic); supergroup threads use search top_msg_id. direct: immediate replies only. |
| limit | integer | non | Maximum messages to return (recommended 50 or less). |
| min_date | string | non | Inclusive minimum date filter (ISO 8601 date or datetime). Omit for no lower bound. |
| max_date | string | non | Inclusive maximum date filter (ISO 8601 date or datetime). Omit for no upper bound. |
| from_user | string | non | Only return messages from this sender. Not a display-name or contact-name search — bare strings resolve like chat_id via get_entity (usernames are case-insensitive and may match an unrelated channel). Prefer @username, phone (+…), or numeric user id. Also accepts 'me', 'self', t.me URL, -100 prefix… |
| context | integer | non | Number of surrounding messages to include as context for each search result. 0 = disabled (default). 1-10 = include N messages before and N after each result. Also fetches the message being replied to and top replies (if include_replies=true). Requires chat_id. Disabled when result count exceeds co… |
| include_replies | boolean | non | If true, fetch up to 5 direct replies per search result and attach as replies. Each result costs one API call (not batchable). Default: false. |
| auto_expand_batches | integer | non | Extra search batches to run when filters narrow results. Higher values may return more matches at the cost of latency. |
| include_total_count | boolean | non | If true, response may include total_count where supported (per-chat search; ignored for global search). |
send_message
Send message
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chat_id | string | oui | Target chat: numeric id (e.g. -100…), username without @, or 'me' for Saved Messages. |
| message | string | oui | Message text. When sending files, used as caption. |
| reply_to_id | integer | non | Telegram message id to reply to. For forums, topic root id; for channel posts, post id (may create a comment). Omit for a new top-level message. |
| parse_mode | enum: "markdown" | "html" | "auto" | "rich" | non | 'markdown'/'html'/'auto': classic entity formatting (auto detects). 'rich': Telegram Rich Message document; dialect auto-detected (known HTML tags outside code → rich HTML, else rich markdown). Default is 'auto'. parse_mode='rich' cannot be combined with files. |
| files | array<string> | non | List of attachment URLs, local paths, or data URIs (one or more strings). data: URIs (data: ;base64, ) work in all server modes; local paths work in stdio mode only. |
| schedule_date | string | non | ISO 8601 instant at which Telegram should deliver the message, e.g. '2026-10-20T09:00:00Z' or '2026-10-20T12:00:00+03:00'. Must be in the future. On send: queues the message instead of delivering now. On edit: reschedules an already-queued message. |
| save_as_draft | boolean | non | If true, save the text as the chat's draft instead of sending it (an empty text clears the existing draft). User sessions only — bot accounts cannot call messages.saveDraft. Cannot be combined with schedule_date, files, or parse_mode='rich'. |
edit_message
Edit message
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chat_id | string | oui | Target chat: numeric id (e.g. -100…), username without @, or 'me' for Saved Messages. |
| message | string | oui | Message text. When sending files, used as caption. |
| message_id | integer | oui | Message id in this chat to edit (from get_messages or Telegram). |
| parse_mode | enum: "markdown" | "html" | "auto" | "rich" | non | 'markdown'/'html'/'auto': classic entity formatting (auto detects). 'rich': Telegram Rich Message document; dialect auto-detected (known HTML tags outside code → rich HTML, else rich markdown). Default is 'auto'. parse_mode='rich' cannot be combined with files. |
| schedule_date | string | non | ISO 8601 instant at which Telegram should deliver the message, e.g. '2026-10-20T09:00:00Z' or '2026-10-20T12:00:00+03:00'. Must be in the future. On send: queues the message instead of delivering now. On edit: reschedules an already-queued message. |
find_chats
Find chats
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Name, username (no @), phone (+country…), or comma-separated usernames for batch lookup. Example: 'alice,bob,charlie'. Required for global search unless you use min_date/max_date or folder alone. |
| limit | integer | non | Maximum chats to return (recommended 50 or less). |
| chat_type | string | non | Comma-separated chat kinds: private, bot, group, channel. Case-insensitive; extra spaces allowed. |
| public | boolean | non | If true, prefer chats with a public username; if false, without. Does not apply to private DMs. Omit to skip this filter. |
| min_date | string | non | Inclusive minimum date filter (ISO 8601 date or datetime). Omit for no lower bound. |
| max_date | string | non | Inclusive maximum date filter (ISO 8601 date or datetime). Omit for no upper bound. |
| folder | string | non | Telegram folder name (case-insensitive exact match after normalization). In Telegram's UI these are called folders; internally they are "dialog filters" — saved filter presets that group chats by custom criteria (pinned, unread, business, etc.). See Filters-vs-Folders.md for the technical distincti… |
get_chat_info
Get chat info
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chat_id | string | oui | Target chat: numeric id (e.g. -100…), username without @, or 'me' for Saved Messages. |
| topics_limit | integer | non | Max forum topics to list when the chat is a forum. |
| common_chats_limit | integer | non | Max common groups to list for user targets. |
send_message_to_phone
Send message to phone
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| phone_number | string | oui | E.164 phone number with country code, e.g. +1234567890 (must be on Telegram). |
| message | string | oui | Message text. When sending files, used as caption. |
| first_name | string | non | First name when creating a temporary contact. |
| last_name | string | non | Last name when creating a temporary contact. |
| remove_if_new | boolean | non | If true, delete the contact after send when it was created only for this send. |
| reply_to_msg_id | integer | non | Reply to this message id in the target chat after resolve. |
| parse_mode | enum: "markdown" | "html" | "auto" | "rich" | non | 'markdown'/'html'/'auto': classic entity formatting (auto detects). 'rich': Telegram Rich Message document; dialect auto-detected (known HTML tags outside code → rich HTML, else rich markdown). Default is 'auto'. parse_mode='rich' cannot be combined with files. |
| files | array<string> | non | List of attachment URLs, local paths, or data URIs (one or more strings). data: URIs (data: ;base64, ) work in all server modes; local paths work in stdio mode only. |
| schedule_date | string | non | ISO 8601 instant at which Telegram should deliver the message, e.g. '2026-10-20T09:00:00Z' or '2026-10-20T12:00:00+03:00'. Must be in the future. On send: queues the message instead of delivering now. On edit: reschedules an already-queued message. |
| save_as_draft | boolean | non | If true, save the text as the chat's draft instead of sending it (an empty text clears the existing draft). User sessions only — bot accounts cannot call messages.saveDraft. Cannot be combined with schedule_date, files, or parse_mode='rich'. |
invoke_mtproto
Invoke MTProto
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| method_full_name | string | oui | Telegram API method, e.g. "messages.GetHistory" or "users.GetFullUser" (normalization applied). |
| params_json | string | oui | JSON object string of TL parameters as in Telegram API docs; nested TL uses "_": "typeName" discriminator. |
| allow_dangerous | boolean | non | If false, destructive methods (e.g. deletes) are blocked. Set true only when intended. |
| resolve | boolean | non | If true, resolve string/int peer-like fields to TL Input* entities before invoke. |
| include_sensitive | boolean | non | If true, return the raw result including PII and credential-shaped fields (phone, access_hash). Default false drops them. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://tg-mcp.l1979.ru/v1/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http fast-mcp-telegram https://tg-mcp.l1979.ru/v1/mcpCustomize > Connectors > + Add > Add custom connector ; Name : fast-mcp-telegram ; URL : https://tg-mcp.l1979.ru/v1/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : fast-mcp-telegram ; Server URL : https://tg-mcp.l1979.ru/v1/mcp ; Create as a plugin{
"mcpServers": {
"fast-mcp-telegram": {
"url": "https://tg-mcp.l1979.ru/v1/mcp"
}
}
}{
"mcpServers": {
"fast-mcp-telegram": {
"type": "http",
"url": "https://tg-mcp.l1979.ru/v1/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"fast-mcp-telegram": {
"url": "https://tg-mcp.l1979.ru/v1/mcp"
}
}
}{
"mcpServers": {
"fast-mcp-telegram": {
"httpUrl": "https://tg-mcp.l1979.ru/v1/mcp"
}
}
}[mcp_servers.fast-mcp-telegram]
url = "https://tg-mcp.l1979.ru/v1/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Fast MCP Telegram · L’Atlas · Test du
[Fast MCP Telegram — L’Atlas](https://latlas.dev/mcp/io.github.leshchenko1979/fast-mcp-telegram)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.