MCP Telegram
by tolmachov
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_URL | No | Ollama API URL | http://localhost:11434 |
| GEMINI_API_KEY | No | Google Gemini API key | |
| SUMMARIZE_MODEL | No | Model name | |
| TELEGRAM_API_ID | Yes | Telegram API ID | |
| ANTHROPIC_API_KEY | No | Anthropic API key | |
| TELEGRAM_API_HASH | Yes | Telegram API Hash | |
| SUMMARIZE_PROVIDER | No | LLM provider for summarization | sampling |
| SUMMARIZE_BATCH_TOKENS | No | Tokens per summarization batch | 8000 |
| TELEGRAM_ALLOWED_PATHS | No | Allowed directories for backups | OS app data dir |
| TELEGRAM_RATE_LIMIT_RPS | No | RPS ceiling for history-fetching calls to Telegram. Exceeding Telegram's FLOOD_WAIT thresholds pauses all tools. | 0 |
| TELEGRAM_MEDIA_MAX_BYTES | No | Max bytes GetMedia will download per call (cap to avoid OOM on large attachments) | 52428800 |
| TELEGRAM_PINNED_REFRESH_SECONDS | No | Polling interval (seconds) for the pinned-chat resource watcher. 0 disables the watcher. | 30 |
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
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/tolmachov/mcp-telegram'
If you have feedback or need assistance with the MCP directory API, please join our Discord server