Telegram Cloud MCP
Provides text-to-speech for Telegram voice notes, using ElevenLabs as the primary TTS provider when configured.
Provides fallback text-to-speech for Telegram voice notes when ElevenLabs is not configured.
Enables AI assistants to interact with Telegram via bots, including sending text messages, photos, videos, audio, GIFs, documents, and voice notes, as well as retrieving bot information, updates, and chat details.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Telegram Cloud MCP
A Cloudflare Worker that provides MCP (Model Context Protocol) integration for Telegram, enabling AI assistants to send messages, media, and voice notes via Telegram bots.
v3.0 — Media Support
Send photos, videos, audio, GIFs, and documents alongside text and voice. Every media tool supports URL-based sending, captions, and reply threading.
v2.0 introduced multi-companion routing — one worker, unlimited bots. Every tool takes a companion parameter that maps to a per-companion bot token.
Single-bot setups still work — just configure one companion.
Related MCP server: Telegram Channel MCP Server
Features
Send text messages to Telegram chats
Send photos with inline preview
Send videos with inline player
Send audio with music player widget (title + artist)
Send GIFs/animations
Send documents/files as attachments
Send voice notes with text-to-speech (ElevenLabs or OpenAI)
Get bot information, retrieve updates, inspect chats
Multi-companion routing — one worker, unlimited bots
Tools
All tools accept a companion parameter to select which bot acts.
Tool | Description |
| Send a text message to a chat |
| Send a voice note (TTS) to a chat |
| Send a photo (URL or file_id) with optional caption |
| Send a video with inline player |
| Send audio with music player (title + artist) |
| Send a GIF/animation |
| Send any file as an attachment |
| Get bot information |
| Get recent messages and updates |
| Get information about a chat |
Setup
1. Create Telegram Bot(s)
Message @BotFather on Telegram
Send
/newbotand follow the promptsSave the bot token you receive
Repeat for each companion you want
2. Configure Secrets
Set per-companion bot tokens as Cloudflare secrets:
# Per-companion tokens (add as many as you need)
wrangler secret put TELEGRAM_TOKEN_KAI
wrangler secret put TELEGRAM_TOKEN_LUCIAN
wrangler secret put TELEGRAM_TOKEN_AUREN
# ... etc
# Legacy single-bot fallback (maps to first companion)
wrangler secret put TELEGRAM_BOT_TOKEN
# Optional voice
wrangler secret put ELEVENLABS_API_KEY
wrangler secret put ELEVENLABS_VOICE_ID
wrangler secret put OPENAI_API_KEY
# Access gate for /mcp + /sse — SET THIS, or anyone with the worker URL can
# send Telegram as your companions. Then send it: Authorization: Bearer <MCP_KEY>
wrangler secret put MCP_KEYCustomizing companion names: Edit the COMPANIONS array and getTokenForCompanion() in src/index.ts to match your companion names and token env vars.
For local development, create a .dev.vars file:
TELEGRAM_TOKEN_KAI=your_token_here
TELEGRAM_TOKEN_LUCIAN=your_token_here3. Deploy
npm install
npm run deployEndpoints
Endpoint | Method | Description |
| GET | Service info, configured companions, available tools |
| GET | Health check |
| POST | MCP JSON-RPC endpoint |
| GET | MCP SSE endpoint for client discovery |
MCP Client Configuration
Add to your MCP client config:
{
"mcpServers": {
"telegram": {
"type": "http",
"url": "https://your-worker.workers.dev/mcp"
}
}
}Media Sending
All media tools accept a URL or Telegram file_id as the media source. This means you can send:
Images from any public URL (e.g., from an image generation API)
Videos, audio, or documents hosted anywhere
Previously sent Telegram media by reusing its
file_id
Captions support Markdown formatting.
Voice Notes
Voice notes use ElevenLabs as the primary TTS provider, falling back to OpenAI if ElevenLabs is not configured. If neither is configured, voice commands will return an error with details.
Note: ElevenLabs free tier may be blocked when called from Cloudflare Workers due to shared IP detection. Self-hosted TTS or a paid ElevenLabs plan resolves this.
License
MIT
Support
If this helped you, consider supporting my work :)
Built by the Triad (Mai, Kai Stryder and Lucian Vale) for the community.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Let AI assistants post to your Telegram chats, groups and channels. Not affiliated with Telegram.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Send AI results to Telegram as private notifications or channel posts. No copy-pasting - connect your Telegram account and publish directly from AI assistants.
Publish and schedule Telegram channel posts from your AI assistant.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to send messages and interact with Telegram chats through MCP tools, with support for user management, conversation history, and bot command handling.1-
- FlicenseNot gradedqualityDmaintenanceEnables sending messages to Telegram channels via MCP protocol, integrating with AI assistants for automated messaging.7-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Telegram accounts through MCP, supporting messaging, contacts, groups, media, and admin functions.4Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Telegram Bot API, allowing them to send messages, forward messages, get bot information, and receive updates.3MIT