Telegram Delivery MCP

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.

Category
Visit Server

README

Telegram Delivery MCP

Независимый второй MCP-сервер для задания «День 20. Orchestration MCP».

Сервер отвечает только за Telegram-доставку. Он не ищет задачи самостоятельно:

  1. агент вызывает search_tracker_issues, summarize_tracker_issues и save_tracker_report на YandexTrackerMCP;
  2. получает настоящий artifact_id;
  3. вызывает send_tracker_artifact на этом MCP-сервере;
  4. Telegram Delivery MCP внутренним MCP-клиентом получает Markdown из Tracker MCP;
  5. передаёт документ существующему Telegram bot-service;
  6. сохраняет доставку в SQLite и возвращает delivery_id;
  7. агент вызывает 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured