TGMCP - Telegram Model Context Protocol
TGMCP is a Python package that implements the Model Context Protocol (MCP) for Telegram. It enables AI agents to:
- Read and send messages
- Manage contacts and groups
- Handle media (images, documents, stickers, GIFs)
- Perform administrative functions
- Update profile information
Key Features
- Chat Operations: List chats, retrieve messages, send messages
- Contact Management: Add, delete, block/unblock, search contacts
- Group Administration: Create groups, add members, manage permissions
- Media Handling: Send/receive files, stickers, GIFs, voice messages
- Profile Management: Update profile info, privacy settings
- Message Operations: Forward, edit, delete, pin messages
- Administrative Functions: Promote/demote admins, ban users
Installation
Install TGMCP from PyPI:
pip install tgmcpSecurity & Privacy
- All data remains on your local machine.
- Authentication with Telegram is handled securely.
- No data is sent to third parties.
Support
For issues and questions, please open an issue on the GitHub repository.