downloader-mcp
Read-only monitoring of SABnzbd (usenet) and qBittorrent (torrent) download clients via MCP — no control actions like adding, pausing, or deleting jobs.
SABnzbd queue — view in-progress jobs with speeds and ETAs.
SABnzbd history — list recent completed/failed downloads, newest first, with an optional
limit(1–100, default 20).SABnzbd categories — list configured categories.
SABnzbd version — report SABnzbd version info.
qBittorrent torrent list — list all torrents, optionally filtered by status (all, downloading, completed, paused, active, inactive, resumed).
qBittorrent torrent details — fetch a single torrent by info-hash.
qBittorrent torrent files — list the files inside a given torrent (by info-hash).
qBittorrent transfer info — global speeds, totals, and connection state.
qBittorrent categories — list configured categories.
qBittorrent version — report the qBittorrent application version.
Each client is optional: only configured clients (full URL + API key env pair) register their tools, and at least one client must be configured.
Provides tools for managing torrents, including listing, getting details, viewing files, transfer info, categories, and version info via qBittorrent's Web UI.
Click on "Deploy 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., "@downloader-mcp show me the current download queue"
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.
downloader-mcp
·
claude-fable-5-1 · 2026-10-18 · details
An MCP server for download clients —
SABnzbd (usenet) and qBittorrent (torrents) — packaged as a
Docker container. Companion to media-management MCPs like
servarr-mcp.
Each client is optional: configure only the ones you actually run, and only those tools register.
Tools
SABnzbd (usenet)
Tool | Description |
| Current download queue with speeds and ETAs |
| Recent history (newest first) |
| Configured categories |
| SABnzbd version info |
qBittorrent (torrents)
Tool | Description |
| List torrents, optional status filter |
| Torrent details by info-hash |
| Files inside a torrent |
| Global transfer stats |
| Configured categories |
| qBittorrent application version |
Related MCP server: NZBGet MCP Server
Configuration
Each client requires its full config block to enable; partial config silently disables the client.
Client | Required env vars | Default port |
SABnzbd |
| 8080 |
qBittorrent |
| 8080 |
API keys are found in each app's settings:
SABnzbd: Config → General → API Key
qBittorrent: Tools → Options → Web UI → API Key (requires qBittorrent >= v5.2.0 / WebAPI >= v2.14.1)
Note: SABnzbd and qBittorrent both default to port 8080. If you run both on the same host, remap one of them in its own config.
At least one client must be configured or the server exits with an error.
HTTP transport hardening
When running in HTTP mode (MCP_PORT set), you can enable bearer-token
auth and DNS-rebinding protection with:
Env var | Meaning |
| Shared secret. When set, every |
| Comma-separated bare-hostname Host/Origin allowlist (DNS-rebinding defense; port-independent, bracketed IPv6 like |
The provided Compose deployment requires MCP_ALLOWED_HOSTS so a missing
stack variable cannot silently expose the MCP endpoint to whatever the safe
default admits. MCP_AUTH_TOKEN stays optional even in Compose: if unset,
the server logs a startup warning and leaves /mcp unauthenticated.
Recommended MCP_AUTH_TOKEN: a random secret, e.g. openssl rand -hex 32,
passed by clients as Authorization: Bearer <token>.
Recommended MCP_ALLOWED_HOSTS: the host names/IPs clients actually use to
reach the server — fleet-canonical form is
MCP_ALLOWED_HOSTS=localhost,127.0.0.1,[::1],192.168.1.50,host.docker.internal
(bare hostnames only — a mapped HOST_PORT doesn't need to appear here, and
a host:port entry is now rejected at startup rather than silently ignored).
Run with 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_API_KEY=... \
downloader-mcpPublished image
After each push to main (docs-only changes excluded), GitHub Actions
builds and pushes an image to GHCR:
ghcr.io/carldog/downloader-mcp:latest (linux/amd64 only — every
deployment target is x86-64; see docker-publish.yml for the ARM
tradeoff if that ever changes)
Pull instead of building locally:
docker pull ghcr.io/carldog/downloader-mcp:latest
docker run -i --rm \
-e SABNZBD_URL=... -e SABNZBD_API_KEY=... \
ghcr.io/carldog/downloader-mcp:latestRun with Docker Compose (HTTP, long-lived)
The compose file runs the server in HTTP mode (Streamable HTTP) for
long-lived deployment via Portainer or Compose. It pulls the published
image from ghcr.io/carldog/downloader-mcp:latest.
# Set whichever client credentials apply:
export SABNZBD_URL=http://192.168.1.50:8080; export SABNZBD_API_KEY=...
export QBITTORRENT_URL=http://192.168.1.50:8081
export QBITTORRENT_API_KEY=...
export MCP_AUTH_TOKEN="$(openssl rand -hex 32)"
export MCP_ALLOWED_HOSTS="192.168.1.50"
export HOST_PORT=3003 # optional, defaults to 3003
docker compose upThe MCP endpoint will be at http://<host>:${HOST_PORT}/mcp.
Deploy via Portainer (Stack from Git)
In Portainer, Stacks → Add Stack → Repository.
Repository URL:
https://github.com/CarlDog/downloader-mcpCompose path:
docker-compose.ymlEnvironment variables: set whichever client credentials apply, plus
MCP_AUTH_TOKENandMCP_ALLOWED_HOSTS. Optionally setHOST_PORT.Deploy. Healthcheck reaches green within ~10 seconds.
Use with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"downloader": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "SABNZBD_URL", "-e", "SABNZBD_API_KEY",
"-e", "QBITTORRENT_URL",
"-e", "QBITTORRENT_API_KEY",
"downloader-mcp"
],
"env": {
"SABNZBD_URL": "http://192.168.1.50:8080",
"SABNZBD_API_KEY": "...",
"QBITTORRENT_URL": "http://192.168.1.50:8081",
"QBITTORRENT_API_KEY": "..."
}
}
}
}Drop the -e/env entries for whichever client you don't run.
Local development
npm install
cp .env.example .env # then edit
SABNZBD_URL=... SABNZBD_API_KEY=... npm run devSecurity
Container runs as a non-root user (
mcp).Credentials passed via env vars — never baked into the image.
A
.githooks/pre-commitruns gitleaks (secrets) and a PII pattern check (user-home paths, personal-domain emails). Activate it once per clone: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