1. Conduid
  2. Communication
  3. Tg
MCP server · Communication

Tg

MCP server for Telegram Client API (MTProto)

Unclaimed comms
49Fair

Scored 22 hours ago · breakdown

About Tg

Tg is an MCP server published by lexfrei in the Communication category: mCP server for Telegram Client API (MTProto). Conduid read 77 tools from its source: tg_bots_get_info, tg_chats_archive, tg_chats_create, tg_chats_delete, tg_chats_delete_photo, tg_chats_get_admins and 71 more. No package is published for it, so it installs from a source checkout.

The repository has 11 stars and 2 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include comms.

Install

From source
git clone https://github.com/lexfrei/mcp-tg

Tools (77)

tg_bots_get_infoGet a Telegram bot's description and command menu
tg_chats_archiveArchive or unarchive a Telegram chat
tg_chats_createCreate a new Telegram group or channel
tg_chats_deleteDelete a Telegram channel or supergroup (basic group deletion is not supported by API)
tg_chats_delete_photoRemove the photo of a Telegram group or channel
tg_chats_get_adminsGet the list of administrators in a Telegram channel or supergroup
tg_chats_muteMute or unmute notifications for a Telegram chat
tg_chats_search_publicSearch public Telegram channels, groups, bots and users by name or username — beyond the chats the account already has. Lists the account's own matches first, then global ones, without duplicates, labels bots, and takes a limit. tg_dialogs_search and tg_contacts_search wrap the same search but return the raw dialogs or only contacts
tg_chats_set_descriptionSet the description (about text) of a Telegram chat, group, or channel
tg_chats_set_permissionsSet default chat permissions for a Telegram group or channel
tg_chats_set_photoSet the photo of a Telegram chat, group, or channel
tg_contacts_addAdd a user to Telegram contacts
tg_contacts_deleteRemove a user from Telegram contacts
tg_contacts_getGet information about a Telegram contact
tg_contacts_get_statusesGet online statuses of Telegram contacts
tg_contacts_importAdd contacts to the Telegram account by phone number; reports which numbers are Telegram users
tg_contacts_listList every contact of the Telegram account. Phone numbers, where saved, appear in the text output only
tg_contacts_list_blockedList blocked Telegram users
tg_contacts_searchSearch Telegram contacts by query. Only users are returned; tg_chats_search_public covers public chats, channels and bots as well
tg_dialogs_get_infoGet metadata about a Telegram chat, group, or channel
tg_dialogs_listList all Telegram dialogs (chats, groups, channels). Page with offsetDate set to the last dialog's lastMessageDate; the cursor is a timestamp alone, so dialogs whose last message falls in that same second can be skipped or repeated between pages. Pinned dialogs come first whatever their date: when limit is not above the number of pinned chats, the last item can be an old pinned chat, and paging from it skips every newer unpinned dialog.
tg_dialogs_mark_unreadMark a Telegram dialog as unread or read
tg_dialogs_pinPin or unpin a Telegram dialog
tg_dialogs_searchSearch Telegram dialogs by query. Returns every chat and user the search answers with, global hits included; tg_chats_search_public orders and dedupes the same search
tg_drafts_clearClear the draft message in a Telegram chat
tg_drafts_listList the unsent drafts saved in every Telegram chat
tg_drafts_setSet a draft message in a Telegram chat
tg_folders_createCreate a new Telegram chat folder
tg_folders_deleteDelete a Telegram chat folder
tg_folders_editEdit a Telegram chat folder's title and chats; its chat-kind rules, excluded chats and emoticon are kept. peers replaces the whole chat list, the same list tg_folders_list returns in peers: a pinned chat stays pinned while it is listed, and a chat left out, pinned or not, is removed
tg_folders_listList all Telegram chat folders
tg_folders_reorderSet the order of the account's chat folders
tg_groups_admin_logRead the recent admin actions (bans, edits, deletions, settings) in a Telegram channel or supergroup
tg_groups_admin_setSet administrator rights for a user in a Telegram group
tg_groups_banBan a user from a Telegram channel or supergroup (removing them and blocking rejoining), or lift the ban
tg_groups_infoGet detailed information about a Telegram group
tg_groups_invite_checkPreview the chat behind a Telegram invite link without joining it
tg_groups_invite_link_createCreate an ADDITIONAL invite link for a chat. It does not touch the chat's primary link, which tg_groups_invite_link_get reads
tg_groups_invite_link_getGet a chat's primary invite link. Reads the link Telegram already holds for the chat; it never creates one, and it is visible only to administrators with the right to invite users
tg_groups_invite_link_listList the invite links this account created in a chat. Telegram scopes the listing to one administrator, so links created by anyone else do not appear; the chat's primary link shows up only if this account is what created it
tg_groups_invite_link_revokeRevoke an invite link for a Telegram group
tg_groups_joinJoin a public Telegram channel or supergroup by ID or @username
tg_groups_join_inviteJoin a Telegram group or channel by its private invite link
tg_groups_leaveLeave a Telegram group or supergroup
tg_groups_listList all Telegram groups from the dialog list
tg_groups_members_addAdd a user to a Telegram group
tg_groups_members_listList members of a Telegram group or channel
tg_groups_members_removeRemove a user from a Telegram group
tg_groups_renameRename a Telegram group
tg_groups_set_forumTurn forum topics on or off in a Telegram supergroup
tg_groups_slowmodeSet slowmode delay for a Telegram group or channel
tg_groups_upgradeUpgrade a basic Telegram group to a supergroup. The supergroup gets a new ID; the old group stops accepting messages
tg_inline_queryAsk a Telegram inline bot (@gif, @vid, @wiki, @pic, ...) for results to send to a chat; send one with tg_inline_send
tg_inline_sendSend one result of a tg_inline_query (a GIF, video, article, ...) to the chat it was made for
tg_media_downloadDownload media from a Telegram message to a local file
tg_media_get_infoDescribe a message's media (type, MIME type, size, file name, duration, dimensions) without downloading it
tg_media_send_albumSend multiple files as an album to a Telegram chat. The optional caption is attached to the FIRST file only — Telegram renders one caption per album, not per item. (caption parseMode is required: 'plain' or 'commonmark')
tg_media_send_voiceSend a local audio file as a Telegram voice message, or a video file as a round video note
tg_media_uploadUpload a local file to Telegram and return its metadata
tg_media_viewLook at a photo, image or video/document thumbnail from a Telegram message: the image is returned in the tool result, nothing is saved to disk
tg_messages_clear_all_draftsClear all message drafts across all Telegram chats
tg_messages_contextGet messages around a specific message in a Telegram chat
tg_messages_deleteDelete messages from a Telegram chat. Targets the published history; pass scheduled=true to delete from the scheduled queue instead (the two are separate ID namespaces that overlap)
tg_messages_delete_historyDelete all message history in a Telegram chat
tg_messages_editEdit an existing message in a Telegram chat (parseMode is required: 'plain' or 'commonmark')
tg_messages_forwardForward messages from one Telegram chat to another
tg_messages_getGet specific messages by their IDs from a Telegram chat
tg_messages_get_buttonsList the buttons of a Telegram message (a bot's inline keyboard or reply keyboard), with the row and column tg_messages_press_button takes
tg_messages_get_linkGet the t.me link of a message in a channel or supergroup
tg_messages_get_reactionsGet users who reacted to a Telegram message
tg_messages_get_read_byList who read one of your own messages in a group, and when. Telegram answers only in small groups and only for recent messages
tg_messages_get_scheduledList scheduled messages for a Telegram chat
tg_messages_press_buttonPress a button of a Telegram message. A callback button returns the bot's answer; a link button returns its URL without opening it; a reply-keyboard button sends its text. A press is whatever the bot makes of it, deleting things included, so it is marked destructive
tg_privacy_getRead one of the account's privacy settings: who may see it or do it, and the users excepted
tg_privacy_setChange one of the account's privacy settings, with optional always/never exceptions
tg_profile_delete_photoDelete the account's current profile photo; the previous one, if any, becomes current
tg_topics_deleteDelete a forum topic in a Telegram supergroup together with all its messages

Security checks

6 checks have not been run yet.

Questions

About Tg

How do I install Tg?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Tg safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Tg still maintained?

Yes — the last commit was 6 hours ago. The repository has 11 stars and 2 forks.

What tools does Tg provide?

Conduid read 77 tools from the source: tg_bots_get_info, tg_chats_archive, tg_chats_create, tg_chats_delete, tg_chats_delete_photo, tg_chats_get_admins, tg_chats_mute, tg_chats_search_public and 69 more.