Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QBITTORRENT_URLYesThe URL of the qBittorrent WebUI (e.g., http://localhost:8080). Required.
QBITTORRENT_API_KEYNoAPI key for qBittorrent >= v5.2.0. One authentication method is required: either this or username/password.
QBITTORRENT_PASSWORDNoPassword for the qBittorrent WebUI login. Use with QBITTORRENT_USERNAME as the alternative authentication method.
QBITTORRENT_USERNAMENoUsername for the qBittorrent WebUI login. Use with QBITTORRENT_PASSWORD as the alternative authentication method.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
qbittorrent_torrentsA

qbittorrent torrents operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_torrent_contents(hash, indexes='') — Files of one torrent: index, name, size, progress, priority (0 skip, 1 normal, 6 high, 7 maximal), is_seed, piece_range, availability. Pass indexes (pipe-separated) to fetch only those files.

  • qbittorrent_torrent_piece_hashes(hash) — SHA1 hashes of all pieces of one torrent, in order.

  • qbittorrent_torrent_piece_states(hash) — Piece states of one torrent as ints: 0 not downloaded, 1 downloading, 2 downloaded.

  • qbittorrent_torrent_properties(hash) — Generic properties of one torrent: save_path, creation/completion dates, total uploaded/downloaded, seeding_time, share_ratio, speeds, peer counts, isPrivate, etc. 404 if the hash is not found.

  • qbittorrent_torrent_trackers(hash) — Trackers of one torrent: url, status (0 disabled, 1 not contacted yet, 2 working, 3 updating, 4 not working), tier, peer/seed/leech counts, msg.

  • qbittorrent_torrent_web_seeds(hash) — Web seeds of one torrent (array of {url}).

  • qbittorrent_torrents_add(urls='', torrent_b64='', save_path='', category='', tags='', skip_checking=None, paused=None, root_folder=None, rename='', up_limit=None, dl_limit=None, ratio_limit=None, seeding_time_limit=None, auto_tmm=None, sequential_download=None, first_last_piece_prio=None) — Add torrents. urls is one or more http(s)/magnet/bc:// links separated by newlines. Alternatively (or additionally) pass one raw .torrent file base64-encoded in torrent_b64. Optional: save_path, category, tags (comma-separated), skip_checking, paused, root_folder, rename, up_limit / dl_limit (bytes/s), ratio_limit, seeding_time_limit (minutes), auto_tmm, sequential_download, first_last_piece_prio.

  • qbittorrent_torrents_add_peers(hashes, peers) — Add peers to torrents. hashes is pipe-separated or "all"; peers is one or more host:port values separated by a pipe.

  • qbittorrent_torrents_add_trackers(hash, urls) — Add trackers to a torrent. urls is one or more tracker URLs separated by newlines.

  • qbittorrent_torrents_delete(hashes, delete_files=False) — Delete torrents. hashes is pipe-separated or "all". With delete_files=true the downloaded data is deleted from disk too -- this is irreversible.

  • qbittorrent_torrents_edit_tracker(hash, url, new_url) — Replace a tracker URL on a torrent with new_url.

  • qbittorrent_torrents_list(filter='', category='', tag='', sort='', reverse=None, limit=None, offset=None, hashes='') — List torrents matching the given filters. filter is one of all, downloading, seeding, completed, stopped, active, inactive, running, stalled, stalled_uploading, stalled_downloading, errored. category/tag filter by them (empty string = "without category/tag"). sort by any response field; reverse for descending order. limit/offset for paging; hashes (pipe-separated or "all") to select specific torrents.

  • qbittorrent_torrents_pause(hashes) — Pause (stop) torrents. hashes is pipe-separated or "all".

  • qbittorrent_torrents_reannounce(hashes) — Reannounce torrents to their trackers. hashes is pipe-separated or "all".

  • qbittorrent_torrents_recheck(hashes) — Force recheck of torrents. hashes is pipe-separated or "all".

  • qbittorrent_torrents_remove_trackers(hash, urls) — Remove trackers from a torrent. urls is one or more URLs separated by a pipe.

  • qbittorrent_torrents_rename_file(hash, old_path, new_path) — Rename a file inside a torrent (relative paths from the torrent root).

  • qbittorrent_torrents_rename_folder(hash, old_path, new_path) — Rename a folder inside a torrent (relative paths from the torrent root).

  • qbittorrent_torrents_resume(hashes) — Resume (start) torrents. hashes is pipe-separated or "all".

  • qbittorrent_torrents_set_auto_management(hashes, enable) — Enable/disable Automatic Torrent Management for torrents (hashes pipe-separated or "all").

  • qbittorrent_torrents_set_location(hashes, location) — Move torrents to a new download location on disk. hashes is pipe-separated or "all"; location is the destination directory.

  • qbittorrent_torrents_set_name(hash, name) — Rename a torrent (display name only, does not touch files on disk).

qbittorrent_torrent_limitsA

qbittorrent torrent limits operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_torrents_bottom_priority(hashes) — Move torrents to the bottom of the queue. hashes is pipe-separated or "all".

  • qbittorrent_torrents_decrease_priority(hashes) — Decrease queue priority of torrents. hashes is pipe-separated or "all".

  • qbittorrent_torrents_download_limit(hashes) — Per-torrent download speed limits (bytes/s), keyed by hash. hashes is pipe-separated or "all".

  • qbittorrent_torrents_file_priority(hash, id, priority) — Set file priority for a torrent. id is one or more file ids (from qbittorrent_torrent_contents) separated by a pipe; priority is 0 (skip), 1 (normal), 6 (high) or 7 (maximal).

  • qbittorrent_torrents_increase_priority(hashes) — Increase queue priority of torrents. hashes is pipe-separated or "all".

  • qbittorrent_torrents_set_download_limit(hashes, limit) — Set download speed limit (bytes/s) for torrents. hashes is pipe-separated or "all"; limit 0 means no limit.

  • qbittorrent_torrents_set_force_start(hashes, value) — Force-start or un-force-start torrents (hashes pipe-separated or "all").

  • qbittorrent_torrents_set_share_limits(hashes, ratio_limit=-2, seeding_time_limit=-2, inactive_seeding_time_limit=-2) — Set share limits for torrents (hashes pipe-separated or "all"). ratio_limit (share ratio), seeding_time_limit and inactive_seeding_time_limit (minutes). -2 = use global limit, -1 = no limit.

  • qbittorrent_torrents_set_super_seeding(hashes, value) — Enable/disable super seeding for torrents (hashes pipe-separated or "all").

  • qbittorrent_torrents_set_upload_limit(hashes, limit) — Set upload speed limit (bytes/s) for torrents. hashes is pipe-separated or "all"; limit 0 means no limit.

  • qbittorrent_torrents_toggle_first_last_piece_priority(hashes) — Toggle first/last piece priority for torrents (hashes pipe-separated or "all").

  • qbittorrent_torrents_toggle_sequential_download(hashes) — Toggle sequential download mode for torrents (hashes pipe-separated or "all").

  • qbittorrent_torrents_top_priority(hashes) — Move torrents to the top of the queue. hashes is pipe-separated or "all".

  • qbittorrent_torrents_upload_limit(hashes) — Per-torrent upload speed limits (bytes/s), keyed by hash. hashes is pipe-separated or "all".

qbittorrent_rssA

qbittorrent rss operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_rss_add_feed(url, path='') — Add an RSS feed by URL, optionally into a folder path.

  • qbittorrent_rss_add_folder(path) — Create an RSS folder, e.g. "The Pirate Bay\Top100".

  • qbittorrent_rss_items(with_data=None) — All RSS items as a nested object of folder -> feed -> URL. Set with_data to also include current feed articles.

  • qbittorrent_rss_mark_as_read(item_path, article_id='') — Mark an RSS feed as read; pass article_id to mark only one article.

  • qbittorrent_rss_matching_articles(rule_name) — All feed articles matching a rule, as {feed name: [article titles]}.

  • qbittorrent_rss_move_item(item_path, dest_path) — Move or rename an RSS folder/feed from item_path to dest_path.

  • qbittorrent_rss_refresh_item(item_path) — Force-refresh an RSS folder or feed.

  • qbittorrent_rss_remove_item(path) — Remove an RSS folder or feed, e.g. "The Pirate Bay\Top100".

  • qbittorrent_rss_remove_rule(rule_name) — Remove an auto-downloading rule.

  • qbittorrent_rss_rename_rule(rule_name, new_rule_name) — Rename an auto-downloading rule.

  • qbittorrent_rss_rules() — All auto-downloading rules as {name: rule definition}.

  • qbittorrent_rss_set_rule(rule_name, rule_def) — Create or replace an auto-downloading RSS rule. rule_def keys: enabled, mustContain, mustNotContain, useRegex, episodeFilter, smartFilter, previouslyMatchedEpisodes, affectedFeeds, ignoreDays, lastMatch, addPaused, assignedCategory, savePath. e.g. {"enabled": true, "mustContain": "Ubuntu", "affectedFeeds": ["https://example.com/rss"]}

qbittorrent_categories_tagsA

qbittorrent categories tags operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_torrents_add_tags(hashes, tags) — Add tags (comma-separated) to torrents (hashes pipe-separated or "all").

  • qbittorrent_torrents_categories() — All categories as {name: {name, savePath}}.

  • qbittorrent_torrents_create_category(category, save_path='') — Create a category with an optional save_path.

  • qbittorrent_torrents_create_tags(tags) — Create tags. tags is one or more names separated by commas.

  • qbittorrent_torrents_delete_tags(tags) — Delete tags. tags is one or more names separated by commas. Torrents keep their data but lose the deleted tags.

  • qbittorrent_torrents_edit_category(category, save_path) — Change the save_path of an existing category.

  • qbittorrent_torrents_remove_categories(categories) — Remove categories. categories is one or more names separated by newlines. Torrents in a removed category become uncategorized.

  • qbittorrent_torrents_remove_tags(hashes, tags) — Remove tags (comma-separated) from torrents (hashes pipe-separated or "all"). An empty tags value removes all tags from the torrents.

  • qbittorrent_torrents_set_category(hashes, category) — Set the category of torrents. hashes is pipe-separated or "all"; pass an empty category to remove the current category.

  • qbittorrent_torrents_tags() — All tags as a JSON array of strings.

qbittorrent_searchA

qbittorrent search operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_search_delete(id) — Delete a search job and free its results.

  • qbittorrent_search_enable_plugin(names, enable) — Enable or disable search plugins. names is one or more names separated by a pipe.

  • qbittorrent_search_install_plugin(sources) — Install search plugins. sources is one or more URLs or file paths separated by a pipe.

  • qbittorrent_search_plugins() — Installed search plugins: enabled, fullName, name, supportedCategories, url, version.

  • qbittorrent_search_results(id, limit=None, offset=None) — Results of a search job: {results: [{descrLink, fileName, fileSize, fileUrl, nbLeechers, nbSeeders, siteUrl}], status, total}. limit caps the count (0/negative = no limit); negative offset counts back from the end.

  • qbittorrent_search_start(pattern, plugins='enabled', category='all') — Start a search job across the configured plugins and return its id. plugins is plugin names separated by |, or "all"/"enabled". category limits the search (depends on the plugin), or "all".

  • qbittorrent_search_status(id=None) — Status of one search job (id) or all jobs: {id, status: Running|Stopped, total}.

  • qbittorrent_search_stop(id) — Stop a running search job by id.

  • qbittorrent_search_uninstall_plugin(names) — Uninstall search plugins. names is one or more names separated by a pipe.

  • qbittorrent_search_update_plugins() — Update all installed search plugins to their latest versions.

qbittorrent_applicationA

qbittorrent application operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_app_build_info() — Build info: Qt, libtorrent, Boost and OpenSSL versions plus app bitness.

  • qbittorrent_app_default_save_path() — The default save path for new torrents, e.g. C:/Users/me/Downloads.

  • qbittorrent_app_get_cookies() — The cookies qBittorrent sends when downloading .torrent files. Each entry has name/domain/path/value/expirationDate.

  • qbittorrent_app_get_preferences() — All application preferences as a key/value object (locale, limits, paths, WebUI settings, etc). See README for the full field list.

  • qbittorrent_app_set_cookies(cookies) — Replace the cookies used when downloading .torrent files. cookies is a JSON array of {name, domain, path, value, expirationDate} objects.

  • qbittorrent_app_set_preferences(json) — Update application preferences. Pass only the keys you want to change, e.g. {"max_active_downloads": 5, "save_path": "/downloads"}. String values must be quoted; integers and booleans must not.

  • qbittorrent_app_shutdown() — Shut down the qBittorrent application. This stops the whole daemon/WebUI -- use sparingly, it cannot be undone from here.

  • qbittorrent_app_version() — The qBittorrent application version, e.g. v5.0.4.

  • qbittorrent_app_webapi_version() — The WebAPI version implemented by this qBittorrent, e.g. 2.14.1.

qbittorrent_transferB

qbittorrent transfer operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_transfer_ban_peers(peers) — Ban peers. peers is one or more host:port values separated by a pipe, e.g. "1.2.3.4:6881|5.6.7.8:6882".

  • qbittorrent_transfer_download_limit() — Global download speed limit in bytes/s (0 if no limit is applied).

  • qbittorrent_transfer_info() — Global transfer info: download/upload rates and totals, rate limits, DHT nodes and connection status.

  • qbittorrent_transfer_set_download_limit(limit) — Set the global download speed limit in bytes/s (0 removes the limit).

  • qbittorrent_transfer_set_upload_limit(limit) — Set the global upload speed limit in bytes/s (0 removes the limit).

  • qbittorrent_transfer_speed_limits_mode() — 1 if alternative speed limits are enabled, 0 otherwise.

  • qbittorrent_transfer_toggle_speed_limits() — Toggle the alternative speed limits on/off.

  • qbittorrent_transfer_upload_limit() — Global upload speed limit in bytes/s (0 if no limit is applied).

qbittorrent_logA

qbittorrent log operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_log_main(normal=None, info=None, warning=None, critical=None, last_known_id=-1) — The application log as a JSON array of {id, message, timestamp, type}. Filter message classes with normal/info/warning/critical (default true for all). Pass last_known_id to fetch only messages newer than a given id.

  • qbittorrent_log_peers(last_known_id=-1) — Peer-block log entries as a JSON array of {id, ip, timestamp, blocked, reason}. Pass last_known_id to fetch only entries newer than a given id.

qbittorrent_syncA

qbittorrent sync operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_sync_maindata(rid=0) — Differential state snapshot for UI sync. Pass the rid from the previous reply to get only changes; full_update=true means you received everything. Includes torrents, categories, tags and server_state.

  • qbittorrent_sync_torrent_peers(hash, rid=0) — Differential peers data for one torrent. Pass the rid from the previous reply to get only changes.

qbittorrent_authA

qbittorrent auth operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_logout() — Invalidate the current WebUI session. With API-key auth this endpoint is not reachable (API keys cannot interact with /auth/*) and the API will return an error which is surfaced as-is.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation3/5

The dispatcher groups are mostly distinct, but `qbittorrent_torrents`, `qbittorrent_torrent_limits`, and `qbittorrent_categories_tags` all operate on torrents, and the torrent_limits group's sub-tools are confusingly prefixed `qbittorrent_torrents_*`, blurring the boundary. There is also real overlap between `qbittorrent_torrents_list` and `qbittorrent_sync_maindata`, both of which return torrent state; descriptions help but an agent can reasonably pick the wrong one.

Naming Consistency4/5

Sub-tools consistently follow a `qbittorrent_<resource>_<verb_noun>` snake_case pattern with clear getter/setter pairs (e.g. `transfer_download_limit` vs `transfer_set_download_limit`). The top-level dispatchers are bare nouns (`log`, `sync`, `auth`, `torrents`), which is a different convention, and a few sub-tools live under group prefixes that don't match their name (torrent_limits group holding `torrents_*` tools).

Tool Count4/5

The 10 exposed dispatcher tools are a well-scoped surface for a qBittorrent server, and the namespace-grouping is a sensible way to compress a large API. However, the underlying surface is roughly 80 sub-operations, so the effective complexity is high even if the top-level count looks tidy.

Completeness4/5

Coverage is broad: torrent lifecycle (add/delete/pause/resume/recheck/reannounce), per-torrent and global limits, file/folder rename, categories, tags, RSS feeds and rules, search plugins, application preferences, and logs. Minor gaps remain, such as exporting a .torrent file, per-torrent peer listing outside sync, and a single-torrent getter (list/sync serve that role indirectly).

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues