app-automationfile-systems
366 查看 · 2026-07-07 更新
qBittorrent MCP Service
qBittorrent MCP is a service based on FastMCP, providing functional interfaces for interacting with the qBittorrent WebUI API.
Feature List
The service provides the following features:
Torrent Management
add_torrent: Add a torrent file to qBittorrentdelete_torrent: Delete a specified torrent (optionally delete files as well)pause_torrent: Pause a torrent downloadresume_torrent: Resume a torrent downloadget_torrent_list: Get a list of all torrents
Trackers and Tags
get_torrent_trackers: Get the list of trackers for a torrentadd_trackers_to_torrent: Add new trackers to a torrentadd_torrent_tags: Add tags to a torrent
Speed and Priority Control
set_global_download_limit: Set the global download speed limitset_global_upload_limit: Set the global upload speed limitset_torrent_download_limit: Set the download speed limit for a specific torrentset_torrent_upload_limit: Set the upload speed limit for a specific torrentset_file_priority: Set the download priority for specific files
System Information
get_application_version: Get the qBittorrent application version
Configuration
The service uses the following configuration parameters:
DEFAULT_HOST: The host address of the qBittorrent WebUIDEFAULT_USERNAME: The username for the qBittorrent WebUIDEFAULT_PASSWORD: The password for the qBittorrent WebUI
Usage
-
Ensure that the required dependencies are installed:
pip install httpx mcp
-
Run the MCP service:
python main.py
Development
The service is divided into two main files:
main.py: Defines the MCP service interface and configuration parametersapi.py: Implements the interaction logic with the qBittorrent WebUI json "mcp_servers": [ { "command": "uv", "args": [ "--directory", "/workspace/PC-Canary/apps/qBittorrent/qbittorrent_mcp", "run", "qbittorrent.py" ] } ]
来源
- 来源:github
- 链接:https://github.com/pickpppcc/qbittorrent-mcp