MCP directory
TM

Telegram MCP

by github.com/n24q02m · v4.27.0 · updated Nov 25, 2026

Telegram for AI agents: messages, chats, media, and contacts in bot and user-account modes.

PyPIDocker

Run it locally

Install the package and point your AI client at it.

PyPI

uvx n24q02m-telegram==4.27.0

Environment variables

  • TELEGRAM_BOT_TOKENsecret

    Telegram bot token from @BotFather (for bot mode)

  • TELEGRAM_PHONE

    Phone number in +<country><number> form for user mode (or save it once with `telegram auth --phone`)

  • TELEGRAM_API_ID

    Optional Telegram API ID from my.telegram.org; overrides the bundled public API pair

  • TELEGRAM_API_HASHsecret

    Optional Telegram API hash from my.telegram.org; overrides the bundled public API pair

Docker

docker run -i --rm docker.io/n24q02m/telegram:latest

Environment variables

  • TELEGRAM_BOT_TOKENsecret

    Telegram bot token from @BotFather (for bot mode)

More from github.com/n24q02m

More MCP servers