Telegram MCP Server
by IQAIcom
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SAMPLING_ENABLED | No | Enable/disable AI sampling entirely | true |
| TELEGRAM_BOT_TOKEN | Yes | Your Telegram bot token from @BotFather | |
| SAMPLING_MAX_TOKENS | No | Max tokens per AI response | 1000 |
| SAMPLING_ADMIN_USERS | No | Comma-separated user IDs who can use admin commands | |
| SAMPLING_ENABLE_POLL | No | Enable poll messages | true |
| SAMPLING_ENABLE_TEXT | No | Enable text messages | true |
| SAMPLING_SHOW_TYPING | No | Show typing indicator | true |
| SAMPLING_SILENT_MODE | No | Log but don't respond | false |
| SAMPLING_ENABLE_PHOTO | No | Enable photo messages | true |
| SAMPLING_ENABLE_VIDEO | No | Enable video messages | true |
| SAMPLING_ENABLE_VOICE | No | Enable voice messages | true |
| SAMPLING_MENTION_ONLY | No | Only respond when mentioned in groups | true |
| SAMPLING_ALLOWED_CHATS | No | Comma-separated chat IDs/usernames to allow (empty = all) | |
| SAMPLING_ALLOWED_USERS | No | Comma-separated user IDs to allow (empty = all) | |
| SAMPLING_BLOCKED_CHATS | No | Comma-separated chat IDs/usernames to ignore | |
| SAMPLING_BLOCKED_USERS | No | Comma-separated user IDs to ignore | |
| SAMPLING_ENABLE_CONTACT | No | Enable contact sharing | true |
| SAMPLING_ENABLE_STICKER | No | Enable sticker messages | true |
| SAMPLING_RESPOND_TO_DMS | No | Always respond in DMs | true |
| SAMPLING_ENABLE_DOCUMENT | No | Enable document uploads | true |
| SAMPLING_ENABLE_LOCATION | No | Enable location sharing | true |
| SAMPLING_IGNORE_COMMANDS | No | Ignore messages starting with / | true |
| SAMPLING_RATE_LIMIT_CHAT | No | Max requests per chat per minute | 20 |
| SAMPLING_RATE_LIMIT_USER | No | Max requests per user per minute | 10 |
| SAMPLING_KEYWORD_TRIGGERS | No | Only respond to messages with these keywords | |
| SAMPLING_MAX_MESSAGE_LENGTH | No | Maximum message length | 1000 |
| SAMPLING_MIN_MESSAGE_LENGTH | No | Minimum message length | 1 |
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/IQAIcom/mcp-telegram'
If you have feedback or need assistance with the MCP directory API, please join our Discord server