claude-telegram-interactive-mcp
Enables bidirectional communication between an AI assistant and Telegram, allowing the assistant to send interactive confirmation prompts with inline buttons, receive text or media replies, fetch and download incoming photos/files, and send formatted messages, documents, photos, and videos.
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., "@claude-telegram-interactive-mcp Send a Telegram confirmation with inline buttons to approve the production deploy."
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.
claude-telegram-interactive-mcp
English
claude-telegram-interactive-mcp is an interactive Model Context Protocol (MCP) server designed for Claude Code, Cursor, and other AI coding assistants.
It enables bidirectional communication between your AI assistant and Telegram:
Interactive confirmations with inline buttons or free text (
ask_telegram_confirmation): The assistant asks questions or requests confirmation (diffs, destructive actions, architectural choices) via Telegram inline buttons, free text reply, or attached media instead of terminal prompts.Error Screenshots & Media Group Ingestion (
fetch_telegram_updates): Send error screenshots, logs, documents, and photos directly to the bot. Claude fetches, automatically downloads them to local disk, verifies their context relevance, and fixes the issue.On-demand Long Polling: No background daemon, public IP, webhooks, or open ports required. The polling loop runs only while waiting for user interaction and stops immediately once answered.
Multi-session / Multi-chat parallel support: Multiple questions and chats are multiplexed concurrently without conflicts.
Skills included (
/tg-lite,/tg-full): Ready for skills.sh / Claude Code skills standard.
Features & Tools
❓
ask_telegram_confirmation: Send questions with inline buttons and wait for button click, text reply, or attached files/photos. All incoming media is automatically downloaded to disk.📥
fetch_telegram_updates: On-demand fetch of recent Telegram updates. Automatically downloads sent photos, error screenshots, files, and mediagroups to disk so Claude can inspect them.💬
send_markdown_message_as_telegram_bot: Send HTML/Markdown reports and status updates.📎
send_telegram_document: Send logs, diffs, and large files directly.🖼️
send_telegram_photo& 🎥send_telegram_video: Send screenshots, diagrams, and video demos.⚡ Proxy Support: Native HTTP/HTTPS proxy support (
HTTP_PROXY,HTTPS_PROXY).
Installation & Setup
1. Clone repository & Install dependencies
git clone https://github.com/makarworld/claude-telegram-interactive-mcp.git
cd claude-telegram-interactive-mcp
npm install2. Get Telegram Bot Token & Chat ID
Create a bot using @BotFather and get your
TELEGRAM_BOT_TOKEN.Get your numeric Telegram ID via @userinfobot for
TELEGRAM_CHAT_ID.
3. Configure in Claude Code (~/.claude.json or settings.json)
Add the server to your mcpServers block:
{
"mcpServers": {
"telegram-notifier": {
"command": "node",
"args": ["/absolute/path/to/claude-telegram-interactive-mcp/index.mjs"],
"env": {
"TELEGRAM_BOT_TOKEN": "123456789:ABCdefGhIJKlmNoPQRstuVWXyz",
"TELEGRAM_CHAT_ID": "123456789",
"HTTP_PROXY": "",
"HTTPS_PROXY": ""
}
}
}
}4. Configure in Cursor (.cursor/mcp.json)
{
"mcpServers": {
"telegram-notifier": {
"command": "node",
"args": ["C:/path/to/claude-telegram-interactive-mcp/index.mjs"],
"env": {
"TELEGRAM_BOT_TOKEN": "123456789:ABCdefGhIJKlmNoPQRstuVWXyz",
"TELEGRAM_CHAT_ID": "123456789"
}
}
}
}5. Install Skills (skills.sh / Claude Code)
Copy skills into your Claude skills directory:
# Windows
cp -r skills/* C:/Users/<User>/.claude/skills/
# Linux / macOS
cp -r skills/* ~/.claude/skills/Run
/tg-lite: Enables constant progress and plan streaming to Telegram.Run
/tg-full: Directs all user confirmations and questions exclusively to Telegram inline buttons or text/media responses.
Related MCP server: Telegram Notify MCP Server
Русский
claude-telegram-interactive-mcp — интерактивный MCP-сервер для Claude Code, Cursor и других ИИ-ассистентов.
Превращает Telegram в интерактивный пульт управления агентом с поддержкой приёма скриншотов и медиа:
Интерактивные вопросы и подтверждения (
ask_telegram_confirmation): Бот присылает inline-кнопки прямо в чат Telegram для одобрения диффов, выбора архитектуры или подтверждения действий. Поддерживает ответ текстом или прикреплением файлов/фото.Приём скриншотов ошибок и медиагрупп (
fetch_telegram_updates): Отправляйте в чат боту пачку скриншотов ошибок или файлов. Claude запрашивает обновления через тул, скачивает все фото на диск, лично валидирует их на соответствие задаче и решает проблему.On-demand Long Polling (без постоянного демона): Цикл поллинга запускается только в момент ожидания ответа и завершается сразу после ответа. Не требует белого IP, портов или вебхуков.
Параллельные вопросы из разных чатов: Менеджер ожидания на основе
questionIdподдерживает одновременные запросы без конфликтовoffset.Скиллы в комплекте (
/tg-lite,/tg-full): Полная совместимость со стандартом skills.sh и Claude Code.
Доступные инструменты (Tools)
❓
ask_telegram_confirmation: Отправка вопроса с кнопками и ожидание ответа (клик, текст или файлы/фото). Автоматически скачивает медиа на диск.📥
fetch_telegram_updates: Получение последних входящих сообщений и медиагрупп из чата с автоматической загрузкой картинок и документов на диск.💬
send_markdown_message_as_telegram_bot: Отправка форматированных отчётов (HTML / Markdown).📎
send_telegram_document: Отправка файлов, логов, патчей (с локального диска или по URL).🖼️
send_telegram_photo& 🎥send_telegram_video: Отправка медиафайлов и скриншотов.
Быстрый старт
1. Клонирование и зависимости
git clone https://github.com/makarworld/claude-telegram-interactive-mcp.git
cd claude-telegram-interactive-mcp
npm install2. Создание бота
Создайте бота в @BotFather и скопируйте токен.
Узнайте свой
chat_idчерез @userinfobot.
3. Подключение к Claude Code (~/.claude.json)
{
"mcpServers": {
"telegram-notifier": {
"command": "node",
"args": ["C:/Projects/claude-telegram-interactive-mcp/index.mjs"],
"env": {
"TELEGRAM_BOT_TOKEN": "твой_токен",
"TELEGRAM_CHAT_ID": "твой_chat_id",
"HTTPS_PROXY": "http://user:pass@ip:port"
}
}
}
}4. Подключение скиллов
Скопируйте папку skills/tg-lite и skills/tg-full в ~/.claude/skills/.
/tg-lite— отправка отчетов по каждому плану, шагу и завершению./tg-full— полный интерактивный режим с опросом через inline-кнопки и поддержкой скриншотов/медиа.
Лицензия
MIT License © 2026 makarworld
Available Tools
6 toolsask_telegram_confirmationAsk User Confirmation or Input via TelegramA
Send a question with interactive inline buttons and/or wait for user text or attached file/photo/mediagroup response. Automatically downloads received files to disk and returns their local paths.
Inputs: question (required), chatId, options, parseMode, +1 more.
fetch_telegram_updatesFetch Recent Telegram Updates and MediaA
Poll and retrieve recent messages, photos, error screenshots, files, and mediagroups sent to the bot. Automatically downloads all media to local disk and returns paths.
Inputs: limit, chatId, markAsRead, downloadMedia.
send_markdown_message_as_telegram_botSend Telegram Message in Markdown/HTML formatB
Send a message using Telegram bot in HTML or Markdown format (default: HTML)
Inputs: messageText (required), chatId, parseMode.
send_telegram_documentSend Telegram DocumentB
Send a document/file via Telegram bot (supports local Windows paths and HTTP URLs)
Inputs: document (required), chatId, caption, filename, +1 more.
send_telegram_photoSend Telegram PhotoA
Send a photo/image via Telegram bot (supports local Windows paths and HTTP URLs)
Inputs: photo (required), chatId, caption, parseMode.
send_telegram_videoSend Telegram VideoA
Send a video via Telegram bot (supports local Windows paths and HTTP URLs)
Inputs: video (required), chatId, caption, filename, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct purpose: sending different media types, sending text, asking for interactive input, and fetching updates. No overlapping functionality causes confusion; the boundaries are clear.
All tools use snake_case with a verb-first pattern (send_*, ask_*, fetch_*). Even the longer 'send_markdown_message_as_telegram_bot' follows the same convention, making the set predictable and easy to scan.
With 6 tools, the server is well-scoped for Telegram bot interaction. Each tool covers a core operation without redundancy, and the count is neither sparse nor overwhelming.
The set covers sending text, documents, photos, videos, interactive confirmations, and fetching updates. It lacks some capabilities like editing messages or sending audio, but the core lifecycle of sending and receiving is fully covered.
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.
Post messages from any AI assistant to your Telegram chats, groups and channels (invite-only).
1Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables remote control of AI coding assistants (Claude Code/Codex) via Telegram, allowing you to manage long-running tasks, send commands, and receive notifications from anywhere. Supports unattended mode with smart polling for up to 7 days and multi-session management.813 PyPI30MIT
- AlicenseNot gradedqualityDmaintenanceConnects VS Code Copilot to Telegram for mobile notifications, interactive approval workflows, and remote command input. Enables users to monitor AI agents, approve sensitive operations, and provide follow-up instructions from their smartphone.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to autonomously interact with, test, click inline buttons on, and verify Telegram bots end-to-end via MTProto.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Cursor agents to ask questions and send notifications to a user via Telegram, and to require Allow/Deny approval for dangerous shell commands through Cursor hooks.1MIT