telegram-mcp-server

telegram-mcp-server

3.4

If you are the rightful owner of telegram-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server allowing AI assistants to interact with your Telegram account using the user client API.

The Telegram MCP Server is designed to facilitate interaction between AI assistants, such as Claude, and a user's Telegram account by leveraging the user client API instead of the bot API. Built using the `@mtproto/core` library and the FastMCP framework, this server allows for seamless integration and management of Telegram channels and messages. It provides tools to list, search, and retrieve messages from channels, making it a versatile solution for users who want to automate or enhance their Telegram interactions through AI. The server requires Node.js, a Telegram account with 2FA enabled, and Telegram API credentials to operate. It supports configuration through environment variables and client software settings, ensuring flexibility and ease of use.

Features

  • listChannels: Lists available Telegram channels/chats accessible by the account, based on the server's cache.
  • searchChannels: Searches the cached channels/chats by keywords in their names.
  • getChannelMessages: Retrieves recent messages from a specific channel/chat using its ID.