Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHAT_IDYesComma-separated chat IDs (e.g., 123456789,-987654321)
DB_PATHNoSQLite database file path./data/telegram-mcp.db
OWNER_IDNoBot owner's Telegram user ID
BOT_TOKENYesTelegram Bot API token from @BotFather
LOG_LEVELNoLog level: debug, info, warn, errorinfo
MAX_RETRIESNoMaximum retries for failed API calls3
RATE_LIMIT_RPSNoTelegram API rate limit (requests per second)30
POLL_INTERVAL_MSNoPolling interval for message updates (ms)2000
RESPONSE_TIMEOUT_SECNoDefault timeout for wait_for_response (seconds)300
RESPONSE_POLL_INTERVAL_MSNoPoll interval when waiting for a response (ms)500

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

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