downloader-mcp
downloader-mcp
一个用于下载客户端的 MCP 服务器 —— SABnzbd (usenet) 和 qBittorrent (torrents) —— 打包为 Docker 容器。它是媒体管理 MCP(如 servarr-mcp)的配套工具。
每个客户端都是可选的:仅配置您实际运行的客户端,系统将仅注册这些工具。
工具
SABnzbd (usenet)
工具 | 描述 |
| 当前下载队列,包含速度和预计完成时间 |
| 最近历史记录(最新优先) |
| 已配置的分类 |
| SABnzbd 版本信息 |
qBittorrent (torrents)
工具 | 描述 |
| 列出种子,支持可选的状态筛选 |
| 按 info-hash 获取种子详情 |
| 种子内的文件 |
| 全局传输统计信息 |
| 已配置的分类 |
| qBittorrent 应用程序版本 |
Related MCP server: NZBGet MCP Server
配置
每个客户端都需要完整的配置块才能启用;部分配置将静默禁用该客户端。
客户端 | 所需环境变量 | 默认端口 |
SABnzbd |
| 8080 |
qBittorrent |
| 8080 |
API 密钥/凭据可在每个应用程序的设置中找到:
SABnzbd: 配置 → 常规 → API 密钥
qBittorrent: 工具 → 选项 → 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 toolsqbittorrent_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
Scored across 10 tools
Every tool is clearly distinguished by its client prefix (qbittorrent_ vs sabnzbd_) and specific action, with no overlap in functionality between tools.
All tools use a consistent snake_case client_verb_noun pattern, making it easy to predict tool names and purposes.
10 tools is well-scoped for a server supporting two download clients, covering essential query operations without unnecessary bloat.
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
Related MCP Connectors
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables 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.73-
- AlicenseCqualityDmaintenanceEnables 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.151MIT
- AlicenseAqualityCmaintenanceEnables managing a SABnzbd Usenet downloader through natural language, including queue control, history browsing, adding downloads, and speed adjustment.213ISC
- AlicenseBqualityDmaintenanceEnables control and management of a self-hosted media stack (Radarr, Sonarr, Prowlarr, SABnzbd, qBittorrent) through natural language via MCP.15GPL 3.0