Telegram MCP Server
MCP ServerFreeSend messages and manage Telegram chats and bots via MCP.
Capabilities12 decomposed
message-sending-via-telegram-bot-api
Medium confidenceSends text messages, media files, and formatted content to Telegram chats and channels through the Telegram Bot API. Implements message routing logic that resolves chat identifiers (numeric IDs, usernames, or channel handles) to API endpoints, handles message formatting (Markdown/HTML), and manages delivery confirmation through API response parsing. Supports batch message operations and message editing after delivery.
Wraps Telegram Bot API message endpoints as MCP tools, enabling LLM agents to send messages through a standardized tool-calling interface rather than direct API calls. Abstracts chat identifier resolution and message formatting into a single composable capability.
Simpler integration than raw Telegram Bot API for MCP-based agents because it handles authentication and endpoint routing transparently, while maintaining full API feature support.
message-retrieval-and-chat-history-reading
Medium confidenceRetrieves message history from Telegram chats and channels by querying the Telegram Bot API for recent messages, with filtering by date range, sender, or message type. Implements pagination logic to handle large message sets and parses API responses into structured message objects containing sender info, timestamps, content, and media metadata. Supports reading from both private chats and public channels.
Exposes Telegram message retrieval as MCP tools with built-in pagination and filtering, allowing LLM agents to fetch and reason over chat history without managing API pagination or response parsing themselves. Structures raw API responses into agent-friendly formats.
More accessible than direct Telegram Bot API calls for agents because it abstracts pagination and response normalization; simpler than building a custom Telegram client library for basic history needs.
webhook-based-update-handling-integration
Medium confidenceIntegrates with Telegram's webhook system to receive real-time updates (messages, callbacks, edits) via HTTP POST requests. The MCP server can be configured to work with webhook-based bots (alternative to polling), receiving updates from Telegram's servers and routing them to connected LLM clients. Supports update filtering and acknowledgment.
Bridges Telegram's webhook system into MCP, enabling event-driven bot architectures. Handles webhook registration and update routing without requiring polling loops.
Lower latency than polling because updates arrive immediately; more scalable than getUpdates polling because it eliminates constant API calls and reduces rate-limit pressure.
error-handling-and-api-response-mapping
Medium confidenceTranslates Telegram Bot API errors and responses into structured MCP-compatible formats. The MCP server catches API failures (rate limits, invalid parameters, permission errors) and maps them to descriptive error objects that LLMs can reason about. Implements retry logic for transient failures and provides actionable error messages.
Implements error mapping layer that translates raw Telegram API errors into LLM-friendly error objects. Provides structured error information that LLMs can use for decision-making and recovery.
More actionable than raw API errors because it provides context and recovery suggestions; more reliable than ignoring errors because it enables LLM agents to handle failures intelligently.
bot-command-handler-registration-and-dispatch
Medium confidenceRegisters custom bot commands (e.g., /start, /help, /custom) and routes incoming Telegram messages containing those commands to handler functions. Implements command parsing logic that extracts command names and arguments from message text, matches them against registered handlers, and invokes the appropriate handler with parsed parameters. Supports command help text generation and command discovery via /help.
Provides MCP-compatible command registration and dispatch, allowing agents to define Telegram bot commands as MCP tools rather than managing raw message parsing. Decouples command definition from message handling logic.
Cleaner than raw message event handling because it abstracts command parsing and routing; more flexible than hardcoded command lists because handlers can be registered dynamically at runtime.
chat-and-channel-metadata-retrieval
Medium confidenceFetches metadata about Telegram chats and channels including member counts, titles, descriptions, pinned messages, and permissions. Queries the Telegram Bot API for chat information and parses responses into structured objects. Supports both private chats and public channels, with different metadata availability depending on bot permissions and chat type.
Exposes Telegram chat metadata as queryable MCP tools, allowing agents to inspect chat state and permissions without direct API calls. Structures metadata into agent-friendly formats with permission flags.
More convenient than raw API calls for agents because it abstracts permission checking and response normalization; enables agents to make permission-aware decisions before attempting actions.
user-and-member-information-lookup
Medium confidenceRetrieves information about Telegram users and chat members including usernames, first/last names, profile pictures, and member status (admin, restricted, etc.). Queries the Telegram Bot API for user objects and member information, with support for looking up users by ID or username. Returns structured user profiles with permission and status flags.
Provides user and member lookup as MCP tools with structured output, enabling agents to make permission-aware and user-aware decisions. Abstracts API response parsing and permission flag interpretation.
Simpler than raw API calls for agents because it returns normalized user objects with permission flags; enables agents to check user status without managing API response structure.
message-editing-and-deletion
Medium confidenceEdits or deletes previously sent messages in Telegram chats by message ID. Implements message lifecycle management through Telegram Bot API endpoints, supporting text content updates, media replacement, and inline keyboard modifications. Handles permission checks and error cases (e.g., message too old to edit, insufficient permissions).
Exposes message editing and deletion as MCP tools with built-in permission and time-window validation, allowing agents to manage message state without directly handling API constraints. Abstracts 48-hour edit window checks.
More agent-friendly than raw API calls because it validates edit eligibility before attempting operations; enables agents to implement message lifecycle patterns without manual constraint checking.
inline-keyboard-and-callback-button-handling
Medium confidenceCreates interactive inline keyboards with buttons that trigger callback queries when clicked, and handles incoming callback data from button presses. Implements button registration and callback routing logic that maps button IDs to handler functions. Supports button state management and dynamic keyboard updates based on user interactions.
Provides button creation and callback handling as MCP tools, abstracting Telegram's callback query protocol. Enables agents to build interactive flows without managing callback data encoding or timeout handling.
Simpler than raw callback query handling because it abstracts button registration and callback routing; enables agents to define interactive flows declaratively rather than managing callback data manually.
file-upload-and-media-handling
Medium confidenceUploads files and media to Telegram chats through the Telegram Bot API, supporting documents, images, audio, video, and other file types. Implements file type detection, size validation, and upload streaming for large files. Handles file ID caching to avoid re-uploading identical files and manages media metadata (captions, thumbnails, duration).
Wraps Telegram file upload endpoints as MCP tools with built-in file type detection and size validation, allowing agents to send files without managing Telegram's file type restrictions or size limits. Implements file ID caching to optimize repeated uploads.
More convenient than raw API calls because it handles file type detection and validation transparently; enables agents to upload files without manual constraint checking or file ID management.
group-and-channel-management-operations
Medium confidencePerforms administrative operations on Telegram groups and channels including adding/removing members, setting permissions, pinning messages, and managing group settings. Implements permission-aware operations that check bot admin status before executing changes. Supports bulk operations (e.g., removing multiple members) and permission configuration through structured objects.
Provides group/channel management as MCP tools with built-in permission validation, allowing agents to perform admin operations without manually checking bot capabilities. Abstracts permission flag structures and bulk operation patterns.
More reliable than raw API calls because it validates bot permissions before attempting operations; enables agents to implement group management workflows without manual permission checking.
webhook-and-polling-based-message-listening
Medium confidenceListens for incoming Telegram messages and events through either webhook (push-based) or long-polling (pull-based) mechanisms. Implements event routing that dispatches incoming messages to registered handlers based on message type (text, command, media, etc.). Supports both update types and provides abstraction over the transport mechanism (webhook vs. polling).
Abstracts both webhook and polling mechanisms as a unified MCP event listener, allowing agents to receive messages without choosing between transport mechanisms. Handles update parsing and event routing transparently.
More flexible than raw polling because it supports both webhook and polling with the same interface; simpler than managing Telegram update objects directly because it parses and routes events automatically.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with Telegram MCP Server, ranked by overlap. Discovered automatically through the match graph.
Serverless Telegram bot
[WhatsApp bot](https://github.com/danielgross/whatsapp-gpt)
RevoChat
Help businesses effortlessly create and integrate custom chatbots into their websites, enhancing customer service and...
botpress
The open-source hub to build & deploy GPT/LLM Agents ⚡️
awesome-n8n-templates
280+ free n8n automation templates — ready-to-use workflows for Gmail, Telegram, Slack, Discord, WhatsApp, Google Drive, Notion, OpenAI, and more. AI agents, RAG chatbots, email automation, social media, DevOps, and document processing. The largest open-source n8n template collection.
telegram
MCP server: telegram
agent-second-brain
Send voice notes to Telegram → get organized knowledge base, tasks in Todoist, and daily reports. Persistent memory with Ebbinghaus decay, vault health scoring, knowledge graph. Runs on Claude Code + OpenClaw. 5/mo.
Best For
- ✓AI agents and assistants integrated with Telegram workflows
- ✓Notification systems requiring Telegram as a delivery channel
- ✓Teams building Telegram bots with MCP-compatible backends
- ✓AI agents that need to understand recent Telegram conversation context
- ✓Chatbots requiring message history for coherent multi-turn interactions
- ✓Analytics or monitoring systems tracking Telegram channel activity
- ✓Teams deploying Telegram bots in production with low-latency requirements
- ✓Developers building event-driven LLM agents triggered by Telegram messages
Known Limitations
- ⚠Message size limited by Telegram Bot API (4096 characters for text)
- ⚠Media uploads require file size compliance with Telegram limits (up to 50MB for documents)
- ⚠No built-in retry logic for failed deliveries — requires external error handling
- ⚠Formatting support depends on Telegram Bot API version and client capabilities
- ⚠Telegram Bot API limits message history retrieval to recent messages (typically last 100-1000 depending on API version)
- ⚠Cannot retrieve deleted messages or messages from before bot was added to chat
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
Community MCP server for Telegram messaging platform. Enables sending and reading messages, managing chats and channels, handling bot commands, and accessing Telegram Bot API functionality.
Categories
Alternatives to Telegram MCP Server
Search the Supabase docs for up-to-date guidance and troubleshoot errors quickly. Manage organizations, projects, databases, and Edge Functions, including migrations, SQL, logs, advisors, keys, and type generation, in one flow. Create and manage development branches to iterate safely, confirm costs
Compare →AI-optimized web search and content extraction via Tavily MCP.
Compare →Scrape websites and extract structured data via Firecrawl MCP.
Compare →Are you the builder of Telegram MCP Server?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →