About Mctl Telegram
Mctl Telegram is an MCP server published by mctlhq in the Communication category: go remote MCP server for Telegram user-account access (gotd/td MTProto). Conduid read 27 tools from its source: cancel_broadcast, delete_fork, delete_telegram_account, disconnect_telegram_account, fork_assistant, get_broadcast and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 3 stars and 1 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include telegram.
Install
git clone https://github.com/mctlhq/mctl-telegramTools (27)
cancel_broadcastBroadcast operators only: cancels a campaign that has not finished; unsent messages are skipped.delete_forkDeletes one version, or the whole fork; never the version the install runs (`fork_in_use`). Works with forks disabled.delete_telegram_accountHard-deletes the encrypted session blob and per-account data from this server and asks Telegram to end the session (best effort). Audit rows stay until their retention window ends. Requires `account:manage`.disconnect_telegram_accountRevokes your session, erases its encrypted blob, tears down the in-memory MTProto client, and asks Telegram to end the session (best effort). Requires `account:manage`; on deployments with the Telegram manage page enabled, the browser manage page (`/telegram/connect/manage`) disconnects without it.fork_assistantA private fork of a catalog `base` + `base_version` with a `slug` and the changes (`instructions` up to 16 KiB, `intents`, `tools`, `limits`, `ceilings`, `disclosure_policy`), each only narrowing the base. Returns `{name, version, digest, base, promotion}`; at most 10 forks per account (`fork_limit`).get_broadcastBroadcast operators only: one campaign plus its aggregate delivery report (no recipients named).get_messagesReads recent message history for a specific peer (audit row is internal observability). A broadcast channel's posts come with its sponsored messages, as for `get_unread_messages`.get_my_audit_logReturns the authenticated user's own audit rows.get_my_send_statusReports whether `send_message` would deliver for real, without sending. Returns `can_send`, the blocking `reason`, and the three gate conditions separately (`server_allow_send`, `has_send_scope`, `send_enabled`) plus `connected`. The verdict comes from the same gate `send_message` consults, so the two cannot disagree. The per-peer rate limit is not evaluated (it depends on a recipient and checking it would spend that recipient's budget).get_unread_messagesReads unread Telegram messages (audit row is internal observability). Inputs: optional `peer`, `limit` (≤200). When `peer` is omitted, DMs and chats/groups (including megagroup/supergroups) fill `limit` before broadcast channels. Posts from a broadcast channel come with that channel's official sponsored messages in a separate `sponsored` field (`sponsored_unavailable` when they could not be fetched), which the tool description tells the model to show verbatim and labelled as sponsored whenever it shows that channel's posts (Telegram API terms §3.3). `BROADCAST_CONTENT_ENABLED=false` restores the #851 refusal.get_user_audit_logAdmin-only: reads another Telegram user's audit rows, with audit metadata.install_assistantExact `name` + `version`, `values` and the optional install settings; optional `expected_revision`. Omitted `paused` means paused and omitted `listening` means not listening. Returns the new revision and the resolved settings.list_assistantsThe installable catalog (the mctl registry with `ASSISTANT_REGISTRY_ENABLED`, else the embedded one) with variables, intents and defaults, plus the caller's own `{assistant, version, install_revision, installed}`. A registry that cannot be read is a retryable `registry_unavailable` error, never an empty list.list_broadcastsBroadcast operators only: lists campaigns, optionally by state.list_dialogsReads Telegram dialogs (audit row is internal observability). Inputs: `limit` (≤200, default 50), optional `query`, optional `folder`. Also returns `top_message_id`, `unread_mentions_count`, `pinned`, `muted`, `archived`, `is_broadcast`, `is_megagroup`, and `is_forum` (omitted when zero or false). `type` stays `channel` for both a broadcast channel and a supergroup.list_telegram_identitiesAdmin-only: lists signed-in Telegram identities and access state, with audit metadata.pin_messagePins or unpins a Telegram message after a matching confirmation id.prepare_broadcastBroadcast operators only (`admin:broadcast` = platform admin AND `BROADCAST_OPERATORS`). Previews a broadcast to opted-in clients and records it as a prepared campaign; sends nothing. Returns the eligible/skipped counts and an `approval_url`. No tool can approve: a human operator approves on `/telegram/connect/broadcasts`, signed in with Telegram in a browser. See docs/runbook.md.prepare_pin_messageCreates a local one-shot confirmation record for a later `pin_message` call.revoke_telegram_sessionAdmin-only: revokes a user's active MTProto session on this server.search_messagesSearches Telegram messages by text query, newest-first. Inputs: `query`, optional `peer`, `limit` (default 20, max 100), `min_date`/`max_date` (inclusive UTC bounds, RFC 3339 or plain `YYYY-MM-DD`) to bound the search to a time window. No sponsored messages: search hits are not a channel feed.send_mediaInputs: `peer`, `media_type` (`photo`/`video`/`document`/`animation`), exactly one of `file_url`/`file_base64`, optional `caption`/`file_name` (required for `document`+`file_base64`). Same preview-only gate as `send_message`; a denied call never fetches `file_url` or decodes `file_base64`. `animation` is always sent as a distinct type from `video`, never relabeled. `file_url` goes through an SSRF-guarded fetcher (HTTPS-only; loopback/link-local/private-range addresses refused, including on redirect hops). Both sources are capped by `MEDIA_UPLOAD_MAX_BYTES` (default 20 MiB).send_messageInputs: `peer`, `text`. Preview-only by default: sends for real only when the gate is fully open (server `ALLOW_SEND=true`, identity has `telegram:messages:send` scope, per-account `send_enabled=true`). Otherwise returns `sent=false` with `dry_reason`; no message is delivered.set_account_sendAdmin-only: enables or disables the per-account real-send gate.set_telegram_accessAdmin-only: grants or revokes the local client access tier for a Telegram user.update_forkA new immutable version of the caller's fork: a patch bump when only the instructions change, a minor bump otherwise; at most 50 versions per fork. Does not move the install.update_installAn RFC 7396 merge `patch` over the stored install's spec and a required `expected_revision`. The server decrypts, patches, re-validates and compare-and-sets; a stale revision answers `revision_conflict` with `current_revision`, and an invalid result `invalid_install`, both with nothing changed.Security checks
6 checks have not been run yet.