
Fast MCP Telegram
Connects Claude to the full Telegram API so you can build agents that actually interact with Telegram beyond basic bot commands. You get access to messages, media handling, voice and video calls, polls, group management, reactions, admin operations, and search. Useful when you need an AI that can monitor channels, respond contextually in group chats, manage communities, or parse message history. Goes well beyond webhook bots since you can trigger actions from Claude's side and work with the complete platform feature set instead of just incoming messages.
- GitHub stars
- 50
- tools
- 8
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 4
- last updated
- Nov 11, 2026
Install
From registry metadata$ npx add-mcp https://tg-mcp.l1979.ru/v1/mcp --name fast-mcp-telegramRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http fast-mcp-telegram https://tg-mcp.l1979.ru/v1/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 8 toolsVerified live against the running server on Nov 6, 2026.
search_messages_globallySearch 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. Gl...8 params
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. Gl...
auto_expand_batchesintegerchat_typestringinclude_total_countbooleanlimitintegermax_datestringmin_datestringpublicbooleanquery*stringget_messagesRead 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 ea...13 params
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 ea...
auto_expand_batchesintegerchat_id*stringcontextintegerfrom_userstringinclude_repliesbooleaninclude_total_countbooleanlimitintegermax_datestringmessage_idsarraymin_datestringquerystringreply_to_idintegerthread_scopestringauto · full · directdefault: autosend_messageSend 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 wi...7 params
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 wi...
chat_id*stringfilesarraymessage*stringparse_modestringmarkdown · html · auto · richdefault: autoreply_to_idintegersave_as_draftbooleanschedule_datestringedit_messageReplace 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...5 params
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...
chat_id*stringmessage*stringmessage_id*integerparse_modestringmarkdown · html · auto · richdefault: autoschedule_datestringfind_chatsFind 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; i...7 params
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; i...
chat_typestringfolderstringlimitintegermax_datestringmin_datestringpublicbooleanquerystringget_chat_infoLoad 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/m...3 params
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/m...
chat_id*stringcommon_chats_limitintegertopics_limitintegersend_message_to_phoneSend 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 in...10 params
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 in...
filesarrayfirst_namestringlast_namestringmessage*stringparse_modestringmarkdown · html · auto · richdefault: autophone_number*stringremove_if_newbooleanreply_to_msg_idintegersave_as_draftbooleanschedule_datestringinvoke_mtprotoLow-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;...5 params
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;...
allow_dangerousbooleaninclude_sensitivebooleanmethod_full_name*stringparams_json*stringresolvebooleanSponsors
Configuration
API_ID*Telegram API ID from my.telegram.org
API_HASH*secretTelegram API Hash from my.telegram.org
SERVER_MODEdefault: stdioServer mode: stdio (local), http-no-auth (dev), http-auth (prod)
SESSION_DIRCustom session directory (defaults to ~/.config/fast-mcp-telegram/)
Readme
Telegram MCP Server — Model Context Protocol (MCP) gateway for Telegram. 8 context-efficient tools, multi-tenant, MTProto bridge.
Try the Demo
- Open https://tg-mcp.l1979.ru/setup
- Scan the QR code from Telegram mobile (Settings → Devices → Scan QR) — no phone typing, no OTP, no 2FA. Or enter your phone number as fallback.
- Copy your Bearer token from the success page
Then choose your path:
MCP Client (AI assistants)
- From the setup page, download the
mcp.jsonfile - Add the server to your AI client and ask: "send hello to my saved messages in telegram"
Direct API (curl)
- Run the command below (replace TOKEN with yours):
curl -X POST "https://tg-mcp.l1979.ru/mtproto-api/messages.SendMessage" \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"params": {"peer": "me", "message": "Hello!"}}'
Details
- Repository
- github.com/leshchenko1979/fast-mcp-telegram
- Website
- github.com/leshchenko1979/fast-mcp-telegram
- Category
- Communication & Messaging
- Package
fast-mcp-telegram- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026