New advertisers: 50% off your first month with code FIRSTMONTHSee slots
qelphybox avatar

Telegram (tg-mcp)

qelphybox/tg-mcp

Read, search, and summarize personal Telegram chats, with optional draft and send access.

GitHub stars
2
tools
13
transport
HTTP
last updated
Nov 14, 2026
View on GitHub

What it does

  • Reads data with whoami, list_chats, get_messages, get_chat_info, and get_members, plus search_messages across all chats or within one
  • Fetches media with get_media as images, voice transcriptions, or temporary download links; save_draft, send_message, react, and mark_read are opt-in writes
  • Requires QR-code login from the Telegram app and a remote streamable-HTTP connection; a cloud password step is optional
  • Designed for catching up on unread chats, summarizing threads, and finding messages without leaving an AI client

Tools

13 tools

Public tool metadata for what this MCP can expose to an agent.

whoamiThe connected account: id, name, @username, and its Chat folders (`chat_folders`: id, title, emoji, `rules` when a folder is defined by rules rather than a list of chats), in the app's order.

The connected account: id, name, @username, and its Chat folders (`chat_folders`: id, title, emoji, `rules` when a folder is defined by rules rather than a list of chats), in the app's order.

No parameter schema in public metadata yet.

list_chatsChats, most recent first: id, title, type, unread count, `muted` and `marked_unread` flags, last-message preview (text or caption, and the kind of media).

Chats, most recent first: id, title, type, unread count, `muted` and `marked_unread` flags, last-message preview (text or caption, and the kind of media).

No parameter schema in public metadata yet.

get_messagesMessages of one chat, newest first: sender, date, text (or caption), media, reply/forward/edit marks, reactions, a t.me link, pinned status, and topic info in forums.

Messages of one chat, newest first: sender, date, text (or caption), media, reply/forward/edit marks, reactions, a t.me link, pinned status, and topic info in forums.

No parameter schema in public metadata yet.

get_chat_infoTitle, type, @username of one chat; a group's or channel's description and member count. For a user, the profile Telegram shows the account.

Title, type, @username of one chat; a group's or channel's description and member count. For a user, the profile Telegram shows the account.

No parameter schema in public metadata yet.

get_membersMembers of a group, supergroup or channel: id, name, @username, role (creator / admin / member), bot flag.

Members of a group, supergroup or channel: id, name, @username, role (creator / admin / member), bot flag.

No parameter schema in public metadata yet.

search_messagesTelegram's own search by words (not meaning), newest first: across all chats, or in one with chat_id.

Telegram's own search by words (not meaning), newest first: across all chats, or in one with chat_id.

No parameter schema in public metadata yet.

get_mediaThe media of one message (chat_id, message_id, mode): view as an image, transcribe voice or video note audio to text, or download via a temporary Media link.

The media of one message (chat_id, message_id, mode): view as an image, transcribe voice or video note audio to text, or download via a temporary Media link.

No parameter schema in public metadata yet.

find_chatsThe account's own chats and contacts by name, title or @username, via Telegram's chat search.

The account's own chats and contacts by name, title or @username, via Telegram's chat search.

No parameter schema in public metadata yet.

get_draftsThe account's Drafts (unsent text in chats' message fields), newest first.

The account's Drafts (unsent text in chats' message fields), newest first.

No parameter schema in public metadata yet.

save_draftWrites; needs the draft Scope. Puts text into one chat's message field on all your devices, replacing the Draft there; nothing is sent.

Writes; needs the draft Scope. Puts text into one chat's message field on all your devices, replacing the Draft there; nothing is sent.

No parameter schema in public metadata yet.

send_messageSends as you; needs the send Scope. Sends text at once to one chat of the connection's Send allow-list.

Sends as you; needs the send Scope. Sends text at once to one chat of the connection's Send allow-list.

No parameter schema in public metadata yet.

reactWrites; needs the send Scope. Sets your reaction on one message of a chat of the Send allow-list to one standard emoji.

Writes; needs the send Scope. Sets your reaction on one message of a chat of the Send allow-list to one standard emoji.

No parameter schema in public metadata yet.

mark_readWrites; needs the send Scope. Marks a chat of the Send allow-list as read on all your devices, up to its latest message or up to up_to.

Writes; needs the send Scope. Marks a chat of the Send allow-list as read on all your devices, up to its latest message or up to up_to.

No parameter schema in public metadata yet.

Readme

tg-mcp

Unofficial remote MCP server that gives AI clients (Claude, ChatGPT, Gemini, Claude Code, Cursor, …) read access to your personal Telegram account and, only if you allow it, lets them write Drafts that you send yourself, or send messages to chats you choose, and react and mark as read there. You add a URL, log in by scanning a QR code, and you're done.

Not affiliated with or endorsed by Telegram. It uses the Telegram API through its own registered app ("Unofficial MCP Server"). Nothing is ever edited or deleted, and nothing is forwarded. A connection writes only what you ticked for it: Write Drafts, text in a chat's message field that you send yourself; Send messages, messages to the chats you chose, sent at once (your AI app decides whether it asks you first), plus reactions and read marks in those chats. Without either, nothing is ever written.

Quick start

Website: tgmcp.dev. Public instance: https://connector.tgmcp.dev/mcp

Claude Code

claude mcp add --transport http telegram https://connector.tgmcp.dev/mcp

View the full README on GitHub

Details

Repository
github.com/qelphybox/tg-mcp
Website
tgmcp.dev
Category
Email & Messaging
Transport
HTTP
Registry
MCP registry, active

Similar to Telegram (tg-mcp)

More Email & Messaging