Labsco
alexandertsai logo

Telegram MCP Server

โ˜… 7

from alexandertsai

Connect to your Telegram account to read and send messages.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

Telegram MCP Server

Connect Claude to your Telegram account to read and send messages.

Features

Most chats, users, and groups can be referenced by numeric id, @username, phone number, t.me link, or the literal "me" โ€” the server resolves them for you (and warms Telethon's entity cache automatically so raw ids work too).

Available Tools

Reading

  • get_me โ€“ Info about the authenticated account
  • get_chats โ€“ Paginated list of chats (names, ids, unread counts, pinned state); supports archived chats
  • get_messages โ€“ Paginated message history for a chat (marks it read); includes media and reaction info
  • search_messages โ€“ Search by text, globally or within a single chat
  • get_pinned_messages โ€“ List pinned messages in a chat
  • get_entity_info โ€“ Look up a user/group/channel by id, username, phone, or link
  • get_participants โ€“ List members of a group or channel

Sending & editing

  • send_message โ€“ Send text (Markdown), optionally as a reply
  • edit_message โ€“ Edit a message you sent
  • delete_messages โ€“ Delete messages (for everyone or just you)
  • forward_messages โ€“ Forward messages between chats
  • send_reaction โ€“ Add or clear an emoji reaction
  • pin_message / unpin_message โ€“ Pin or unpin messages
  • mark_messages_read โ€“ Mark a chat's unread messages as read

Media

  • send_file โ€“ Send a photo, video, document, or voice note from disk
  • download_media โ€“ Download a message's attached media to disk

Contacts & users

  • get_contacts โ€“ List saved contacts
  • add_contact / delete_contact โ€“ Manage contacts
  • block_user / unblock_user โ€“ Block management

Chat & channel management

  • create_group โ€“ Create a basic group
  • create_channel โ€“ Create a channel or supergroup
  • join_chat / leave_chat โ€“ Join (by username or invite link) or leave
  • archive_chat โ€“ Archive / unarchive a chat
  • mute_chat โ€“ Mute / unmute notifications

Style-aware drafting

  • get_conversation_context โ€“ Recent messages + your convostyle.txt guide so Claude can match your texting style

Style Guide (Optional)

Create src/mcp_telegram/convostyle.txt to help Claude match your texting style:

I text casually with friends, formally with work contacts.
I use emojis sparingly and prefer short messages.