Fast MCP Telegram
Gateway to Telegram accounts and chats for AI agents: search, read, send, and edit messages.
- CCM score
- 85 of 100
- GitHub stars
- 50
- tools
- 8
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 4
- last updated
- Nov 11, 2026
Own this MCP server? Claim it
What it does
- Reads data with
search_messages_globally,get_messages,find_chats, andget_chat_info, covering global search, per-chat browsing, and replies to forum topics or channel posts - Writes with
send_message,send_message_to_phone, andedit_message; editing is text-only and limited to messages sent by the authenticated account - Requires a Telegram sign-in through QR or phone code, or a bot token, and supports HTTP with Bearer tokens or local stdio
- Designed for AI assistants that need to triage chats, search message history, and send updates from one agent
Install
$ npx -y add-mcp https://tg-mcp.l1979.ru/v1/mcp --name fast-mcp-telegram -yAdds the server to every agent config it finds in this 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*stringresolvebooleanConfiguration
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
- Categories
- Email & Messaging, AI Agents & LLM Apps
- Package
fast-mcp-telegram- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026
Questions
What does the Fast MCP Telegram server let an AI agent do?
It gives an agent 8 tools for Telegram, including searching messages across all chats, reading or searching messages in one chat, sending and editing messages, finding users, groups and channels, and loading chat info. It connects to Telegram through the MTProto User API and supports both stdio and streamable HTTP transports.
How do I install the Fast MCP Telegram server in Claude Code?
Run claude mcp add --transport http fast-mcp-telegram https://tg-mcp.l1979.ru/v1/mcp in a terminal. After that, the agent can search, read and send Telegram messages through the server's eight tools.
What do I need to run Fast MCP Telegram myself?
Running it locally with stdio needs API_ID and API_HASH from my.telegram.org, plus the pypi package fast-mcp-telegram. SERVER_MODE and SESSION_DIR are optional, and the server is multi-tenant so one deployment can serve many users.
Where does Fast MCP Telegram rank in the Email & Messaging category?
It ranks in the top 50 on the Email & Messaging category page on Claude Marketplaces, alongside servers such as WhatsApp and Slack. It differs from them by focusing on Telegram through the MTProto User API, with a global search tool that looks across all chats at once.
Similar to Fast MCP Telegram
More Email & MessagingMcp Telegram BotMCP serverdaedalus1 starSends messages, media, polls, and moderation actions to a Telegram bot via its Bot API token.
agent-telegramPluginagent-messenger/agent-messenger261 starsInteract with Telegram through TDLib. Features automatic API credential provisioning via my.telegram.org, multi-account support, chat management, and message op
WhatsAppMCP serverlharries7K starsRead and send WhatsApp messages, chats, and media from a personal account through Claude.
telegramSkillskillhq/telegram487 installsTelegram CLI that reads, searches, sends, and administers chats, groups, and history from the terminal.