mcp-telegram-bot
Enables sending messages, asking questions with waiting for user response, and sending files via Telegram bot.
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 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
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
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
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 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.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to send and receive messages, media, and files on Telegram, and manage chats via a bot token.1737 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send notifications and receive responses via Telegram.37 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Telegram Bot API for sending messages, photos, editing messages, answering callbacks, and fetching updates.MIT
- AlicenseNot gradedqualityCmaintenanceEnables sending Telegram messages, photos, and documents, and retrieving bot information through the Telegram Bot API.635 npm1MIT