kfastov_telegram-mcp-server
1
This project integrates a Telegram client library with an MCP server allowing AI assistants to interact with Telegram. Key features include chat management, message retrieval, and filtering, useful for exploring and managing Telegram channels through AI interfaces.
Overview
This project combines a Telegram client library and an MCP (Model Context Protocol) server that assists AI systems interact with Telegram.
Features
Telegram Client Library
- Supports Telegram authentication with 2FA
- Session management
- Retrieves chats and messages
- Filters messages using patterns
MCP Server
- Searches for channels by keywords
- Lists and accesses available channels
- Retrieves and filters messages from channels
Usage
Telegram Client Library
- Initialize with your Telegram credentials
- Use the client to log in and manage chats
MCP Server
- Start the server and make it available at a local endpoint
- Test using the included client