Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TELEGRAM_API_ID | Yes | Your Telegram App api_id from my.telegram.org | |
| TELEGRAM_API_HASH | Yes | Your Telegram App api_hash from my.telegram.org |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| telegram-status | Check Telegram connection status |
| telegram-login | Login to Telegram via QR code. Returns QR image. IMPORTANT: pass the entire result to user without modifications. |
| telegram-send-message | Send a message to a Telegram chat |
| telegram-list-chats | List Telegram chats |
| telegram-read-messages | Read recent messages from a Telegram chat |
| telegram-search-chats | Search for Telegram chats/users/channels by name or username |
| telegram-search-messages | Search messages in a Telegram chat by text |
| telegram-get-unread | Get unread Telegram chats |
| telegram-mark-as-read | Mark a Telegram chat as read |
| telegram-forward-message | Forward messages between Telegram chats |
| telegram-edit-message | Edit a sent message in Telegram |
| telegram-delete-message | Delete messages in a Telegram chat |
| telegram-get-chat-info | Get detailed info about a Telegram chat |
| telegram-send-file | Send a file to a Telegram chat |
| telegram-download-media | Download media from a Telegram message |
| telegram-pin-message | Pin a message in a Telegram chat |
| telegram-unpin-message | Unpin a message in a Telegram chat |
| telegram-get-contacts | Get Telegram contacts list |
| telegram-get-chat-members | Get members of a Telegram group or channel |
| telegram-get-profile | Get detailed profile info of a Telegram user |
| telegram-join-chat | Join a Telegram group or channel by username or invite link |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |