Skip to content
Kitbay
MCP server

Telegram MCP Server

Runs locallyApache-2.0Updated on Nov 17, 20262,059GitHub starsCan change dataNeeds an API key

A Python MCP server built on Telethon that signs in to Telegram as your own user account over MTProto, using an API id and hash from my.telegram.org and a session string you generate first.

What it does

A Python MCP server built on Telethon that signs in to Telegram as your own user account over MTProto, using an API id and hash from my.telegram.org and a session string you generate first. It has over 80 tools for chats, groups, channels, messages, contacts, media, folders and admin rights, including sending, scheduling, editing, deleting and forwarding messages, polls and reactions, inline buttons, voice transcription and exporting chat history to JSON. It runs locally over stdio or as a shared HTTP server, supports several accounts, and can restrict access to a list of allowed chats. Docker images and a Claude Desktop extension are offered.

Capabilities

  • Send, edit, schedule and delete Telegram messages
  • Manage groups, channels, admins and invite links
  • Search messages and export chat history to JSON
  • Manage contacts and folders
  • Transcribe voice messages