Skip to main content
Glama
allwin14112004

telegram-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TELEGRAM_API_IDYesYour Telegram API ID from my.telegram.org/apps
TELEGRAM_API_HASHYesYour Telegram API hash from my.telegram.org/apps
TELEGRAM_PROXY_HOSTNoProxy host
TELEGRAM_PROXY_PORTNoProxy port
TELEGRAM_PROXY_RDNSNoOptional proxy rdns setting
TELEGRAM_PROXY_TYPENoProxy type: socks5, socks4, http, mtproxy
TELEGRAM_APP_VERSIONNoOptional app version for active session list
TELEGRAM_DEVICE_MODELNoOptional device model name for active session list
TELEGRAM_PROXY_SECRETNoMTProxy secret (when using mtproxy type)
TELEGRAM_EXPOSED_TOOLSNoSet to 'read-only' to expose only read-only toolsall
TELEGRAM_PROXY_PASSWORDNoOptional proxy password
TELEGRAM_PROXY_USERNAMENoOptional proxy username
TELEGRAM_SESSION_STRINGYesYour Telegram session string, generated via session_string_generator.py
TELEGRAM_SYSTEM_VERSIONNoOptional system version for active session list
TELEGRAM_ALLOW_SERVER_ROOTS_FALLBACKNoSet to '1' to allow fallback to server CLI roots when client provides empty roots

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/allwin14112004/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server