qBittorrent MCP 服务
qBittorrent MCP 是一个基于 FastMCP 的服务,提供了与 qBittorrent WebUI API 交互的功能接口。
功能列表
该服务提供了以下功能:
种子管理
add_torrent: 添加种子文件到 qBittorrentdelete_torrent: 删除指定种子(可选同时删除文件)pause_torrent: 暂停种子下载resume_torrent: 恢复种子下载get_torrent_list: 获取所有种子列表
跟踪器与标签
get_torrent_trackers: 获取种子的跟踪器列表add_trackers_to_torrent: 向种子添加新的跟踪器add_torrent_tags: 为种子添加标签
速度与优先级控制
set_global_download_limit: 设置全局下载速度限制set_global_upload_limit: 设置全局上传速度限制set_torrent_download_limit: 设置特定种子的下载速度限制set_torrent_upload_limit: 设置特定种子的上传速度限制set_file_priority: 设置特定文件的下载优先级
系统信息
get_application_version: 获取qBittorrent应用程序版本
配置
服务使用以下配置参数:
DEFAULT_HOST: qBittorrent WebUI的主机地址DEFAULT_USERNAME: qBittorrent WebUI用户名DEFAULT_PASSWORD: qBittorrent WebUI密码
使用方法
-
确保已安装所需依赖:
pip install httpx mcp -
运行MCP服务:
python main.py
开发
服务分为两个主要文件:
main.py: 定义MCP服务接口和配置参数api.py: 实现与qBittorrent WebUI的交互逻辑
"mcp_servers": [
{
"command": "uv",
"args": [
"--directory",
"/workspace/PC-Canary/apps/qBittorrent/qbittorrent_mcp",
"run",
"qbittorrent.py"
]
}
]
Metadata
Release files for iflow-mcp_qbittorrent-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_qbittorrent_mcp-0.1.0.tar.gz | 7.8 kB | Without provenance | Details for iflow_mcp_qbittorrent_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_qbittorrent_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_qbittorrent_mcp-0.1.0-py3-none-any.whl |
Total release size: 17.7 kB
Release files / iflow_mcp_qbittorrent_mcp-0.1.0.tar.gz
| Download URL | iflow_mcp_qbittorrent_mcp-0.1.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bd455bec58a8c86af5aa5647cc6af9c2876651187b21debb27fff065807cb28
|
|
BLAKE2b-256 checksum How to use checksums |
0dd59adf5eeb7eadcef087e9352da5f6634fa0c6847891b86dafbce1338db5d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Release files / iflow_mcp_qbittorrent_mcp-0.1.0-py3-none-any.whl
| Download URL | iflow_mcp_qbittorrent_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53e629e5ad2044c8f3f915057ee7cffc1260b967ecc1ea3ca88fcb662efca206
|
|
BLAKE2b-256 checksum How to use checksums |
df9c1391aa20a26456dd6a9ded4cfd3e93f8c406b1e40725ac7166dbf68db4d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Security for iflow-mcp_qbittorrent-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.