Skip to main content
Glama

Telegram MCP Server

npm npm downloads Node.js TypeScript MCP SDK License: MIT mcp-telegram MCP server

๐Ÿ“– Documentation ยท โ˜๏ธ Cloud version โ€” connect Telegram to Claude.ai or ChatGPT in 30 seconds with QR code, no API keys needed.

Telegram MCP Server โ€” a Model Context Protocol server that connects AI assistants like Claude and ChatGPT to Telegram via the MTProto protocol. Unlike bots, this runs as a userbot -- it operates under your personal Telegram account using GramJS, giving full access to your chats, contacts, and message history.

Features

  • Comprehensive tool coverage -- the most full-featured Telegram MCP server available

  • MTProto protocol -- direct Telegram API access, not the limited Bot API

  • Userbot -- operates as your personal account, not a bot

  • Full-featured -- messaging, reactions, polls, scheduled messages, stickers, media, contacts, and more

  • Forum Topics -- list topics, read per-topic messages, send to specific topics, per-topic unread counts

  • Stickers -- search sticker sets, browse installed/recent stickers, send stickers to any chat

  • Account & profile management -- update profile, set emoji status, birthday, personal channel, profile photo, manage privacy settings, sessions, auto-delete timers

  • Chat folders -- create, edit, delete and reorder folders, toggle folder tags, read suggested folders (v1.33.0)

  • Global privacy -- read and set account-wide privacy settings (v1.33.0)

  • Global search -- search messages across all chats at once

  • Real-time polling -- fetch updates via stateless cursors; agent owns {pts, qts, date} state

  • Inline bots & buttons -- query inline bots, send results, press callback buttons

  • Stories -- read stories from peers, get story view stats; publish/edit/delete stories, react, pin, stealth mode, archive, report (v1.30.0)

  • Discussion -- get discussion-group info for channel posts with comments, list groups eligible for discussion (v1.30.0)

  • Read Receipts -- who read a message in a small group, when your private message was read (v1.30.0)

  • Admin controls -- toggle channel signatures, anti-spam, forum mode, prehistory; approve join requests

  • Stats -- channel and supergroup analytics (GetBroadcastStats / GetMegagroupStats)

  • Boosts & Business -- boost status, boosters list, Telegram Business chat links CRUD, work hours, location, greeting/away/intro messages

  • Star gifts -- browse available and saved gifts, save/convert gifts, manage Stars balance and subscriptions (opt-in via MCP_TELEGRAM_ENABLE_STARS=1, v1.34.0)

  • Shared daemon -- one background process serves multiple MCP clients over a single Telegram session; see the shared-daemon guide (v1.38.0)

  • QR code login -- authenticate by scanning a QR code in the Telegram app

  • Session persistence -- login once, stay connected across restarts

  • Human-readable output -- sender names are resolved, not just numeric IDs

  • Works with any MCP client -- Claude Code, Claude Desktop, ChatGPT, Cursor, VS Code, Mastra, etc.

Related MCP server: MCP Telegram

Prerequisites

  • Node.js 18 or later

  • Telegram API credentials -- API_ID and API_HASH from my.telegram.org

Quick Start

1. Get Telegram API credentials

  1. Go to my.telegram.org and log in with your phone number.

  2. Navigate to API development tools.

  3. Create a new application (any name and platform).

  4. Copy the App api_id and App api_hash.

2. Login

TELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH npx @overpod/mcp-telegram login

A QR code will appear in the terminal. Open Telegram on your phone, go to Settings > Devices > Link Desktop Device, and scan the code. The session is saved to ~/.mcp-telegram/session and reused automatically.

Custom session path: set TELEGRAM_SESSION_PATH=/path/to/session to store the session file elsewhere.

Two-step verification (2FA): if your account has a cloud password enabled, scanning the QR code is not enough โ€” Telegram also requires the password. Provide it via TELEGRAM_2FA_PASSWORD so the login can complete:

TELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH TELEGRAM_2FA_PASSWORD=YOUR_PASSWORD npx @overpod/mcp-telegram login

The password is only used locally to answer Telegram's SRP challenge and is never persisted.

Local files: tools that upload a file (telegram-send-file, telegram-send-voice, telegram-send-album, stories, profile and group photos) read files under your home folder and temp folders, and downloads are saved to Downloads, Desktop, Documents or temp folders. Hidden files and folders (~/.ssh, ~/.mcp-telegram, ...), ~/Library, ~/AppData and the session file are always refused, and an existing file is never overwritten (name (1).ext is used). To use other folders, list them in MCP_TELEGRAM_FILE_DIRS (separated by :, or ; on Windows); this replaces the defaults.

3. Add to Claude

claude mcp add telegram -s user \
  -e TELEGRAM_API_ID=YOUR_ID \
  -e TELEGRAM_API_HASH=YOUR_HASH \
  -- npx @overpod/mcp-telegram

That's it! Ask Claude to run telegram-status to verify.

Multiple Accounts

Use TELEGRAM_SESSION_PATH to run separate Telegram accounts side by side:

# Login each account with a unique session path
TELEGRAM_API_ID=ID1 TELEGRAM_API_HASH=HASH1 TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-work npx @overpod/mcp-telegram login
TELEGRAM_API_ID=ID2 TELEGRAM_API_HASH=HASH2 TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-personal npx @overpod/mcp-telegram login

Then add each as a separate MCP server:

claude mcp add telegram-work -s user \
  -e TELEGRAM_API_ID=ID1 \
  -e TELEGRAM_API_HASH=HASH1 \
  -e TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-work \
  -- npx @overpod/mcp-telegram

claude mcp add telegram-personal -s user \
  -e TELEGRAM_API_ID=ID2 \
  -e TELEGRAM_API_HASH=HASH2 \
  -e TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-personal \
  -- npx @overpod/mcp-telegram

Each account gets its own session file โ€” no conflicts.

Multiple agents / concurrent clients (shared daemon)

The opposite of multiple accounts: one account driven by many clients at once โ€” several Claude Code windows, parallel sub-agents, or multiple IDEs. Normally each process opens the same session and they evict one another with AUTH_KEY_DUPLICATED. Serve mode fixes this.

Run a single persistent daemon that owns the one Telegram connection. Every other process auto-detects the daemon (via a PID lock) and becomes a thin client that proxies tool calls to it over a local Unix socket:

# On the host, once: start the daemon (owns the connection, no stdio)
TELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH mcp-telegram serve
# (or set MCP_TELEGRAM_DAEMON=1 instead of the `serve` argument)

Then point each MCP client at the same install with the same TELEGRAM_SESSION_PATH โ€” no serve argument. They connect to the daemon automatically; closing any client never drops the shared connection. Credentials are only required by the daemon (the owner), so client commands can omit TELEGRAM_API_ID/TELEGRAM_API_HASH and keep them where the daemon runs.

See the shared daemon guide for a systemd unit and SSH usage.

Proxy Support

If Telegram is blocked or you're running in a containerized environment (Docker, K3s), use a SOCKS5 or MTProxy:

# SOCKS5 proxy
TELEGRAM_PROXY_IP=127.0.0.1 \
TELEGRAM_PROXY_PORT=10808 \
npx @overpod/mcp-telegram

# MTProxy
TELEGRAM_PROXY_IP=proxy.example.com \
TELEGRAM_PROXY_PORT=443 \
TELEGRAM_PROXY_SECRET=ee00000000000000000000000000000000 \
npx @overpod/mcp-telegram

Variable

Description

TELEGRAM_PROXY_IP

Proxy server address

TELEGRAM_PROXY_PORT

Proxy server port

TELEGRAM_PROXY_SOCKS_TYPE

4 or 5 (default: 5)

TELEGRAM_PROXY_SECRET

MTProxy secret (enables MTProxy mode)

TELEGRAM_PROXY_USERNAME

Optional proxy auth

TELEGRAM_PROXY_PASSWORD

Optional proxy auth

Connecting via WSS (port 443)

If your VPS or hosting IP is reachable on outbound port 443 but not the default MTProto port 80 (some cloud providers ban port 80 on Telegram DC IP ranges as anti-abuse policy), set:

TELEGRAM_USE_WSS=true npx @overpod/mcp-telegram

Variable

Description

TELEGRAM_USE_WSS

When true, gramJS uses port 443 instead of 80 for the MTProto TCPFull transport. Default: false. Cannot be combined with TELEGRAM_PROXY_* (gramJS limitation) โ€” if both are set, useWSS is ignored and the proxy takes precedence (a warning is logged).

Installation Options

No need to clone or install anything. Just use npx @overpod/mcp-telegram.

Global install

npm install -g @overpod/mcp-telegram
mcp-telegram          # run server
mcp-telegram login    # QR login

Pre-built binary (no runtime needed)

Download from Releases โ€” standalone single-file binaries, zero dependencies:

Platform

Server

Login CLI

Linux x64

mcp-telegram-linux-x64

mcp-telegram-login-linux-x64

Linux ARM64

mcp-telegram-linux-arm64

mcp-telegram-login-linux-arm64

macOS x64

mcp-telegram-darwin-x64

mcp-telegram-login-darwin-x64

macOS ARM64

mcp-telegram-darwin-arm64

mcp-telegram-login-darwin-arm64

Windows x64

mcp-telegram-windows-x64.exe

mcp-telegram-login-windows-x64.exe

# Download (example for Linux x64)
curl -L -o mcp-telegram https://github.com/mcp-telegram/mcp-telegram/releases/latest/download/mcp-telegram-linux-x64
curl -L -o mcp-telegram-login https://github.com/mcp-telegram/mcp-telegram/releases/latest/download/mcp-telegram-login-linux-x64
chmod +x mcp-telegram mcp-telegram-login

# Login
TELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH ./mcp-telegram-login

# Run
./mcp-telegram

From source

git clone https://github.com/mcp-telegram/mcp-telegram.git
cd mcp-telegram
npm install && npm run build

Docker

docker build -t mcp-telegram https://github.com/mcp-telegram/mcp-telegram.git

Login (interactive terminal required):

docker run -it --rm \
  -e TELEGRAM_API_ID=YOUR_ID \
  -e TELEGRAM_API_HASH=YOUR_HASH \
  -v ~/.mcp-telegram:/root/.mcp-telegram \
  --entrypoint node mcp-telegram dist/qr-login-cli.js

Run the MCP server:

docker run -i --rm \
  -e TELEGRAM_API_ID=YOUR_ID \
  -e TELEGRAM_API_HASH=YOUR_HASH \
  -v ~/.mcp-telegram:/root/.mcp-telegram \
  mcp-telegram

Note: Login must be done once via terminal. After that, the session is persisted in ~/.mcp-telegram and reused automatically.

Usage with MCP Clients

Claude Code (CLI)

claude mcp add telegram -s user \
  -e TELEGRAM_API_ID=YOUR_ID \
  -e TELEGRAM_API_HASH=YOUR_HASH \
  -- npx @overpod/mcp-telegram

Claude Desktop

  1. Open your config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. Add the Telegram server:

{
  "mcpServers": {
    "telegram": {
      "command": "npx",
      "args": ["@overpod/mcp-telegram"],
      "env": {
        "TELEGRAM_API_ID": "YOUR_ID",
        "TELEGRAM_API_HASH": "YOUR_HASH"
      }
    }
  }
}
  1. Restart Claude Desktop.

  2. Ask Claude: "Run telegram-login" -- a QR code will appear. If the image is not visible, it's also saved to ~/.mcp-telegram/qr-login.png. Scan it in Telegram (Settings > Devices > Link Desktop Device).

  3. Ask Claude: "Run telegram-status" to verify the connection.

Note: No terminal required! Login works entirely through Claude Desktop.

Claude Desktop (Binary)

Same setup, but using the pre-built binary instead of npx:

{
  "mcpServers": {
    "telegram": {
      "command": "/path/to/mcp-telegram",
      "env": {
        "TELEGRAM_API_ID": "YOUR_ID",
        "TELEGRAM_API_HASH": "YOUR_HASH"
      }
    }
  }
}

Claude Desktop (Docker)

  1. Login via terminal first (see Docker section above).

  2. Add to your config file:

{
  "mcpServers": {
    "telegram": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "TELEGRAM_API_ID=YOUR_ID",
        "-e", "TELEGRAM_API_HASH=YOUR_HASH",
        "-v", "~/.mcp-telegram:/root/.mcp-telegram",
        "mcp-telegram"
      ]
    }
  }
}
  1. Restart Claude Desktop. Ask Claude: "Run telegram-status" to verify.

Cursor / VS Code

Add the same JSON config above to your MCP settings (Cursor Settings > MCP, or VS Code MCP config).

Mastra

import { MCPClient } from "@mastra/mcp";

const telegramMcp = new MCPClient({
  id: "telegram-mcp",
  servers: {
    telegram: {
      command: "npx",
      args: ["@overpod/mcp-telegram"],
      env: {
        TELEGRAM_API_ID: process.env.TELEGRAM_API_ID!,
        TELEGRAM_API_HASH: process.env.TELEGRAM_API_HASH!,
      },
    },
  },
});

Tools

All tools are auto-discoverable via MCP โ€” your AI client will see the full list with parameters and descriptions when connected.

Category

Tools

Auth

telegram-status, telegram-login, telegram-logout

Messaging

telegram-send-message (incl. quoteText for verbatim reply quotes and Premium message effect), telegram-edit-message, telegram-delete-message, telegram-forward-message, telegram-send-scheduled, telegram-send-typing, telegram-translate-message, telegram-get-message-link

Scheduled

telegram-get-scheduled, telegram-delete-scheduled

Reading

telegram-list-chats, telegram-read-messages, telegram-search-messages, telegram-search-global, telegram-search-chats, telegram-get-unread, telegram-mark-as-read, telegram-get-replies, telegram-get-unread-mentions, telegram-get-unread-reactions, telegram-get-saved-dialogs

Drafts

telegram-save-draft, telegram-get-drafts, telegram-clear-drafts

Forum Topics

telegram-list-topics, telegram-read-topic-messages, telegram-create-topic, telegram-edit-topic, telegram-delete-topic

Polls

telegram-create-poll

Poll Interaction (v1.31.0)

telegram-vote-poll, telegram-get-poll-results, telegram-get-poll-voters, telegram-close-poll

Reactions

telegram-send-reaction, telegram-get-reactions, telegram-set-default-reaction, telegram-get-top-reactions, telegram-get-recent-reactions

Paid Reactions (v1.31.0)

telegram-send-paid-reaction (โ˜… Stars), telegram-toggle-paid-reaction-privacy, telegram-get-paid-reaction-privacy

Audio Transcription (v1.31.0)

telegram-transcribe-audio (Premium), telegram-get-transcription, telegram-rate-transcription

Fact-check (v1.31.0)

telegram-get-fact-check, telegram-edit-fact-check, telegram-delete-fact-check

Stickers

telegram-send-sticker, telegram-get-installed-stickers, telegram-get-recent-stickers, telegram-get-sticker-set, telegram-search-sticker-sets

Media

telegram-send-file, telegram-download-media, telegram-get-profile-photo, telegram-get-web-preview

Rich Media Sending

telegram-send-voice, telegram-send-video-note (round video), telegram-send-location (static or live), telegram-send-venue, telegram-send-contact, telegram-send-dice (๐ŸŽฒ๐ŸŽฏ๐ŸŽฐ๐Ÿ€โšฝ๐ŸŽณ), telegram-send-album (2โ€“10 grouped photos/videos)

Groups

telegram-create-group, telegram-edit-group, telegram-invite-to-group, telegram-join-chat, telegram-leave-group, telegram-kick-user, telegram-ban-user, telegram-unban-user, telegram-set-admin, telegram-remove-admin, telegram-get-my-role, telegram-set-chat-permissions, telegram-set-slow-mode, telegram-get-admin-log

Chat Info

telegram-get-chat-info, telegram-get-chat-members, telegram-get-chat-folders

Folders (v1.33.0)

telegram-create-folder, telegram-edit-folder, telegram-delete-folder, telegram-reorder-folders, telegram-get-suggested-folders, telegram-toggle-folder-tags

Global Privacy (v1.33.0)

telegram-get-global-privacy-settings, telegram-set-global-privacy-settings

Invite Links

telegram-create-invite-link, telegram-get-invite-links, telegram-revoke-invite-link

Contacts

telegram-get-contacts, telegram-add-contact, telegram-rename-contact, telegram-delete-contact, telegram-get-contact-requests

Moderation

telegram-block-user, telegram-unblock-user, telegram-report-spam

Profiles (read)

telegram-get-profile, telegram-update-profile

Profile (write, v1.32.0)

telegram-set-emoji-status (Premium), telegram-list-emoji-statuses, telegram-clear-recent-emoji-statuses, telegram-set-profile-color (Premium), telegram-set-birthday, telegram-set-personal-channel, telegram-set-profile-photo, telegram-delete-profile-photo

Account

telegram-get-sessions, telegram-terminate-session, telegram-set-privacy, telegram-set-auto-delete

Pinning

telegram-pin-message, telegram-unpin-message

Chat Settings

telegram-mute-chat, telegram-archive-chat, telegram-pin-chat, telegram-mark-dialog-unread

Admin Toggles

telegram-toggle-channel-signatures, telegram-toggle-anti-spam, telegram-toggle-forum-mode, telegram-toggle-prehistory-hidden, telegram-set-chat-reactions, telegram-approve-join-request

Stats

telegram-get-broadcast-stats, telegram-get-megagroup-stats

Inline Bots & Buttons

telegram-inline-query, telegram-inline-query-send, telegram-press-button, telegram-get-message-buttons

Real-Time Polling

telegram-get-state, telegram-get-updates, telegram-get-channel-updates

Stories (read)

telegram-get-all-stories, telegram-get-peer-stories, telegram-get-stories-by-id, telegram-get-story-views

Stories (write, v1.30.0)

telegram-send-story, telegram-edit-story, telegram-delete-stories, telegram-react-to-story, telegram-export-story-link, telegram-read-stories, telegram-toggle-story-pinned, telegram-toggle-story-pinned-to-top, telegram-activate-stealth-mode (Premium), telegram-get-stories-archive, telegram-report-story

Discussion (v1.30.0)

telegram-get-discussion-message, telegram-get-groups-for-discussion

Read Receipts (v1.30.0)

telegram-get-message-read-participants, telegram-get-outbox-read-date

Boosts

telegram-get-my-boosts, telegram-get-boosts-status, telegram-get-boosts-list

Business (v1.32.0)

telegram-get-business-chat-links, telegram-create-business-chat-link, telegram-edit-business-chat-link, telegram-delete-business-chat-link, telegram-resolve-business-chat-link, telegram-set-business-hours, telegram-set-business-location, telegram-set-business-greeting, telegram-set-business-away, telegram-set-business-intro

Opt-in (env-gated)

telegram-get-group-call, telegram-get-group-call-participants (requires MCP_TELEGRAM_ENABLE_GROUP_CALLS=1); Stars & gifts telegram-get-stars-status, telegram-get-stars-transactions, telegram-get-stars-topup-options, telegram-get-stars-subscriptions, telegram-change-stars-subscription, telegram-get-available-star-gifts, telegram-get-saved-star-gifts, telegram-save-star-gift, telegram-convert-star-gift (requires MCP_TELEGRAM_ENABLE_STARS=1); telegram-get-quick-replies, telegram-get-quick-reply-messages (requires MCP_TELEGRAM_ENABLE_QUICK_REPLIES=1)

Tip: Ask your AI assistant "What Telegram tools are available?" to get the full list with parameters and descriptions.

Optional Features

Some tools are disabled by default and must be opted in via environment variables:

Variable

Value

Tools enabled

MCP_TELEGRAM_ENABLE_GROUP_CALLS

1

telegram-get-group-call, telegram-get-group-call-participants

MCP_TELEGRAM_ENABLE_STARS

1

Stars balance & transactions, top-up options, subscriptions, and Star Gifts (browse / save / convert)

MCP_TELEGRAM_ENABLE_QUICK_REPLIES

1

telegram-get-quick-replies, telegram-get-quick-reply-messages

Add these to your .env file or MCP client config to enable them.

Development

npm run dev        # Start with file watching (tsx)
npm start          # Start the MCP server
npm run login      # QR code login in terminal
npm run build      # Compile TypeScript
npm run lint       # Check code with Biome
npm run lint:fix   # Auto-fix lint issues
npm run format     # Format code with Biome

Project Structure

src/
  index.ts            -- MCP server entry point
  telegram-client.ts  -- TelegramService class (GramJS wrapper)
  qr-login-cli.ts     -- CLI utility for QR code login
  tools/              -- Modular tool definitions
    auth.ts           -- Connection & login
    messages.ts       -- Send, read, search, edit, delete, forward; inline bots; real-time polling
    chats.ts          -- Chat listing, group management, admin toggles, stats
    contacts.ts       -- Contacts, profiles, moderation
    media.ts          -- Files, photos, downloads
    reactions.ts      -- Reactions, set-chat-reactions
    extras.ts         -- Pin, schedule, polls, topics
    stickers.ts       -- Sticker sets, send, search, browse
    account.ts        -- Sessions, privacy, auto-delete, profile, emoji status, birthday, chat mute/folders, invite links
    business.ts       -- Telegram Business: chat links CRUD, work hours, location, greeting/away/intro
    boosts.ts         -- Boost status, my boosts, boosters list
    stories.ts        -- Stories: list all, peer, by-id, view stats
    group-calls.ts    -- Group call info and participants (opt-in: MCP_TELEGRAM_ENABLE_GROUP_CALLS)
    stars.ts          -- Stars wallet status and transactions (opt-in: MCP_TELEGRAM_ENABLE_STARS)
    quick-replies.ts  -- Quick replies and messages (opt-in: MCP_TELEGRAM_ENABLE_QUICK_REPLIES)
    shared.ts         -- Shared utilities

Tech Stack

  • TypeScript -- ES2022, ESM modules

  • GramJS (telegram) -- Telegram MTProto client

  • @modelcontextprotocol/sdk -- MCP server framework

  • Zod -- Runtime schema validation for tool parameters

  • Biome -- Linter and formatter

  • tsx -- TypeScript execution without a build step

  • dotenv -- Environment variable management

Troubleshooting

AUTH_KEY_DUPLICATED

A Telegram session can only be used by one process at a time. If you get AUTH_KEY_DUPLICATED, it means another process is already using the same session file.

Solution: Create separate sessions for each environment:

# Local development
TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-local npx @overpod/mcp-telegram login

# Production server
TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-prod npx @overpod/mcp-telegram login

Then set TELEGRAM_SESSION_PATH in each environment's MCP config accordingly.

Security

  • API credentials are stored in .env (gitignored)

  • Session is stored in ~/.mcp-telegram/session with 0600 permissions (owner-only access)

  • Session directory is created with 0700 permissions

  • Phone number is not required -- QR-only authentication

  • No data is sent to third-party services -- all communication goes directly to Telegram servers via MTProto

  • QR login codes are generated locally and never leave your machine

  • One session per process -- using the same session in multiple processes simultaneously causes AUTH_KEY_DUPLICATED errors (see Troubleshooting)

  • This is a userbot (personal account), not a bot -- respect the Telegram Terms of Service

License

MIT

Available Tools

171 tools
telegram-activate-stealth-modeA

Hide your story views retroactively (past=true) and/or for the next 25 minutes (future=true). Requires Telegram Premium โ€” non-Premium accounts receive PREMIUM_ACCOUNT_REQUIRED.

Inputs: past, future.

telegram-add-contactA

Add a user to your Telegram contacts. Use this to accept contact requests from non-contacts

Inputs: userId (required), firstName (required), phone, lastName.

telegram-approve-join-requestA

Approve or deny a pending join request for a supergroup or channel (basic groups are not supported). Admin with invite_users permission required

Inputs: chatId (required), userId (required), approved (required).

telegram-archive-chatA

Archive or unarchive a Telegram dialog (moves to/from the Archive folder)

Inputs: chatId (required), archive (required).

telegram-ban-userA

Ban a user from a supergroup or channel (permanent until unbanned)

Inputs: chatId (required), userId (required).

telegram-block-userB

Block a Telegram user. Blocked users cannot send you messages

Inputs: userId (required).

telegram-clear-draftsA
Destructive

Delete saved message drafts. Pass chatId to clear the draft for a single chat. Without chatId, clears drafts in ALL chats โ€” requires confirmAllChats: true

Inputs: chatId, confirmAllChats.

telegram-clear-recent-emoji-statusesA

Clear your recently-used emoji status list (the 'recent' section in the emoji status picker).

Inputs: no named parameters.

telegram-close-pollA

Close a poll permanently. This is a one-way operation โ€” closed polls cannot be reopened.

Inputs: chatId (required), messageId (required).

telegram-create-folderA

Create a new Telegram chat folder (filter). Returns the new folder ID. Pass type flags to auto-include entire categories, or list specific chats in includePeers. Emoticon must be a single emoji character.

Inputs: title (required), bots, groups, contacts, +9 more.

telegram-create-groupB

Create a new Telegram group or supergroup

Inputs: title (required), users (required), forum, supergroup, +1 more.

telegram-create-pollA

Create a poll in a Telegram chat (multiple choice or quiz mode)

Inputs: chatId (required), answers (required), question (required), quiz, +2 more.

telegram-create-topicA

Create a new forum topic in a forum-enabled supergroup

Inputs: title (required), chatId (required), iconColor, iconEmojiId.

telegram-delete-contactA
Destructive

Remove users from your contacts (address book). Chats and message history stay, nobody is blocked. Users who are not contacts are skipped

Inputs: userIds (required).

telegram-delete-fact-checkA
Destructive

Remove a fact-check annotation. Requires fact-checker privileges.

Inputs: chatId (required), messageId (required).

telegram-delete-folderA

Delete a Telegram chat folder by its ID. Chats inside the folder are not deleted โ€” they remain in All Chats. System folders (0 = All Chats, 1 = Archive) cannot be deleted.

Inputs: id (required).

telegram-delete-messageB
Destructive

Delete messages in a Telegram chat

Inputs: chatId (required), messageIds (required).

telegram-delete-profile-photoA

Delete one or more profile photos by their photo IDs. Photo IDs are the ones telegram-get-profile-photo returns. Returns which IDs were deleted and which were not found.

Inputs: photoIds (required).

telegram-delete-scheduledB
Destructive

Delete scheduled messages in a Telegram chat

Inputs: chatId (required), messageIds (required).

telegram-delete-storiesA
Destructive

Delete one or more of your own stories. This action is irreversible and requires confirm:true.

Inputs: ids (required), confirm (required), chatId.

telegram-delete-topicA
Destructive

Delete a forum topic and all its message history

Inputs: chatId (required), topicId (required).

telegram-download-mediaB
Read-only

Download media from a Telegram message to a local file

Inputs: chatId (required), messageId (required), downloadPath (required).

telegram-edit-fact-checkA

Add or update a fact-check annotation. Requires fact-checker privileges (limited to independent verifiers in supported countries).

Inputs: text (required), chatId (required), messageId (required), parseMode.

telegram-edit-folderA

Edit an existing Telegram chat folder by its ID (from telegram-get-chat-folders). Only pass fields you want to change โ€” omitted fields keep their current values.

Inputs: id (required), bots, title, groups, +12 more.

telegram-edit-groupA

Edit a group's title, description, or photo

Inputs: chatId (required), title, photoPath, description.

telegram-edit-messageB

Edit a previously sent message in Telegram

Inputs: text (required), chatId (required), messageId (required).

telegram-edit-storyA

Edit an existing story: replace media, update caption ('' clears it), or change privacy rules.

Inputs: storyId (required), type, chatId, caption, +5 more.

telegram-edit-topicB

Edit a forum topic โ€” rename, change icon emoji, open/close, or show/hide

Inputs: chatId (required), topicId (required), title, closed, +2 more.

telegram-export-story-linkA
Read-only

Get a shareable t.me/โ€ฆ URL for a public story.

Inputs: chatId (required), storyId (required).

telegram-forward-messageB

Forward messages between Telegram chats

Inputs: toChatId (required), fromChatId (required), messageIds (required).

telegram-get-admin-logA
Read-only

Get the admin action log (recent event history) of a supergroup or channel. Includes bans, edits, pins, and role changes

Inputs: chatId (required), q, limit.

telegram-get-all-storiesA
Read-only

Fetch active stories from contacts/channels the user follows. Pagination via 'next' + 'state' โ€” pass the returned state back on the next call with next:true to load more. Use hidden:true to read stories from muted/archived peers. Returns compact story metadata (id, date, expireDate, caption, mediaType, counters) without raw media blobs.

Inputs: next, state, hidden.

telegram-get-boosts-listA
Read-only

List the boosts applied to a channel/supergroup (premium.GetBoostsList). Returns paginated boost entries with id, userId (or undefined for anonymous gift boosts), date, expires, flags (gift, giveaway, unclaimed), optional giveawayMsgId, usedGiftSlug, multiplier, and stars. Requires channel admin permissions. Supports pagination via nextOffset and an optional gifts filter to show only gift boosts. Read-only.

Inputs: chat (required), gifts, limit, offset.

telegram-get-boosts-statusA
Read-only

Fetch the boost status of a channel/supergroup (premium.GetBoostsStatus). Returns current boost level, total boosts, progress to next level (currentLevelBoosts/nextLevelBoosts), giftBoosts, premiumAudience ratio, public boostUrl, and whether the current user is boosting (myBoost + myBoostSlots). Also includes any prepaidGiveaways attached to the chat. Read-only.

Inputs: chat (required).

telegram-get-broadcast-statsA
Read-only

Get broadcast channel statistics: followers, views/shares/reactions per post & story, notification percent, recent post interactions. Broadcast channels only (supergroup statistics are in telegram-get-megagroup-stats). Admin rights required; some channels may require Telegram Premium to expose stats

Inputs: chatId (required), dark, includeGraphs.

telegram-get-channel-updatesA
Read-only

Fetch new messages and updates for a single channel/supergroup since a known per-channel pts cursor. Separate from the global cursor used by telegram-get-updates. Returns compact newMessages[], otherUpdates[], and new {pts, isFinal, timeout?}. If the channel gap is too long, Telegram returns a dialog snapshot instead, and this tool forwards it. The server does not store the cursor; each call takes the pts returned by the previous one.

Inputs: pts (required), chatId (required), force, limit.

telegram-get-chat-foldersA
Read-only

Get list of your Telegram chat folders (filters) with their names and chat counts. Pass folderId to see one folder in full: its type filters and the pinned, included and excluded chats with IDs

Inputs: folderId.

telegram-get-chat-infoA
Read-only

Get detailed info about a Telegram chat including name, type, members, description, and forum status

Inputs: chatId (required).

telegram-get-chat-membersC
Read-only

Get members of a Telegram group or channel

Inputs: chatId (required), limit.

telegram-get-contact-requestsA
Read-only

Get incoming messages from non-contacts (contact requests). Shows who messaged you without being in your contacts, with message preview

Inputs: limit.

telegram-get-contactsA
Read-only

Get your Telegram contacts list with phone numbers

Inputs: limit.

telegram-get-discussion-messageA
Read-only

For a channel post with comments enabled, returns the linked discussion-group info: discussionGroupId, discussionMsgId, unreadCount, readInboxMaxId, readOutboxMaxId, topMessage. Use discussionGroupId + discussionMsgId with telegram-send-message (replyTo=discussionMsgId) to post a comment.

Inputs: chatId (required), messageId (required).

telegram-get-draftsA
Read-only

Get all saved message drafts across chats

Inputs: no named parameters.

telegram-get-fact-checkA
Read-only

Get fact-check annotations on channel messages. Fact-checks are added by independent fact-checkers in supported countries. Most messages will show no fact-check.

Inputs: chatId (required), messageIds (required).

telegram-get-global-privacy-settingsA
Read-only

Get your account-level global privacy settings: whether new non-contacts are auto-archived/muted, whether archived chats are kept unmuted, whether read receipts are hidden, and whether non-contacts must have Premium to message you.

Inputs: no named parameters.

telegram-get-groups-for-discussionA
Read-only

List groups that can be linked as a discussion group to a channel you admin. Helper for channel admins setting up comment threads.

Inputs: no named parameters.

telegram-get-installed-stickersA
Read-only

List all sticker sets installed by the user. Returns pack titles and short names. Set emoji=true to list installed custom emoji sets instead.

Inputs: emoji.

telegram-get-megagroup-statsA
Read-only

Get supergroup statistics: members, messages, viewers, posters (current vs previous period), top posters/admins/inviters. Supergroups only (broadcast channel statistics are in telegram-get-broadcast-stats). Admin rights required. Telegram rate-limits this endpoint to roughly 1 request per 30 minutes per channel โ€” expect FLOOD_WAIT on rapid repeat calls

Inputs: chatId (required), dark, includeGraphs.

telegram-get-message-buttonsA
Read-only

List the inline/reply keyboard buttons on a Telegram message with their (row, col) indices, type (e.g. KeyboardButtonCallback, KeyboardButtonUrl), label and type-specific fields (callback data as base64, url, switchQuery, userId, copyText, etc). Helper for telegram-press-button โ€” call this first to discover indices and filter by type before pressing. Returns markupType='none' and empty buttons when the message has no keyboard

Inputs: chatId (required), messageId (required).

telegram-get-message-read-participantsA
Read-only

List who has read a message in a small group (โ‰ค100 members, โ‰ค7 days old). Returns readers with userId, readAt timestamp. Does NOT work for channels or groups over 100 members (CHAT_TOO_BIG).

Inputs: chatId (required), messageId (required).

telegram-get-my-boostsA
Read-only

List the user's premium boost slots (premium.GetMyBoosts). Each entry includes slot index, the peer it currently boosts (if any), the date the boost was applied, expiration timestamp, and cooldownUntilDate (when a slot can be reassigned). Premium users have multiple slots; non-Premium users typically have a single slot. Read-only.

Inputs: no named parameters.

telegram-get-my-roleA
Read-only

Get the current user's role in a chat (creator, admin, or member)

Inputs: chatId (required).

telegram-get-outbox-read-dateA
Read-only

Get when your recipient read your outgoing message in a private chat. Returns null/Not read yet if unread. Errors if the other side disabled read receipts (YOUR_PRIVACY_RESTRICTED / USER_PRIVACY_RESTRICTED).

Inputs: chatId (required), messageId (required).

telegram-get-paid-reaction-privacyA
Read-only

Get your current default paid reaction privacy setting.

Inputs: no named parameters.

telegram-get-peer-storiesA
Read-only

Fetch currently active stories posted by a specific peer (user/channel). Returns compact story metadata (id, date, expireDate, caption, mediaType, counters) with media type className only โ€” no raw media blobs. The media itself is not included; telegram-download-media returns it by story id.

Inputs: chat (required).

telegram-get-poll-resultsA
Read-only

Get aggregated poll results: vote counts, percentages, quiz answer status

Inputs: chatId (required), messageId (required).

telegram-get-poll-votersA
Read-only

List users who voted for specific poll options (public polls only, paginated)

Inputs: chatId (required), messageId (required), limit, offset, +1 more.

telegram-get-profileA
Read-only

Get detailed profile info of a Telegram user including bio, birthday, premium status, business info and more

Inputs: userId (required).

telegram-get-profile-photoA
Read-only

Download profile photo of a Telegram user, group, or channel. Returns inline image or saves to file

Inputs: entityId (required), size, savePath.

telegram-get-reactionsA
Read-only

Get detailed reaction info for a message: which reactions, counts, and who reacted (when visible)

Inputs: chatId (required), messageId (required).

telegram-get-recent-reactionsA
Read-only

Get the list of emoji reactions the current account used recently

Inputs: limit.

telegram-get-recent-stickersA
Read-only

Get recently used stickers. Returns each sticker with its list index and associated emoji

Inputs: no named parameters.

telegram-get-repliesB
Read-only

Get replies/comments under a Telegram channel post or discussion message

Inputs: chatId (required), messageId (required), limit.

telegram-get-saved-dialogsA
Read-only

Get Saved Messages dialogs (Telegram's per-sender grouping of messages forwarded to your Saved Messages)

Inputs: limit.

telegram-get-saved-musicA
Read-only

List the songs pinned to a user's profile (users.GetSavedMusic) โ€” the tracks behind the music row on a Telegram profile. Returns count plus tracks with title, performer, duration, fileName, mimeType and size; element 0 is the track shown on the profile. Defaults to your own profile. Supports pagination via offset/limit and returns nextOffset when more remain. Read-only.

Inputs: user, limit, offset.

telegram-get-scheduledB
Read-only

List scheduled messages in a Telegram chat

Inputs: chatId (required).

telegram-get-sessionsA
Read-only

Get list of all active Telegram sessions (logged-in devices) with device info, IP, and last active time

Inputs: no named parameters.

telegram-get-stateA
Read-only

Initialize the polling cursor by fetching the current Telegram updates state {pts, qts, date, seq, unreadCount}. The returned {pts, qts, date} is the starting cursor for telegram-get-updates. The server does not store the cursor between calls.

Inputs: no named parameters.

telegram-get-sticker-setA
Read-only

Get all stickers from a sticker set by its short name. Returns each sticker with index, emoji and document ID. The index identifies the sticker in telegram-send-sticker. For a custom emoji set, send an emoji in a message with parseMode=html: E, where E is the emoji listed next to that ID; Telegram ignores the custom emoji if E differs (needs Telegram Premium).

Inputs: shortName (required).

telegram-get-stories-archiveA
Read-only

Fetch auto-archived (expired) stories from a peer's archive. Paginate via offsetId (pass last story id from previous page).

Inputs: limit, chatId, offsetId.

telegram-get-stories-by-idA
Read-only

Fetch specific stories from a peer by their numeric IDs. Useful for retrieving archived/pinned stories outside the active feed. Returns compact story metadata and optional pinnedToTop list. Pass up to ~100 ids per request.

Inputs: ids (required), chat (required).

telegram-get-story-viewsA
Read-only

List viewers of one of YOUR stories (stories.GetStoryViewsList). Returns per-viewer entries (user id, view date, their reaction emoji if any), plus totals (viewsCount, forwardsCount, reactionsCount) and nextOffset for pagination. Pass your own user id (numeric) or @username as the peer โ€” this only works for stories you posted. Some accounts (non-Premium, old stories) may not get a full viewer list โ€” a Premium hint is surfaced on typical errors.

Inputs: chat (required), storyId (required), q, limit, +4 more.

telegram-get-suggested-foldersA
Read-only

Get Telegram's suggested chat folders based on your chat list (e.g. 'Unread', 'Personal', 'Work'). Returns folder templates only; nothing is created.

Inputs: no named parameters.

telegram-get-top-reactionsB
Read-only

Get the list of most popular emoji reactions available on Telegram

Inputs: limit.

telegram-get-transcriptionA
Read-only

Poll for updated transcription result. Calls the same endpoint as telegram-transcribe-audio โ€” Telegram guarantees idempotency (returns same transcriptionId with updated text once processing completes).

Inputs: chatId (required), messageId (required).

telegram-get-unreadA
Read-only

Get chats with unread messages. Forums show per-topic unread breakdown

Inputs: limit.

telegram-get-unread-mentionsA

Get unread @mentions addressed to you in a Telegram chat. Marks all mentions as read on the server when all unread mentions fit within the requested limit.

Inputs: chatId (required), limit.

telegram-get-unread-reactionsA

Get messages with unread reactions on your posts in a Telegram chat. Marks all reactions as read on the server when all unread reactions fit within the requested limit.

Inputs: chatId (required), limit.

telegram-get-updatesA
Read-only

Fetch new messages, deleted messages, and other updates since a previously-known {pts, qts, date} cursor (from telegram-get-state or a prior call). Returns compact newMessages[], deletedMessageIds[], otherUpdates[] (className only), and the new cursor state. isFinal=false means more updates are queued โ€” call again with the returned state. If Telegram reports the gap is too long, the result says so and the history has to be re-read per chat. The server does not store the cursor; each call takes the {pts, qts, date} returned by the previous one.

Inputs: pts (required), qts (required), date (required), ptsLimit, +1 more.

telegram-get-web-previewA
Read-only

Fetch Telegram's web-page preview metadata (type, title, description, site name) for a URL

Inputs: url (required).

telegram-inline-queryA
Read-only

Query an inline bot (like @gif, @bing) in a chat context and return the compact result list. Returns queryId, cacheTime, and results[{id,type,title?,description?,url?}]. The queryId is typically valid for ~60s and can be passed to telegram-inline-query-send to deliver a chosen result. Bot must be a real bot account

Inputs: bot (required), query (required), chatId (required), offset.

telegram-inline-query-sendA

Send an inline bot result to a chat by queryId + resultId (as returned by telegram-inline-query). The queryId expires about 60s after the original query. Returns the sent messageId (0 if not extractable from the update).

Inputs: chatId (required), queryId (required), resultId (required), silent, +3 more.

telegram-invite-to-groupB

Invite users to a Telegram group or channel

Inputs: users (required), chatId (required).

telegram-join-chatA

Join a Telegram group or channel by username or invite link

Inputs: target (required).

telegram-kick-userA

Kick a user from a Telegram group (removes without permanent ban)

Inputs: chatId (required), userId (required).

telegram-leave-groupB

Leave a Telegram group or channel

Inputs: chatId (required).

telegram-list-chatsA
Read-only

List Telegram chats with unread counts, type indicators, and contact status

Inputs: limit, filterType, offsetDate.

telegram-list-emoji-statusesA
Read-only

List default or recently-used emoji statuses available for your account. Useful for finding a documentId to pass to telegram-set-emoji-status.

Inputs: kind, limit.

telegram-list-topicsA
Read-only

List forum topics in a Telegram group with Topics enabled. Shows topic names, unread counts, and status

Inputs: chatId (required), limit.

telegram-loginA

Login to Telegram via QR code. Returns QR image. IMPORTANT: pass the entire result to user without modifications.

Inputs: no named parameters.

telegram-logoutA
Destructive

Log out from Telegram completely. Revokes the session on Telegram servers (removes it from Settings โ†’ Devices), deletes the local session file, and disconnects. After this you must run telegram-login to re-authenticate.

Inputs: no named parameters.

telegram-mark-as-readA

Mark a Telegram chat as read. In a forum, every topic with unread messages is marked read too

Inputs: chatId (required).

telegram-mark-dialog-unreadA

Mark a Telegram dialog as unread (or clear the unread mark)

Inputs: chatId (required), unread (required).

telegram-mute-chatA

Mute or unmute notifications for a Telegram chat. Set muted=true to mute (optionally with duration in seconds), muted=false to unmute

Inputs: muted (required), chatId (required), duration.

telegram-pin-chatA

Pin or unpin a Telegram dialog in the dialog list

Inputs: pin (required), chatId (required).

telegram-pin-messageB

Pin a message in a Telegram chat

Inputs: chatId (required), messageId (required), silent.

telegram-press-buttonA

Press an inline keyboard callback button on a message. Identify the button by (row, column) from its replyMarkup, or pass raw callback_data as base64. URL, switch-inline, game and 2FA-password buttons are rejected with a clear error. Returns the bot's callback answer: {alert?, hasUrl?, nativeUi?, message?, url?, cacheTime}

Inputs: chatId (required), messageId (required), row, data, +1 more.

telegram-rate-transcriptionB

Rate transcription quality (good/poor) to improve Telegram speech-to-text.

Inputs: good (required), chatId (required), messageId (required), transcriptionId (required).

telegram-react-to-storyA

React to a story with an emoji, or remove the current reaction by passing ''.

Inputs: emoji (required), chatId (required), storyId (required), addToRecent.

telegram-read-messagesA
Read-only

Read recent messages from a Telegram chat with sender names, dates, media info, and reactions

Inputs: chatId (required), limit, maxDate, minDate, +1 more.

telegram-read-storiesA

Mark stories as seen up to a given story ID (maxId, inclusive).

Inputs: maxId (required), chatId (required).

telegram-read-topic-messagesA
Read-only

Read messages from a specific forum topic in a Telegram group

Inputs: chatId (required), topicId (required), limit, offsetId.

telegram-remove-adminB

Remove admin rights from a user in a supergroup or channel

Inputs: chatId (required), userId (required).

telegram-rename-contactA

Rename a contact in your own address book only. Their public profile does not change and they are not notified. Works only for users already in your contacts

Inputs: userId (required), firstName (required), lastName.

telegram-reorder-foldersA

Reorder Telegram chat folders by specifying a new order of folder IDs. All existing custom folder IDs must be included.

Inputs: order (required).

telegram-report-spamA

Report a chat as spam to Telegram

Inputs: chatId (required).

telegram-report-storyA

Report a story via the multi-step option flow. First call with option:'' starts the flow; subsequent calls pass the base64 option bytes from the previous response.

Inputs: ids (required), chatId (required), option, message.

telegram-save-draftA

Save or clear a message draft for a chat. Pass empty text to clear the draft. Optional replyTo sets the message being replied to

Inputs: text (required), chatId (required), replyTo.

telegram-search-chatsA
Read-only

Search for Telegram chats, users, or channels by name or username. Returns description and member count

Inputs: query (required), limit.

telegram-search-globalA
Read-only

Search messages globally across all public Telegram chats and channels

Inputs: query (required), limit, maxDate, minDate.

telegram-search-messagesA
Read-only

Search messages in a specific Telegram chat by text

Inputs: query (required), chatId (required), limit, maxDate, +1 more.

telegram-search-sticker-setsA
Read-only

Search for sticker sets by name or keyword. Returns the short names of matching sticker packs.

Inputs: query (required).

telegram-send-albumA

Send an album (group) of 2-10 photos as a single grouped message. Media type is auto-detected by file extension โ€” videos are supported by the underlying TL call but are not covered by v1.29.0 mock tests, so uniform-photo albums are the safer choice until a live checkpoint. Uploads are serial per item: expect โ‰ˆ4-10s for 10 mid-size photos, 15-40s for 10 large videos. Prefer โ‰ค5 items or photos when low latency matters.

Inputs: items (required), chatId (required), caption, replyTo, +2 more.

telegram-send-contactB

Send a contact card (phone number + name) to a Telegram chat.

Inputs: phone (required), chatId (required), firstName (required), vcard, +3 more.

telegram-send-diceA

Send an animated dice/game emoji to a Telegram chat. Returns the server-rolled value โ€” useful for games, coin-flips, random picks. Values: ๐ŸŽฒ๐ŸŽฏ๐ŸŽณ = 1-6, ๐Ÿ€โšฝ = 1-5, ๐ŸŽฐ = slot combo 1-64.

Inputs: chatId (required), emoji, replyTo, topicId.

telegram-send-fileB

Send a file (photo, document, video, etc.) to a Telegram chat

Inputs: chatId (required), filePath (required), caption.

telegram-send-locationA

Send a geographic location to a Telegram chat. Static pin by default; set livePeriod to share a live-updating location for N seconds.

Inputs: chatId (required), latitude (required), longitude (required), heading, +5 more.

telegram-send-messageA

Send a message to a Telegram chat

Inputs: text (required), chatId (required), effect, replyTo, +3 more.

telegram-send-paid-reactionA

Send a paid reaction (โ˜… Stars) on a channel post. Stars are spent from your balance. Optional private flag controls leaderboard visibility.

Inputs: chatId (required), messageId (required), count, private.

telegram-send-reactionA

Send emoji reaction(s) to a message. Supports multiple reactions and adding to existing ones. Omit emoji to remove all reactions

Inputs: chatId (required), messageId (required), emoji, addToExisting.

telegram-send-scheduledA

Send a scheduled message to a Telegram chat. The message will be delivered at the specified time by Telegram servers

Inputs: text (required), chatId (required), scheduleDate (required), replyTo, +1 more.

telegram-send-stickerA

Send a sticker from a sticker set to a chat. The sticker is identified by the set's short name and its index in that set, as listed by telegram-get-sticker-set.

Inputs: index (required), chatId (required), stickerSet (required), replyTo.

telegram-send-storyA

Publish a new story (photo or video) to your profile or a channel you manage. Privacy: everyone/contacts/close_friends/selected (allowUserIds required for 'selected'). MediaAreas not supported in this version.

Inputs: filePath (required), type, chatId, period, +7 more.

telegram-send-typingA

Send a typing/upload indicator to a Telegram chat (or cancel it)

Inputs: chatId (required), action.

telegram-send-venueB

Send a venue card (point-of-interest with title and address) to a Telegram chat.

Inputs: title (required), chatId (required), address (required), latitude (required), +6 more.

telegram-send-video-noteB

Send a video note (round-shaped short video) to a Telegram chat. Shows as a circular video in the UI.

Inputs: chatId (required), filePath (required), length, replyTo, +2 more.

telegram-send-voiceB

Send a voice note (audio recording) to a Telegram chat. Shows as a voice message with waveform UI.

Inputs: chatId (required), filePath (required), caption, replyTo, +2 more.

telegram-set-adminA

Promote a user to admin in a supergroup or channel. Grants: change info, post, edit and delete messages, ban users, invite users, pin messages, manage voice chats. Does not grant the right to add other admins.

Inputs: chatId (required), userId (required), title.

telegram-set-auto-deleteA

Set auto-delete timer for messages in a chat. Common values: 86400 (1 day), 604800 (1 week), 2592000 (1 month). Use 0 to disable

Inputs: chatId (required), period (required).

telegram-set-birthdayA

Set your birthday in your Telegram profile. Year is optional (omit to hide age). Pass clear=true to remove birthday. Requires day and month unless clearing.

Inputs: day, year, clear, month.

telegram-set-business-awayA

Set Telegram Business away message โ€” auto-reply when you are offline or outside work hours. Uses a quick reply shortcut as template. Requires Telegram Business subscription. Pass clear=true to disable.

Inputs: clear, audience, customTo, schedule, +5 more.

telegram-set-business-greetingA

Set Telegram Business greeting message โ€” auto-reply sent to new conversations using a quick reply shortcut as template. Requires Telegram Business subscription. Pass clear=true to disable.

Inputs: clear, audience, shortcutId, excludeUsers, +2 more.

telegram-set-business-hoursA

Set Telegram Business work hours โ€” days and time ranges when your business is open. Requires Telegram Business subscription. Pass clear=true to disable the work hours display entirely.

Inputs: clear, openNow, schedule, timezone.

telegram-set-business-introA

Set Telegram Business intro card โ€” title and description shown to new users opening your chat, with an optional sticker. Requires Telegram Business subscription. Pass clear=true to remove.

Inputs: clear, title, stickerId, description, +2 more.

telegram-set-business-locationA

Set Telegram Business physical location (address + optional geo coordinates). Requires Telegram Business subscription. Pass clear=true to remove.

Inputs: clear, address, latitude, longitude.

telegram-set-chat-permissionsA
Destructive

Set the default permissions for all non-admin members of a group, supergroup, or channel. Omitted flags keep their current state; true = allowed, false = denied

Inputs: chatId (required), sendGifs, sendMedia, sendPolls, +7 more.

telegram-set-chat-reactionsA

Set which reactions are available in a chat. type='all' allows all standard emoji (set allowCustom=true to also permit custom emoji for Premium users), type='some' restricts to a specific emoji list, type='none' disables reactions entirely. Requires admin

Inputs: chatId (required), reactions (required).

telegram-set-default-reactionA

Set the default emoji reaction used in quick-reaction menus across Telegram

Inputs: emoji (required).

telegram-set-emoji-statusA

Set your profile emoji status (custom animated emoji shown next to your name). Requires Telegram Premium. Pass documentId or collectibleId to set โ€” omit both to clear the status. Available IDs are listed by telegram-list-emoji-statuses.

Inputs: untilUnix, documentId, collectibleId.

telegram-set-global-privacy-settingsA

Update account-level global privacy settings. Only pass the fields you want to change โ€” omitted fields keep their current values. hideReadMarks and newNoncontactPeersRequirePremium require Telegram Premium.

Inputs: hideReadMarks, keepArchivedFolders, keepArchivedUnmuted, archiveAndMuteNewNoncontactPeers, +1 more.

telegram-set-personal-channelA

Set the channel displayed on your profile as 'Personal Channel'. Pass clear=true to remove. Pass channelId or @username of a channel you own or are subscribed to.

Inputs: clear, channelId.

telegram-set-privacyB

Configure privacy settings for your Telegram account. Controls who can see your phone number, last seen, profile photo, etc.

Inputs: rule (required), setting (required), allowUsers, disallowUsers.

telegram-set-profile-colorA

Set your profile name color or profile background color. Requires Telegram Premium for colors above index 6 and for profile background patterns. Omit color to reset to default.

Inputs: color, forProfile, backgroundEmojiId.

telegram-set-profile-photoA

Upload and set a new profile photo from a local file. Supports JPEG/PNG for static avatar or MP4 for animated avatar (square, up to 10s). Optionally set as fallback photo shown to users who cannot see your main photo.

Inputs: filePath (required), isVideo, fallback, videoStartTs.

telegram-set-slow-modeA

Set slow mode for a supergroup (minimum interval between messages per user). Allowed values: 0, 10, 30, 60, 300, 900, 3600 seconds (0 disables slow mode)

Inputs: chatId (required), seconds (required).

telegram-statusB
Read-only

Check Telegram connection status

Inputs: no named parameters.

telegram-terminate-sessionA
Destructive

Terminate a specific Telegram session by its hash, or explicitly terminate all other sessions by setting terminateAllOther=true

Inputs: sessionId, terminateAllOther.

telegram-toggle-anti-spamA

Enable or disable aggressive anti-spam filtering in a supergroup. Supergroup only (not broadcast channels); requires admin with ban_users permission

Inputs: chatId (required), enabled (required).

telegram-toggle-channel-signaturesA

Enable or disable author signatures on broadcast channel posts. Channel admin required; not supported for supergroups

Inputs: chatId (required), enabled (required).

telegram-toggle-folder-tagsA

Enable or disable folder tags (colored labels that appear on messages in chat lists when the message belongs to a tagged folder). Requires Telegram Premium.

Inputs: enabled (required).

telegram-toggle-forum-modeA
Destructive

Enable or disable forum/topics mode in a supergroup. Supergroup only; requires creator or admin. WARNING: disabling removes ALL existing topics โ€” pass confirm=true to proceed with disable

Inputs: chatId (required), enabled (required), confirm.

telegram-toggle-paid-reaction-privacyA

Change leaderboard visibility of your paid reaction on a specific channel post (Layer 198 API).

Inputs: chatId (required), private (required), messageId (required).

telegram-toggle-prehistory-hiddenA

Toggle pre-history visibility for new members in a supergroup. When hidden=true, new joiners cannot see messages posted before they joined. Supergroup only; requires admin

Inputs: chatId (required), hidden (required).

telegram-toggle-story-pinnedA

Pin or unpin stories in your profile highlights (Telegram allows up to 3 pinned stories).

Inputs: ids (required), pinned (required), chatId.

telegram-toggle-story-pinned-to-topA

Pin stories to the very top of your pinned row. Pass an empty array [] to clear all top-pinned stories.

Inputs: ids (required), chatId.

telegram-transcribe-audioA

Request server-side transcription of a voice note or video note (Telegram Premium feature). Returns immediately with a transcriptionId; pending:true means the text is not ready yet, and telegram-get-transcription returns it once it is.

Inputs: chatId (required), messageId (required).

telegram-translate-messageA

Translate one or more Telegram messages to a target language (requires Telegram Premium). Consumes account translation quota.

Inputs: chatId (required), toLang (required), messageIds (required).

telegram-unban-userA

Unban a previously banned user from a supergroup or channel

Inputs: chatId (required), userId (required).

telegram-unblock-userB

Unblock a previously blocked Telegram user

Inputs: userId (required).

telegram-unpin-messageB

Unpin a message in a Telegram chat

Inputs: chatId (required), messageId (required).

telegram-update-profileB

Update your Telegram profile โ€” first name, last name, bio, or username

Inputs: bio, lastName, username, firstName.

telegram-vote-pollB

Vote in a poll by option index (single or multi-choice). Empty array retracts vote.

Inputs: chatId (required), messageId (required), optionIndexes (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    B3.4/5.0

    Scored across 171 tools

    Disambiguation4/5

    Most tools target clearly distinct resources and actions, and the detailed descriptions help separate near-neighbors (e.g., get-updates vs get-channel-updates, get-stories-by-id vs get-stories-archive). A few clusters remain easy to confuse, such as the multiple boost-listing tools and chat-info vs chat-members, but overall boundaries are clear.

    Naming Consistency4/5

    The vast majority follow a predictable telegram-verb-noun kebab-case pattern (send-message, get-chat-info, set-business-hours, delete-story). Minor deviations like telegram-status, telegram-login, and telegram-logout lack a noun, but the convention is otherwise highly consistent.

    Tool Count1/5

    171 tools is far beyond a manageable surface for a single server, even for a broad domain like Telegram. The set is sprawling and forces an agent to navigate an enormous catalog, making selection costly and error-prone.

    Completeness4/5

    Coverage is extensive across messaging, media, stories, business features, boosts, polls, folders, privacy, and admin operations, with few obvious dead ends. Gaps remain around voice/video calls, secret chats, and some retrieval helpers like listing pinned messages, but most core workflows are supported.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers