telegram-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TELEGRAM_API_ID | Yes | Your Telegram API ID from my.telegram.org/apps | |
| TELEGRAM_API_HASH | Yes | Your Telegram API hash from my.telegram.org/apps | |
| TELEGRAM_PROXY_HOST | No | Proxy host | |
| TELEGRAM_PROXY_PORT | No | Proxy port | |
| TELEGRAM_PROXY_RDNS | No | Optional proxy rdns setting | |
| TELEGRAM_PROXY_TYPE | No | Proxy type: socks5, socks4, http, mtproxy | |
| TELEGRAM_APP_VERSION | No | Optional app version for active session list | |
| TELEGRAM_DEVICE_MODEL | No | Optional device model name for active session list | |
| TELEGRAM_PROXY_SECRET | No | MTProxy secret (when using mtproxy type) | |
| TELEGRAM_EXPOSED_TOOLS | No | Set to 'read-only' to expose only read-only tools | all |
| TELEGRAM_PROXY_PASSWORD | No | Optional proxy password | |
| TELEGRAM_PROXY_USERNAME | No | Optional proxy username | |
| TELEGRAM_SESSION_STRING | Yes | Your Telegram session string, generated via session_string_generator.py | |
| TELEGRAM_SYSTEM_VERSION | No | Optional system version for active session list | |
| TELEGRAM_ALLOW_SERVER_ROOTS_FALLBACK | No | Set 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
| Name | Description |
|---|---|
No tools | |
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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