qBittorrent MCP Server
This server lets an MCP client control a qBittorrent instance via its WebUI API.
List and filter torrents by state, category, and tag, with sorting
Get detailed properties for a specific torrent by hash
Add torrents from magnet links with optional category, save path, tags, and paused state
Pause, resume, delete, or recheck torrents (individually, by hash list, or all)
View global transfer statistics (speeds, totals, connections, DHT nodes)
Set global download/upload speed limits or toggle alternative speed limits
List torrent categories and assign categories to torrents
Get qBittorrent app/API version and application preferences
Provides tools for managing a qBittorrent instance, including torrent operations (add, pause, resume, delete, recheck), category management, and transfer information.
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., "@qBittorrent MCP Server what are my active torrents?"
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.
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.mjsEnvironment Variables
Variable | Required | Description |
| yes | Base URL of the WebUI, e.g. |
| yes | WebUI login name |
| 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 |
| List torrents with status and stats |
| Detailed properties for a torrent |
| Add a torrent from a magnet link |
| Pause torrent(s) |
| Resume torrent(s) |
| Delete torrent(s) (optionally files) |
| Global transfer statistics |
| Set global download/upload limits |
| Toggle alternative speed limits |
| List categories with save paths |
| Assign a category to torrent(s) |
| Force a hash recheck |
| App and API version |
| 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 toolsqbittorrent_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
Scored across 14 tools
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.
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.
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.
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
Related MCP Connectors
Control your authorized Windows computers via OAuth: files, shell, apps, and task status.
Let AI agents use any website you're logged in to. Sessions stay encrypted on your machine.
Manage repositories, users, releases, and automate GitHub workflows
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA 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-
- 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-
- FlicenseNot gradedqualityDmaintenanceEnables controlling a Transmission torrent daemon, allowing adding, listing, controlling torrents and checking free space, with support for SOCKS5 proxy for remote access.-
- AlicenseAqualityCmaintenanceMCP server exposing qBittorrent's WebUI API v2 as tools, enabling LLMs to manage torrents, categories, tags, RSS feeds, search plugins, and application settings.903MIT