mcp-telegram
5
The Telegram MCP Server allows integration of Telegram functionalities into Claude, enabling it to read and send messages. Users can get a list of chats, mark messages as read, and control conversation contexts. Key features include seamless Telegram account access and Claude Desktop integration.
Telegram MCP Server
This project is a basic MCP server designed to enable Claude to access and manage your Telegram account. It provides functionalities such as:
- Getting a list of Telegram chats
- Sending messages to chats
- Retrieving and marking messages as read
- Access to conversation context by examining past messages and a
convostyle.txt
file for appropriate reply crafting
Setup Instructions:
- Obtain Telegram API Credentials: Log in to my.telegram.org to create or use an application and retrieve API ID and API Hash.
- Prepare Python Environment: Clone the repository, set up a virtual environment, and install necessary packages.
- Configure Environment: Set TELEGRAM_PHONE, TELEGRAM_API_ID, and TELEGRAM_API_HASH variables in your system.
- Authentication: Run authentication scripts to establish a session with Telegram.
- Claude Desktop Integration: Add the server details to the Claude Desktop configuration.
- Optional Customization: Modify
convostyle.txt
to affect chatbot responses.
Restart Claude Desktop to utilize these features, allowing Claude to interact with your Telegram service.