Skip to main content
Glama
downloader-mcp

downloader-mcp

by CarlDog

downloader-mcp

MCP-сервер (MCP) для клиентов загрузки — SABnzbd (usenet) и qBittorrent (торренты) — упакованный в виде Docker-контейнера. Дополнение к MCP для управления медиа, таким как servarr-mcp.

Каждый клиент является опциональным: настройте только те, которые вы действительно используете, и будут зарегистрированы только соответствующие инструменты.

Инструменты

SABnzbd (usenet)

Инструмент

Описание

sabnzbd_queue

Текущая очередь загрузки со скоростями и временем завершения

sabnzbd_history

Недавняя история (сначала новые)

sabnzbd_categories

Настроенные категории

sabnzbd_version

Информация о версии SABnzbd

qBittorrent (торренты)

Инструмент

Описание

qbittorrent_list_torrents

Список торрентов, опциональный фильтр по статусу

qbittorrent_get_torrent

Детали торрента по info-hash

qbittorrent_torrent_files

Файлы внутри торрента

qbittorrent_transfer_info

Глобальная статистика передачи

qbittorrent_categories

Настроенные категории

qbittorrent_version

Версия приложения qBittorrent

Related MCP server: NZBGet MCP Server

Конфигурация

Для включения каждого клиента требуется полный блок конфигурации; частичная конфигурация молча отключает клиента.

Клиент

Обязательные переменные окружения

Порт по умолчанию

SABnzbd

SABNZBD_URL, SABNZBD_API_KEY

8080

qBittorrent

QBITTORRENT_URL, QBITTORRENT_USERNAME, QBITTORRENT_PASSWORD

8080

API-ключи / учетные данные находятся в настройках каждого приложения:

  • SABnzbd: Config → General → API Key

  • qBittorrent: Tools → Options → Web UI (пользователь по умолчанию admin)

Примечание: SABnzbd и qBittorrent по умолчанию используют порт 8080. Если вы запускаете оба на одном хосте, переназначьте один из них в его собственной конфигурации.

Должен быть настроен хотя бы один клиент, иначе сервер завершит работу с ошибкой.

Запуск с помощью Docker

docker build -t downloader-mcp .
docker run -i --rm \
  -e SABNZBD_URL=http://192.168.1.50:8080 -e SABNZBD_API_KEY=... \
  -e QBITTORRENT_URL=http://192.168.1.50:8081 \
  -e QBITTORRENT_USERNAME=admin -e QBITTORRENT_PASSWORD=... \
  downloader-mcp

Использование с Claude Desktop

Добавьте в ваш claude_desktop_config.json:

{
  "mcpServers": {
    "downloader": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "SABNZBD_URL", "-e", "SABNZBD_API_KEY",
        "-e", "QBITTORRENT_URL",
        "-e", "QBITTORRENT_USERNAME", "-e", "QBITTORRENT_PASSWORD",
        "downloader-mcp"
      ],
      "env": {
        "SABNZBD_URL": "http://192.168.1.50:8080",
        "SABNZBD_API_KEY": "...",
        "QBITTORRENT_URL": "http://192.168.1.50:8081",
        "QBITTORRENT_USERNAME": "admin",
        "QBITTORRENT_PASSWORD": "..."
      }
    }
  }
}

Удалите записи -e/env для того клиента, которого вы не используете.

Локальная разработка

npm install
cp .env.example .env  # then edit
SABNZBD_URL=... SABNZBD_API_KEY=... npm run dev

Безопасность

  • Контейнер запускается от имени пользователя без прав root (mcp).

  • Учетные данные передаются через переменные окружения — они никогда не вшиваются в образ.

  • .githooks/pre-commit запускает gitleaks (поиск секретов) и проверку шаблонов PII (пути к домашним папкам пользователей, личные доменные адреса электронной почты). Активируйте его один раз для каждого клона: git config core.hooksPath .githooks.

Available Tools

10 tools
qbittorrent_categoriesqBittorrent: CategoriesA

List configured qBittorrent categories.

Inputs: no named parameters.

qbittorrent_get_torrentqBittorrent: Get TorrentB

Get details for a single torrent by info-hash.

Inputs: hash (required).

qbittorrent_list_torrentsqBittorrent: List TorrentsA

List torrents, optionally filtered by status (all, downloading, completed, paused, active, inactive, resumed).

Inputs: filter.

qbittorrent_torrent_filesqBittorrent: Torrent FilesB

List the files inside a torrent.

Inputs: hash (required).

qbittorrent_transfer_infoqBittorrent: Transfer InfoA

Get global transfer statistics (current speeds, totals, connection state).

Inputs: no named parameters.

qbittorrent_versionqBittorrent: VersionA

Get qBittorrent application version.

Inputs: no named parameters.

sabnzbd_categoriesSABnzbd: CategoriesA

List configured SABnzbd categories.

Inputs: no named parameters.

sabnzbd_historySABnzbd: HistoryB

Get recent SABnzbd download history (newest first).

Inputs: limit.

sabnzbd_queueSABnzbd: QueueA

Get the current SABnzbd download queue (in-progress jobs, speeds, ETAs).

Inputs: no named parameters.

sabnzbd_versionSABnzbd: VersionA

Get SABnzbd version info.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 10 tools

    Disambiguation5/5

    Every tool is clearly distinguished by its client prefix (qbittorrent_ vs sabnzbd_) and specific action, with no overlap in functionality between tools.

    Naming Consistency5/5

    All tools use a consistent snake_case client_verb_noun pattern, making it easy to predict tool names and purposes.

    Tool Count5/5

    10 tools is well-scoped for a server supporting two download clients, covering essential query operations without unnecessary bloat.

    Completeness3/5

    While query operations are well-covered (list, get, categories, etc.), the server lacks mutation commands like add, remove, or pause torrents/jobs, which are expected for a downloader tool.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables interaction with qBittorrent through its Web API to search for torrents using search plugins and manage downloads. Supports torrent searching, downloading via URLs/magnet links, and torrent management operations like pause, resume, and delete.
      7
      3
      -
    • A
      license
      C
      quality
      D
      maintenance
      Enables users to control and monitor NZBGet Usenet downloads through natural language using MCP-compatible clients. It provides 17 tools for managing download queues, tracking history, and adjusting server settings like speed limits.
      15
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables managing a SABnzbd Usenet downloader through natural language, including queue control, history browsing, adding downloads, and speed adjustment.
      21
      3
      ISC