Telegram Bot MCP Server
Provides 27 tools for interacting with the Telegram Bot API: send text (Markdown/HTML), photos, documents, videos, audio, locations, polls and contacts; edit and delete messages; inspect chats and members and ban/unban users; manage webhooks; answer callback queries; resolve file download URLs and user profile photos; and pin messages or create invite links.
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 (Model Context Protocol) server for Telegram Bot API. Send messages, manage chats, handle webhooks, and more through 27 tools.
Works with Claude Desktop, Cursor, VS Code, and any MCP client.
Quick Start
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"telegram": {
"command": "npx",
"args": ["-y", "@node2flow/telegram-bot-mcp"],
"env": {
"TELEGRAM_BOT_TOKEN": "your-bot-token"
}
}
}
}Cursor / VS Code
Add to MCP settings:
{
"mcpServers": {
"telegram": {
"command": "npx",
"args": ["-y", "@node2flow/telegram-bot-mcp"],
"env": {
"TELEGRAM_BOT_TOKEN": "your-bot-token"
}
}
}
}HTTP Mode (Streamable HTTP)
For remote deployment or shared access:
TELEGRAM_BOT_TOKEN=your_token npx @node2flow/telegram-bot-mcp --httpServer starts on port 3000 (configurable via PORT env var). MCP endpoint: http://localhost:3000/mcp
Related MCP server: tgmcp
Configuration
Environment Variable | Required | Description |
| Yes | Telegram Bot token from @BotFather |
| No | Port for HTTP server (default: |
All Tools (27 tools)
Bot Info (2 tools)
Tool | Description |
| Get bot information |
| Set bot command menu |
Send Messages (8 tools)
Tool | Description |
| Send text with Markdown/HTML formatting |
| Send photo (URL or file_id) |
| Send document/file (max 50MB) |
| Send video (MPEG4, max 50MB) |
| Send audio (MP3/M4A, max 50MB) |
| Send geographic location |
| Send poll (regular or quiz) |
| Send phone contact card |
Edit/Delete (3 tools)
Tool | Description |
| Edit message text |
| Edit media caption |
| Delete a message (48hr limit) |
Chat Management (5 tools)
Tool | Description |
| Get chat details |
| Get member count |
| Get member info |
| Ban user from chat |
| Unban user |
Webhooks (3 tools)
Tool | Description |
| Set webhook URL |
| Remove webhook |
| Get webhook status |
Callbacks & Files (3 tools)
Tool | Description |
| Answer inline button press |
| Get file download URL |
| Get user profile photos |
Pins & Invite Links (3 tools)
Tool | Description |
| Pin a message |
| Unpin a message |
| Create invite link |
Requirements
Node.js 18+
Telegram Bot token
How to Create a Telegram Bot
Open @BotFather on Telegram
Send
/newbotand follow the promptsCopy the token and use it as
TELEGRAM_BOT_TOKEN
For Developers
git clone https://github.com/node2flow-th/telegram-bot-mcp-community.git
cd telegram-bot-mcp-community
npm install
npm run build
# Run in stdio mode
TELEGRAM_BOT_TOKEN=your_token npm start
# Run in dev mode (hot reload)
TELEGRAM_BOT_TOKEN=your_token npm run dev
# Run in HTTP mode
TELEGRAM_BOT_TOKEN=your_token npm start -- --httpLicense
MIT License - see LICENSE
Copyright (c) 2026 Node2Flow
Links
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
Schedule posts, read analytics and manage Telegram channels in TGStudio from any MCP client.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Telegram channel messages, Discord server stats, Twitch, Kick, Medium & Pinterest scraper MCP API.
Telegram channel messages, Discord server stats, Twitch, Kick, Medium & Pinterest scraper MCP API.
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-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Telegram accounts through MCP, supporting messaging, contacts, groups, media, and admin functions.4Apache 2.0
- AlicenseAqualityCmaintenanceExposes the Telegram Bot API as tools for MCP clients, enabling sending messages, photos, polls, and more via a Telegram bot.11MIT
- FlicenseBqualityDmaintenanceEnables MCP clients to interact with Telegram user accounts, providing tools for messaging, contacts, groups, channels, and media management through the Telegram API.853-