Back to directory
TM

Telegram MCP Server

Read and send Telegram messages through the MTProto client API.
Last updated July 18, 2026
CommunicationLocal · stdioPython177

Overview

An MCP server that connects to Telegram via the MTProto client API (not the Bot API), letting an agent read message history, send messages, and interact with chats using a real Telegram user session.

Use cases

Search your own Telegram chat history for a past conversation.
Draft and send a message to a Telegram contact or channel.
Summarize unread messages across your Telegram chats.

Install

{
  "mcpServers": {
    "mcp-telegram": {
      "command": "mcp-server",
      "env": {
        "TELEGRAM_API_ID": "<your-api-id>",
        "TELEGRAM_API_HASH": "<your-api-hash>"
      }
    }
  }
}

FAQ

A real Telegram user session via the MTProto client API, authenticated with your own API ID and hash from my.telegram.org — not the Bot API.