telegram-mcp
Allows interaction with the Telegram Bot API, providing tools for sending messages and photos, fetching updates, answering callback queries, and editing messages.
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-mcp
Dedalus MCP server for Telegram Bot API workflows. It exposes bot identity, message sending, photo sending, update polling, callback answers, and message editing.
Tools
get_me- Get bot identity.send_message- Send a text message to a chat.send_photo- Send a photo by URL or file ID.get_updates- Fetch bot updates.answer_callback_query- Respond to an inline keyboard callback query.edit_message_text- Edit a bot message.
Related MCP server: Telegram Bot MCP Server
Safety Notes
send_message, send_photo, answer_callback_query, and edit_message_text are user-visible. They can contact real Telegram users or groups and may trigger notifications. Confirm chat_id, message_id, callback IDs, and message contents before calling write tools.
Telegram bot tokens grant control of the bot. Do not commit tokens or chat exports.
Important DAuth Limitation
Telegram's official Bot API requires the token in the request URL:
https://api.telegram.org/bot<TOKEN>/<method>dedalus_mcp 0.7.0 Connection supports secret injection into HTTP headers, not URL path templating. This repository still declares a DAuth connection named telegram-mcp with secret key TELEGRAM_BOT_TOKEN, but the implemented HTTP calls use a server-side TELEGRAM_BOT_TOKEN environment variable until path-secret support is available.
This means the current code is best deployed as a Type 2/3 server with a server or required credential environment value, not as a fully isolated path-templated DAuth server. Revisit this once Dedalus supports path credential templating for Telegram.
Environment
TELEGRAM_BOT_TOKEN=123456:ABC-DEF...
DEDALUS_AS_URL=https://as.dedaluslabs.aiFor _client.py:
DEDALUS_API_KEY=dsk-live-...
DEDALUS_API_URL=https://api.dedaluslabs.ai
DEDALUS_MCP_SERVER=dedalus-labs/telegram-mcp
TELEGRAM_TEST_CHAT_ID=...
TELEGRAM_TEST_MESSAGE_ID=...
TELEGRAM_TEST_CALLBACK_QUERY_ID=...Run Locally
uv run python src/main.pyIn another terminal:
MCP_SERVER_URL=http://127.0.0.1:8080/mcp uv run python src/_client.pyThe client calls every tool. It intentionally includes write calls, so use a safe test chat.
Deploy
Publish as dedalus-labs/telegram-mcp, configure TELEGRAM_BOT_TOKEN securely, deploy, then run:
DEDALUS_MCP_SERVER_ONLY=1 DEDALUS_MCP_SERVER=dedalus-labs/telegram-mcp uv run python src/_client.pyTool 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
Read chats and members; send, edit and delete messages with a bot in Telegram.
Let AI assistants post to your Telegram chats, groups and channels. Not affiliated with Telegram.
Telegram bots in one click, emoji and sticker packs, and search across Telegram channels and apps.
Telegram: FASTEST real time Telegram API. Retrieve channel's info and messages in milliseconds..
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Telegram Bot API, allowing them to send messages, forward messages, get bot information, and receive updates.13 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables sending Telegram messages, photos, and documents, and retrieving bot information through the Telegram Bot API.620 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables sending messages, asking questions, and sending files through a Telegram bot.490 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables LLM clients to send messages, read recent messages, and retrieve chat information through the Telegram Bot API.-