Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, one CLI, zero API fees.
MCP Telegram
MCP server to work with Telegram through MTProto
Install: git clone https://github.com/sparfenyuk/mcp-telegram
Install
git clone https://github.com/sparfenyuk/mcp-telegramInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Telegram MCP server
- Telegram MCP server
About
The server is a bridge between the Telegram API and the AI assistants and is based on the Model Context Protocol.
[!IMPORTANT] Ensure that you have read and understood the Telegram API Terms of Service before using this server. Any misuse of the Telegram API may result in the suspension of your account.
What is MCP?
The Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desktop, connect to external tools and data sources. It gives a clear and safe way for AI assistants to work with local services and APIs while keeping the user in control.
What does this server do?
As of not, the server provides read-only access to the Telegram API.
- Get the list of dialogs (chats, channels, groups)
- Get the list of (unread) messages in the given dialog
- Mark chanel as read
- Retrieve messages by date and time
- Download media files
- Get the list of contacts
- Draft a message
- ...
Practical use cases
- Create a summary of the unread messages
- Find contacts with upcoming birthdays and schedule a greeting
- Find discussions on a given topic, summarize them and provide a list of links
Prerequisites
Installation
uv tool install git+https://github.com/sparfenyuk/mcp-telegram
[!NOTE] If you have already installed the server, you can update it using
uv tool upgrade --reinstallcommand.
[!NOTE] If you want to delete the server, use the
uv tool uninstall mcp-telegramcommand.
Configuration
Telegram API Configuration
Before you can use the server, you need to connect to the Telegram API.
Get the API ID and hash from Telegram API
Run the following command:
mcp-telegram sign-in --api-id <your-api-id> --api-hash <your-api-hash> --phone-number <your-phone-number>Enter the code you received from Telegram to connect to the API.
The password may be required if you have two-factor authentication enabled.
[!NOTE] To log out from the Telegram API, use the
mcp-telegram logoutcommand.
Claude Desktop Configuration
Configure Claude Desktop to recognize the Exa MCP server.
Similar plugs
An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here…
Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative.
Your Personal AI Assistant; easy to install, deploy on your own machine or on the cloud; supports multiple chat apps with easily extensible capabilities.
Let Claude Code, Codex or Cursor use your real Chrome, logged in as you. One prompt to set up. Open source, MIT.