tg_mcp

tg_mcp

3.3

If you are the rightful owner of tg_mcp 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.

A powerful MCP server implementation that provides Telegram functionality through a clean API interface, including message search, sending, and chat management capabilities.

The MCP Telegram Server is a robust implementation designed to integrate Telegram functionalities into applications using the Model Control Protocol (MCP). It offers a clean API interface for various operations such as message searching, sending, and chat management. The server supports advanced search capabilities, chat analytics, and data export functionalities. Built on the MCP architecture, it ensures efficient error handling and logging, making it a reliable choice for developers looking to incorporate Telegram features into their projects. The server requires Python 3.x and Telegram API credentials for setup and can be integrated with MCP-compatible environments like Cursor IDE.

Features

  • Advanced message search with text, filters, and regex support
  • Comprehensive chat management including message sending and link generation
  • Detailed chat analytics and data export options
  • Robust error handling and logging
  • Built on MCP architecture for seamless integration

Tools

  1. search_messages

    Search for messages in Telegram chats with various filters and pagination support.

  2. send_telegram_message

    Send messages to Telegram chats with optional reply and parsing modes.

  3. get_dialogs

    List available Telegram dialogs with pagination.

  4. get_statistics

    Get statistics for a specific chat.

  5. generate_links

    Generate Telegram links for messages.

  6. export_data

    Export chat data in specified format.

  7. invoke_mtproto

    Dynamically invoke any raw MTProto method supported by Telethon.