Telegram Delivery MCP
MCP server for delivering Yandex Tracker artifacts to Telegram via a bot service. It works in conjunction with YandexTrackerMCP to send summarized reports and verify delivery.
README
Telegram Delivery MCP
Независимый второй MCP-сервер для задания «День 20. Orchestration MCP».
Сервер отвечает только за Telegram-доставку. Он не ищет задачи самостоятельно:
- агент вызывает
search_tracker_issues,summarize_tracker_issuesиsave_tracker_reportнаYandexTrackerMCP; - получает настоящий
artifact_id; - вызывает
send_tracker_artifactна этом MCP-сервере; - Telegram Delivery MCP внутренним MCP-клиентом получает Markdown из Tracker MCP;
- передаёт документ существующему Telegram bot-service;
- сохраняет доставку в SQLite и возвращает
delivery_id; - агент вызывает
get_delivery_statusперед тем, как сообщить об успехе.
Инструменты
get_telegram_service_status— доступность bot-service и число подписчиков;send_tracker_artifact— получить сохранённый Tracker-артефакт и отправить документ;get_delivery_status— проверить одну доставку по точномуdelivery_id;list_recent_deliveries— последние попытки доставки.
SQLite хранится в data/deliveries.db. Токен Telegram-бота этому MCP не нужен:
сервер использует защищённый внутренний endpoint существующего bot-service.
Локальный запуск
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e ".[dev]"
Copy-Item .env.example .env
Заполните .env, затем:
yandex-tracker-telegram-mcp
Streamable HTTP MCP endpoint:
http://127.0.0.1:8792/mcp
Docker
Для отдельного запуска:
docker compose up -d --build
В общем стеке сервис называется telegram-delivery-mcp. Внутренние адреса:
TRACKER_MCP_URL=http://yandex-tracker-mcp:8788/mcp
TELEGRAM_BOT_SERVICE_URL=http://telegram-bot:8791
TRACKER_MCP_API_KEY должен совпадать с MCP_API_KEY Tracker MCP, а
TELEGRAM_BOT_SERVICE_API_KEY — с BOT_SERVICE_API_KEY Telegram-бота.
Проверка
pytest -q
ruff check .
Сквозной сценарий для двух уже запущенных MCP-серверов:
$env:DAY20_TRACKER_MCP_API_KEY="tracker-mcp-key"
$env:DAY20_DELIVERY_MCP_API_KEY="telegram-delivery-mcp-key"
python scripts/day20_e2e.py
Сценарий проверяет точный порядок:
Tracker/search → Tracker/summarize → Tracker/save
→ Telegram/send → Telegram/verify
Пример запроса агенту:
Найди открытые критические задачи очереди AI, подготовь Markdown-отчёт,
сохрани его, отправь в Telegram и проверь доставку.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.