Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QBITTORRENT_HOSTNoWebUI address, including protocol and port. Defaults to http://127.0.0.1:8080.http://127.0.0.1:8080
QBITTORRENT_PASSWORDNoWebUI password. Defaults to adminadmin.adminadmin
QBITTORRENT_USERNAMENoWebUI username. Defaults to admin.admin

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
add_torrentB

Add torrent files to qBittorrent

Args: query: Query string containing torrent file path, supports the following formats: 1. JSON string: "{"file_paths": ["path/to/file1.torrent", "path/to/file2.torrent"]}" 2. JSON string: "["path/to/file1.torrent", "path/to/file2.torrent"]" 3. Single file path: "path/to/file.torrent"

Returns: Status and message of the add operation

delete_torrentB

Delete torrents from qBittorrent

Args: hashes: Torrent hash values to delete, multiple hashes separated by |, or use 'all' to delete all torrents delete_files: If True, also delete downloaded files

Returns: Result message of delete operation

pause_torrentB

Pause torrents

Args: hashes: Torrent hash values to pause, multiple hashes separated by |, or use 'all' to pause all torrents

Returns: Result message of pause operation

resume_torrentB

Resume torrents

Args: hashes: Torrent hash values to resume, multiple hashes separated by |, or use 'all' to resume all torrents

Returns: Result message of resume operation

get_torrent_trackersC

Get torrent trackers

Args: hash: Torrent hash value

Returns: String containing tracker information

set_global_download_limitC

Set global download speed limit

Args: limit: Speed limit value, in bytes/second

Returns: Result message of setting speed limit

set_global_upload_limitC

Set global upload speed limit

Args: limit: Speed limit value, in bytes/second

Returns: Result message of setting speed limit

get_application_versionA

Get qBittorrent version

Returns: qBittorrent version

rename_torrentA

Rename a torrent (the name shown in qBittorrent)

Args: hash: Torrent hash value name: New torrent name

Returns: Result message of renaming the torrent

get_torrent_filesA

List files inside a torrent

Args: hash: Torrent hash value

Returns: Formatted list of files with index (used as id for set_file_priority), name (used as old_path for rename_torrent_file), size, progress and priority

rename_torrent_fileB

Rename a file inside a torrent

Args: hash: Torrent hash value old_path: Current file path inside the torrent (relative to the torrent root, get it from the file list) new_path: New file path inside the torrent (relative to the torrent root, keep the same directory structure)

Returns: Result message of renaming the file

rename_torrent_folderA

Rename a folder inside a torrent (requires qBittorrent v4.4.0 or later)

Args: hash: Torrent hash value old_path: Current folder path inside the torrent (relative to the torrent root) new_path: New folder path inside the torrent (relative to the torrent root, keep the same parent directory)

Returns: Result message of renaming the folder

batch_renameA

Rename multiple files and folders inside a torrent in one batch

Args: hash: Torrent hash value renames: JSON array of rename operations, executed sequentially in the given order. Each item: {"old_path": "current/path", "new_path": "new/path", "type": "file" or "folder"} "type" is optional and defaults to "file". Note: renaming a folder changes the paths of everything inside it, so order the operations accordingly.

Returns: Summary with per-item results; a failed item does not stop the rest

set_file_priorityB

Set file priority

Args: hash: Torrent hash value id: correspond to file position inside the array returned by torrent contents API, e.g. id=0 for first file, id=1 for second file, etc. priority: Value Description 0 Do not download 1 Normal priority 6 High priority 7 Maximal priority

Returns: Result message of setting file priority HTTP Status Code Scenario 400 Priority is invalid 400 At least one file id is not a valid integer 404 Torrent hash was not found 409 Torrent metadata hasn't downloaded yet 409 At least one file id was not found 200 All other scenarios

set_torrent_download_limitC

Set torrent download speed limit

Args: hash: Torrent hash value limit: Speed limit value, in bytes/second

Returns: Result message of setting torrent download speed limit

set_torrent_upload_limitC

Set torrent upload speed limit

Args: hash: Torrent hash value limit: Speed limit value, in bytes/second

Returns: Result message of setting torrent upload speed limit

add_trackers_to_torrentC

Add trackers to torrent

Args: hash: Torrent hash value trackers: Tracker URL, multiple URLs separated by %0A

Returns: Result message of adding trackers

add_torrent_tagsB

Add torrent tags

Args: hash: Torrent hash value tags: Tag list, multiple tags separated by comma

Returns: Result message of adding torrent tags

get_torrent_listC

Get torrent list

search_torrentsA

搜索种子

Args: pattern: 搜索关键词 category: 搜索类别 (all, movies, anime, books, tv, software等),默认为all plugins: 搜索插件 (all或特定插件),默认为all max_size_gb: 最大文件大小限制(GB),默认为5GB。结果会过滤掉大于此大小的文件

Returns: 搜索结果的JSON字符串,包含过滤和排序后的top 10结果,按种子数(nbSeeders)降序排列

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 20 tools

Disambiguation4/5

Most tools have clearly distinct resource+action targets, and descriptions clarify the rename tiers (torrent vs file vs folder vs batch) and the four speed-limit tools. The main soft spot is get_torrent_list vs search_torrents, which sound like they both search torrents but actually hit local vs external indexers, and that distinction is buried in a Chinese-only description.

Naming Consistency4/5

Strong, predictable verb_noun snake_case pattern (add_torrent, delete_torrent, pause_torrent, get_torrent_files, set_torrent_download_limit). Minor deviations like add_trackers_to_torrent and the object-order get_torrent_list keep it from a perfect score but remain readable and unambiguous.

Tool Count3/5

20 tools sits in the borderline-heavy band for a single-client integration. There is visible granularity inflation: four speed-limit setters (global/torrent × up/down) and four rename variants where batch_rename already subsumes the file/folder cases.

Completeness3/5

Core lifecycle is covered (add, delete, pause, resume, list, files, trackers, tags, priority, limits, renames), so agents can do the main workflows. But there are notable gaps: no read-back for global/torrent limits, no torrent properties/info endpoint, no category management, and no removal of trackers or tags, which will dead-end common management tasks.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues