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
git clone https://github.com/lexfrei/mcp-tgTools (77)
tg_bots_get_infoGet a Telegram bot's description and command menutg_chats_archiveArchive or unarchive a Telegram chattg_chats_createCreate a new Telegram group or channeltg_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 channeltg_chats_get_adminsGet the list of administrators in a Telegram channel or supergrouptg_chats_muteMute or unmute notifications for a Telegram chattg_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 contactstg_chats_set_descriptionSet the description (about text) of a Telegram chat, group, or channeltg_chats_set_permissionsSet default chat permissions for a Telegram group or channeltg_chats_set_photoSet the photo of a Telegram chat, group, or channeltg_contacts_addAdd a user to Telegram contactstg_contacts_deleteRemove a user from Telegram contactstg_contacts_getGet information about a Telegram contacttg_contacts_get_statusesGet online statuses of Telegram contactstg_contacts_importAdd contacts to the Telegram account by phone number; reports which numbers are Telegram userstg_contacts_listList every contact of the Telegram account. Phone numbers, where saved, appear in the text output onlytg_contacts_list_blockedList blocked Telegram userstg_contacts_searchSearch Telegram contacts by query. Only users are returned; tg_chats_search_public covers public chats, channels and bots as welltg_dialogs_get_infoGet metadata about a Telegram chat, group, or channeltg_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 readtg_dialogs_pinPin or unpin a Telegram dialogtg_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 searchtg_drafts_clearClear the draft message in a Telegram chattg_drafts_listList the unsent drafts saved in every Telegram chattg_drafts_setSet a draft message in a Telegram chattg_folders_createCreate a new Telegram chat foldertg_folders_deleteDelete a Telegram chat foldertg_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 removedtg_folders_listList all Telegram chat folderstg_folders_reorderSet the order of the account's chat folderstg_groups_admin_logRead the recent admin actions (bans, edits, deletions, settings) in a Telegram channel or supergrouptg_groups_admin_setSet administrator rights for a user in a Telegram grouptg_groups_banBan a user from a Telegram channel or supergroup (removing them and blocking rejoining), or lift the bantg_groups_infoGet detailed information about a Telegram grouptg_groups_invite_checkPreview the chat behind a Telegram invite link without joining ittg_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 readstg_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 userstg_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 ittg_groups_invite_link_revokeRevoke an invite link for a Telegram grouptg_groups_joinJoin a public Telegram channel or supergroup by ID or @usernametg_groups_join_inviteJoin a Telegram group or channel by its private invite linktg_groups_leaveLeave a Telegram group or supergrouptg_groups_listList all Telegram groups from the dialog listtg_groups_members_addAdd a user to a Telegram grouptg_groups_members_listList members of a Telegram group or channeltg_groups_members_removeRemove a user from a Telegram grouptg_groups_renameRename a Telegram grouptg_groups_set_forumTurn forum topics on or off in a Telegram supergrouptg_groups_slowmodeSet slowmode delay for a Telegram group or channeltg_groups_upgradeUpgrade a basic Telegram group to a supergroup. The supergroup gets a new ID; the old group stops accepting messagestg_inline_queryAsk a Telegram inline bot (@gif, @vid, @wiki, @pic, ...) for results to send to a chat; send one with tg_inline_sendtg_inline_sendSend one result of a tg_inline_query (a GIF, video, article, ...) to the chat it was made fortg_media_downloadDownload media from a Telegram message to a local filetg_media_get_infoDescribe a message's media (type, MIME type, size, file name, duration, dimensions) without downloading ittg_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 notetg_media_uploadUpload a local file to Telegram and return its metadatatg_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 disktg_messages_clear_all_draftsClear all message drafts across all Telegram chatstg_messages_contextGet messages around a specific message in a Telegram chattg_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 chattg_messages_editEdit an existing message in a Telegram chat (parseMode is required: 'plain' or 'commonmark')tg_messages_forwardForward messages from one Telegram chat to anothertg_messages_getGet specific messages by their IDs from a Telegram chattg_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 takestg_messages_get_linkGet the t.me link of a message in a channel or supergrouptg_messages_get_reactionsGet users who reacted to a Telegram messagetg_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 messagestg_messages_get_scheduledList scheduled messages for a Telegram chattg_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 destructivetg_privacy_getRead one of the account's privacy settings: who may see it or do it, and the users exceptedtg_privacy_setChange one of the account's privacy settings, with optional always/never exceptionstg_profile_delete_photoDelete the account's current profile photo; the previous one, if any, becomes currenttg_topics_deleteDelete a forum topic in a Telegram supergroup together with all its messagesSecurity checks
6 checks have not been run yet.