Skip to main content
Glama
qBittorrent MCP Server

qBittorrent MCP Server

by mattmaas

qBittorrent MCP Server

An MCP server for controlling a qBittorrent instance through its WebUI API, using cookie-session auth. Covers torrents, categories, and transfer data.

Requirements

  • Node.js 20+

  • A running qBittorrent WebUI

Related MCP server: qBittorrent MCP Server

Install

git clone https://github.com/mattmaas/qbittorrent-mcp.git
cd qbittorrent-mcp
npm install
npm start         # node server.mjs

Environment Variables

Variable

Required

Description

QBITTORRENT_URL

yes

Base URL of the WebUI, e.g. http://localhost:8080

QBITTORRENT_USERNAME

yes

WebUI login name

QBITTORRENT_PASSWORD

yes

WebUI password

MCP Client Configuration

Add this server to your MCP client's config:

{
  "mcpServers": {
    "qbittorrent": {
      "command": "node",
      "args": ["<path>/qbittorrent-mcp/server.mjs"],
      "env": {
        "QBITTORRENT_URL": "http://localhost:8080",
        "QBITTORRENT_USERNAME": "admin",
        "QBITTORRENT_PASSWORD": "your-password"
      }
    }
  }
}

Tools

Tool

Description

qbittorrent_get_torrents

List torrents with status and stats

qbittorrent_get_torrent_info

Detailed properties for a torrent

qbittorrent_add_torrent_magnet

Add a torrent from a magnet link

qbittorrent_pause_torrents

Pause torrent(s)

qbittorrent_resume_torrents

Resume torrent(s)

qbittorrent_delete_torrents

Delete torrent(s) (optionally files)

qbittorrent_get_transfer_info

Global transfer statistics

qbittorrent_set_speed_limits

Set global download/upload limits

qbittorrent_toggle_alt_speed

Toggle alternative speed limits

qbittorrent_get_categories

List categories with save paths

qbittorrent_set_torrent_category

Assign a category to torrent(s)

qbittorrent_recheck_torrents

Force a hash recheck

qbittorrent_get_app_version

App and API version

qbittorrent_get_preferences

Application settings

Usage

Ask your agent, for example:

  • "What's downloading right now?" → qbittorrent_get_torrents(filter="downloading")

  • "Add this magnet and tag it 'linux'" → qbittorrent_add_torrent_magnet(magnet="magnet:?...", tags="linux")

  • "Throttle uploads to 1 MB/s" → qbittorrent_set_speed_limits(upload_limit=1048576)

License

MIT

Available Tools

14 tools
qbittorrent_add_torrent_magnetC

Add a torrent from a magnet link.

Inputs: magnet (required), tags, paused, category, +1 more.

qbittorrent_delete_torrentsC

Delete one or more torrents. Optionally also delete downloaded files.

Inputs: hashes (required), delete_files.

qbittorrent_get_app_versionA

Get the qBittorrent application version and API version.

Inputs: no named parameters.

qbittorrent_get_categoriesA

List all torrent categories with their save paths.

Inputs: no named parameters.

qbittorrent_get_preferencesB

Get qBittorrent application settings (save path, speed limits, connection settings, etc.).

Inputs: no named parameters.

qbittorrent_get_torrent_infoB

Get detailed properties for a specific torrent by hash.

Inputs: hash (required).

qbittorrent_get_torrentsA

List all torrents with status, progress, speed, seeds, and peers. Optionally filter by state (downloading, uploading, paused, completed, active, inactive, stalled, error).

Inputs: tag, sort, filter, category.

qbittorrent_get_transfer_infoA

Get global transfer statistics: download/upload speeds, session and all-time totals, connection count, DHT nodes.

Inputs: no named parameters.

qbittorrent_pause_torrentsB

Pause one or more torrents. Use 'all' to pause everything.

Inputs: hashes (required).

qbittorrent_recheck_torrentsB

Force a hash recheck on one or more torrents.

Inputs: hashes (required).

qbittorrent_resume_torrentsB

Resume one or more paused torrents. Use 'all' to resume everything.

Inputs: hashes (required).

qbittorrent_set_speed_limitsB

Set global download and/or upload speed limits. Pass 0 to remove a limit.

Inputs: upload_limit, download_limit.

qbittorrent_set_torrent_categoryB

Assign a category to one or more torrents.

Inputs: hashes (required), category (required).

qbittorrent_toggle_alt_speedB

Toggle the alternative (throttled) speed limits on or off.

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 14 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_torrent_info vs get_torrents (single vs list), pause/resume/delete are separate actions, and global settings tools are unique. No two tools could be confused for the same operation.

    Naming Consistency5/5

    All tools follow a strict qbittorrent_verb_noun pattern (e.g., get_torrent_info, add_torrent_magnet, set_speed_limits). The prefix is uniform and action verbs are consistent throughout.

    Tool Count5/5

    14 tools is well-scoped for a BitTorrent client: core torrent lifecycle (add, pause, resume, delete, recheck), querying, categories, and global settings. No tool feels redundant or missing for the stated purpose.

    Completeness4/5

    Covers torrent CRUD, state control, categories, speed limits, and app info/preferences. Minor gaps exist: no tool to add a torrent from a .torrent file (only magnet), no category creation/deletion, and no preference setting (only get). These are workaroundable but noticeable.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A service that provides programmatic access to qBittorrent's WebUI API, enabling management of torrents, trackers, tags, speed controls, and system information through natural language.
      29
      -
    • 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
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables controlling a Transmission torrent daemon, allowing adding, listing, controlling torrents and checking free space, with support for SOCKS5 proxy for remote access.
      -
    • A
      license
      A
      quality
      C
      maintenance
      MCP server exposing qBittorrent's WebUI API v2 as tools, enabling LLMs to manage torrents, categories, tags, RSS feeds, search plugins, and application settings.
      90
      3
      MIT