Telegram MCP reads and searches chats, sends messages, handles media, and manages groups and channels within your account's Telegram permissions. It uses grammers for Telegram API layer 234, rmcp for MCP, and kiaro-secret-chat for native MTProto 2.0 secret chats. The tag badge tracks the published version; Cargo.lock records the exact dependency versions and Git revisions for this checkout. The server does not need Python or a virtual environment.
Releases and tags
The tag badge updates automatically from GitHub tags. GitHub Releases hosts the signed archives, each with a .sha256 checksum and a .sig signature. Each release also includes SHA256SUMS, SHA256SUMS.sig, publisher-cert.pem, and publisher-key.pem. GitHub records build provenance attestations for the archives and signed checksum files. See the installation guide for verification instructions.
Install
Choose an archive from GitHub Releases for Windows or Linux on x64 or arm64. After extraction, the server is at bin/telegram-mcp.exe on Windows and bin/telegram-mcp on Linux. If the Linux file is not executable, run chmod +x bin/telegram-mcp.
To build from source, install Rust 1.100.1 through rustup and a native linker. Windows needs the MSVC build tools and Windows SDK. Linux needs its C compiler, linker and system development libraries. In a checkout of the release source, run:
cargo build --locked --release --bin telegram-mcp --bin emoji-studio --bin operator-plugin
Cargo puts the executables in target/release/. See installation for optional media dependencies, artifact verification and state configuration.
Authorize an account
Copy the source tree's .env.example to a private .env. Set TELEGRAM_API_ID and TELEGRAM_API_HASH using your application credentials from my.telegram.org/apps. From a terminal with telegram-mcp on PATH, run:
telegram-mcp --config .env login --account default
telegram-mcp --config .env accounts --json