Skip to main content

Add your description here

Project description

qBittorrent MCP 服务

qBittorrent MCP 是一个基于 FastMCP 的服务,提供了与 qBittorrent WebUI API 交互的功能接口。

功能列表

该服务提供了以下功能:

种子管理

  • add_torrent: 添加种子文件到 qBittorrent
  • delete_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密码

使用方法

  1. 确保已安装所需依赖:

    pip install httpx mcp
    
  2. 运行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"
            ]
        }
    ]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_pickpppcc_qbittorrent-0.1.1.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_pickpppcc_qbittorrent-0.1.1.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_pickpppcc_qbittorrent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1b9655d6e1a07f1cd94a2013ef1a14c0028a14324104807101e767a1da0c8d6e
MD5 4fb33449c2228358570f2d3c5d07d642
BLAKE2b-256 57ddfd5a717ace31a02e01653ce0b105c770d58086ca285db0e19fd63414acfc

See more details on using hashes here.

File details

Details for the file iflow_mcp_pickpppcc_qbittorrent-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_pickpppcc_qbittorrent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8dd2581f5ac17e40fafb0eb83b891ae17f32df2f23090f89922cdaa680bc0620
MD5 c47aa0249ce61c5973db0e483cc7df04
BLAKE2b-256 918edd2f7dff5b90f2611fe6070ca8615d21d6d5d295fc43fc5c46d476042a7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page