Skip to main content
Glama
Moreti2002

mcp-telegram

by Moreti2002

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TELEGRAM_TIMEOUTNoPer-request timeout in seconds. Default: 30
TELEGRAM_API_BASENoOverride the API host (e.g. a local Bot API server). Default: https://api.telegram.org
TELEGRAM_BOT_TOKENYesToken from @BotFather.
TELEGRAM_DEFAULT_CHAT_IDNoChat used when a tool call omits chat_id.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_meA

Return the bot's own identity. Use it to verify the token and connection.

send_messageA

Send a text message to a Telegram chat.

Args: text: Message body (max 4096 characters). chat_id: Target chat: a numeric id or an @channelusername. Omit to use the server's default chat. parse_mode: Optional formatting: "MarkdownV2", "HTML" or "Markdown". Leave empty to send plain text (safest). When set, the text must be valid/escaped for that mode or Telegram rejects it. disable_notification: Send silently, without a notification sound. disable_web_page_preview: Do not expand link previews. reply_to_message_id: Make this message a reply to an existing message.

send_photoA

Send a photo to a Telegram chat.

Args: photo: An http(s) URL, a local file path, or a Telegram file_id. chat_id: Target chat; omit to use the server's default chat. caption: Optional caption shown under the photo (max 1024 characters). parse_mode: Optional caption formatting (see send_message). disable_notification: Send silently, without a notification sound.

send_documentA

Send a file/document to a Telegram chat.

Args: document: An http(s) URL, a local file path, or a Telegram file_id. chat_id: Target chat; omit to use the server's default chat. caption: Optional caption shown with the document (max 1024 characters). parse_mode: Optional caption formatting (see send_message). disable_notification: Send silently, without a notification sound.

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

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