Telegram MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BROWSER_TIMEOUT | No | Timeout setting for browser operations in web scraping mode | |
| TELEGRAM_API_ID | No | Your Telegram API ID obtained from my.telegram.org | |
| TELEGRAM_API_HASH | No | Your Telegram API hash obtained from my.telegram.org | |
| TELEGRAM_DATA_PATH | No | Optional path to store session data and cookies |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scrape_channelA | Scrape a Telegram channel and return posts in markdown format. Uses authenticated session if logged in. |
| scrape_channel_fullA | Scrape ALL posts from a Telegram channel and save to file. Uses authenticated session if logged in. Returns file location. |
| scrape_groupA | Scrape a Telegram group and return posts in markdown format. Uses authenticated session if logged in. |
| get_channel_infoA | Get only the channel/group information without scraping posts. Uses authenticated session if logged in. |
| scrape_date_rangeB | Scrape posts within a specific date range. Uses authenticated session if logged in. |
| telegram_loginC | Authenticate with Telegram Web to access restricted content |
| telegram_logoutB | Clear Telegram authentication cookies |
| telegram_auth_statusB | Check if authenticated with Telegram |
| scrape_channel_authenticatedB | Scrape a Telegram channel using authenticated session (can access restricted content) |
| scrape_manualB | Manual scraping mode: Opens browser for you to login and navigate to any channel, then scrapes it |
| telegram_api_loginC | Login to Telegram using API credentials for fast, efficient scraping |
| api_scrape_channelC | Scrape a Telegram channel using the API (fast and efficient) |
| api_search_channelC | Search for messages within a Telegram channel |
| api_get_channel_infoC | Get detailed information about a Telegram channel using the API |
| api_logoutB | Disconnect from Telegram API |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DLHellMe/telegram-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server