Skip to main content
Glama
IQAIcom

Telegram MCP Server

by IQAIcom

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SAMPLING_ENABLEDNoEnable/disable AI sampling entirelytrue
TELEGRAM_BOT_TOKENYesYour Telegram bot token from @BotFather
SAMPLING_MAX_TOKENSNoMax tokens per AI response1000
SAMPLING_ADMIN_USERSNoComma-separated user IDs who can use admin commands
SAMPLING_ENABLE_POLLNoEnable poll messagestrue
SAMPLING_ENABLE_TEXTNoEnable text messagestrue
SAMPLING_SHOW_TYPINGNoShow typing indicatortrue
SAMPLING_SILENT_MODENoLog but don't respondfalse
SAMPLING_ENABLE_PHOTONoEnable photo messagestrue
SAMPLING_ENABLE_VIDEONoEnable video messagestrue
SAMPLING_ENABLE_VOICENoEnable voice messagestrue
SAMPLING_MENTION_ONLYNoOnly respond when mentioned in groupstrue
SAMPLING_ALLOWED_CHATSNoComma-separated chat IDs/usernames to allow (empty = all)
SAMPLING_ALLOWED_USERSNoComma-separated user IDs to allow (empty = all)
SAMPLING_BLOCKED_CHATSNoComma-separated chat IDs/usernames to ignore
SAMPLING_BLOCKED_USERSNoComma-separated user IDs to ignore
SAMPLING_ENABLE_CONTACTNoEnable contact sharingtrue
SAMPLING_ENABLE_STICKERNoEnable sticker messagestrue
SAMPLING_RESPOND_TO_DMSNoAlways respond in DMstrue
SAMPLING_ENABLE_DOCUMENTNoEnable document uploadstrue
SAMPLING_ENABLE_LOCATIONNoEnable location sharingtrue
SAMPLING_IGNORE_COMMANDSNoIgnore messages starting with /true
SAMPLING_RATE_LIMIT_CHATNoMax requests per chat per minute20
SAMPLING_RATE_LIMIT_USERNoMax requests per user per minute10
SAMPLING_KEYWORD_TRIGGERSNoOnly respond to messages with these keywords
SAMPLING_MAX_MESSAGE_LENGTHNoMaximum message length1000
SAMPLING_MIN_MESSAGE_LENGTHNoMinimum message length1

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

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