mcp-telegram-bot
Enables sending messages, asking questions with waiting for user response, and sending files via Telegram bot.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-telegram-botask the team for today's update"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Telegram Bot MCP Server
MCP server for sending messages and asking questions through Telegram bot.
Features
ask(questionText) - Send question to Telegram chat and wait for user response (accepts text messages, captions, or returns description of media files)
send(textMessage) - Send message to Telegram chat
sendFile(path) - Send file to Telegram chat
Related MCP server: Telegram MCP Server
Setup
Get Chat ID:
TELEGRAM_BOT_TOKEN=your_token npm run get-chat-idSend message to your bot/group and copy the Chat ID from console.
Test server:
npm run dev
MCP Configuration
Add to your MCP client configuration:
{
"mcpServers": {
"telegram-bot": {
"command": "npx",
"args": ["tsx", "/home/user/mcp-servers/mcp-telegram-bot/src/server.ts", "--timeout", "10"],
"env": {
"TELEGRAM_BOT_TOKEN": "your_bot_token_here",
"TELEGRAM_CHAT_ID": "your_chat_id_here"
}
}
}
}Command Line Arguments
--timeout <minutes>- Timeout in minutes for waiting user response (default: 10)
Environment Variables
TELEGRAM_BOT_TOKEN- Your Telegram bot token from @BotFatherTELEGRAM_CHAT_ID- Target chat ID where messages will be sent
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Telegram drafts, media, schedules and publications from AI clients.
Telegram CRM: manage contacts, conversations, tickets, campaigns and analytics.
Run a Telegram channel from your AI agent. Posts go out through your own bot, not your account.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to send and receive messages, media, and files on Telegram, and manage chats via a bot token.17MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Telegram Bot API, allowing them to send messages, forward messages, get bot information, and receive updates.11 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send notifications and receive responses via Telegram.29 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Telegram Bot API for sending messages, photos, editing messages, answering callbacks, and fetching updates.MIT