mcp-telegram-notify
Allows sending Telegram messages and scheduling reminders to a specified chat, using a Telegram bot.
Click on "Install 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-notifySchedule a reminder in 20 minutes to drink water."
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.
mcp-telegram-notify
MCP-сервер для уведомлений и напоминаний в Telegram.
Работает с Cursor, Claude Desktop и другими MCP-клиентами. Можно запускать локально (stdio) или в Docker (HTTP).
Возможности
Tool | Описание |
| Мгновенная отправка текста в чат |
| Отложенная отправка через N секунд (хранит задачи в SQLite) |
Транспорты:
stdio,http(Streamable HTTP),sse(legacy)Напоминания переживают рестарт (SQLite + фоновый worker)
Health-check:
GET /healthОпционально: ngrok для публичного HTTPS
Related MCP server: telegram-mcp
Требования
Python 3.12+
Telegram-бот и токен от @BotFather
(Опционально) Docker / Docker Compose
Быстрый старт (локально)
1. Клонируйте репозиторий
git clone https://github.com/<your-username>/mcp-telegram-notify.git
cd mcp-telegram-notify2. Создайте виртуальное окружение
python -m venv .venv
# Windows PowerShell
.\.venv\Scripts\Activate.ps1
# Linux / macOS
source .venv/bin/activate
pip install -r requirements.txt3. Настройте .env
cp .env.example .envОткройте .env и укажите токен:
TELEGRAM_BOT_TOKEN=123456:ABC-DEF...
MCP_TRANSPORT=stdio
LOG_LEVEL=INFO4. Напишите боту /start
В Telegram откройте своего бота и отправьте /start.
Без этого sendMessage вернёт ошибку 403.
5. Узнайте свой chat_id
Напишите боту любое сообщение.
Откройте в браузере:
https://api.telegram.org/bot<ВАШ_ТОКЕН>/getUpdatesНайдите
"chat":{"id": ...}— это вашchat_id.
6. Запуск
Режим разработки (Inspector):
fastmcp dev server.pyОбычный STDIO (для Cursor / Claude Desktop):
python server.pyHTTP-режим (порт 8000):
MCP_TRANSPORT=http
MCP_HOST=127.0.0.1
MCP_PORT=8000python server.pyПроверка:
curl http://127.0.0.1:8000/healthПодключение в Cursor
Добавьте в ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json):
{
"mcpServers": {
"telegram": {
"command": "ABSOLUTE_PATH_TO_PROJECT/.venv/Scripts/python.exe",
"args": ["ABSOLUTE_PATH_TO_PROJECT/server.py"],
"env": {
"TELEGRAM_BOT_TOKEN": "your_bot_token_here",
"MCP_TRANSPORT": "stdio",
"LOG_LEVEL": "INFO"
}
}
}
}На Linux/macOS путь к Python обычно:
ABSOLUTE_PATH_TO_PROJECT/.venv/bin/pythonПосле сохранения: Cursor → Settings → MCP → Reload.
Пример запроса в чате Cursor:
Отправь мне в Telegram через MCP сообщение «Привет!» на chat_id
123456789
Docker
cp .env.example .env
# Заполните TELEGRAM_BOT_TOKEN
# Для Docker оставьте MCP_TRANSPORT=http
docker compose up -d --build
docker compose logs -f telegram-mcpMCP:
http://localhost:8000/mcpHealth:
http://localhost:8000/healthSQLite сохраняется в
./data(том Docker)
ngrok (публичный HTTPS)
Получите токен: https://dashboard.ngrok.com/get-started/your-authtoken
Добавьте в
.env:
NGROK_AUTHTOKEN=your_ngrok_tokenЗапустите:
docker compose up -d --buildУзнайте публичный URL:
браузер: http://localhost:4040
или логи:
docker compose logs ngrok
Endpoint для внешних шлюзов (например Zuplo):
https://<subdomain>.ngrok-free.app/mcpПеременные окружения
Переменная | Описание | По умолчанию |
| Токен бота | обязательно |
|
|
|
| Хост и порт HTTP |
|
| Путь MCP endpoint |
|
| Путь к SQLite |
|
| Интервал worker |
|
| Лимиты задержки |
|
| Уровень логов |
|
| Токен ngrok | опционально |
| Stub монетизации |
|
Полный список — в .env.example.
Структура проекта
mcp-telegram-notify/
├── server.py # MCP-сервер, tools, SQLite, worker
├── requirements.txt
├── .env.example
├── Dockerfile
├── docker-compose.yml
├── .gitignore
├── .dockerignore
├── LICENSE
└── README.mdБезопасность
Не коммитьте
.env, токены бота и ngrok.Файл
.envуже в.gitignore.Токен бота даёт полный доступ к боту — храните его как секрет.
Если токен засветился — перевыпустите через @BotFather (
/revoke).
Устранение неполадок
Симптом | Что проверить |
| Напишите боту |
| Неверный |
Cursor не видит tools | Reload MCP, путь к Python/venv |
Напоминание не пришло | Смотрите логи; worker опрашивает БД каждые 5–10 сек |
Docker | Дождитесь |
Лицензия
MIT — см. LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that enables interaction with Telegram messaging platform, allowing users to retrieve unread messages, fetch entity information, and send messages through natural language interfaces.610
- Alicense-qualityCmaintenanceAn MCP server that enables interaction with Telegram to send, read, and search messages across chats and dialogs. It supports waiting for incoming messages and retrieving conversation history through natural language commands.104MIT
- AlicenseAqualityCmaintenanceMCP server that exposes a Telegram bot, enabling sending messages and retrieving updates through natural language.3MIT
- Alicense-qualityBmaintenanceMCP server that enables Telegram bot interaction via Telegraf, providing tools for sending, replying, reacting, editing, deleting, forwarding messages, and receiving Telegram events over an optional notification channel.852MIT
Related MCP Connectors
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
MCP server for Blockscout
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rizzee/mcp-telegram-notify'
If you have feedback or need assistance with the MCP directory API, please join our Discord server