qBittorrent MCP

by Igloo302

219 downloads
Not rated
GitHub

About

本项目提供了一个通过MCP协议与QBittorrent WebUI进行交互的Python客户端,可以方便地管理QBittorrent中的种子。

Details

Author
Igloo302
Downloads
219
Categories
Other

- Connects to qBittorrent WebUI via MCP protocol
- Lists all torrents in the qBittorrent client
- Pauses and resumes individual torrents
- Deletes specified torrents from the client
- Adds new torrents using magnet links

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name qBittorrent MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Ensure Python >= 3.7, clone the repository, and install dependencies with pip install -r requirements.txt. Configure the qBittorrent WebUI connection (host, port, username, password) in qbittorrent-mcp.py. Use the provided async functions, e.g., await connect(host, port, username, password) to connect, then call list_torrents(), pause_torrent(), resume_torrent(), delete_torrent(), or add_magnet() to manage torrents.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "qbittorrent mcp": {
            "qbittorrent-mcp": {
                "command": "uv",
                "args": [
                    "run",
                    "qbittorrent-mcp.py"
                ]
            }
        }
    }
}

McpServers

{
    "qbittorrent-mcp": {
        "command": "uv",
        "args": [
            "run",
            "qbittorrent-mcp.py"
        ]
    }
}

QBittorrent MCP

概述

本项目提供了一个通过MCP协议与QBittorrent WebUI进行交互的Python客户端,可以方便地管理QBittorrent中的种子。

安装

1. 确保Python版本 >= 3.7
2. 克隆本仓库
3. 安装依赖:

pip install -r requirements.txt

配置

qbittorrent-mcp.py中配置QBittorrent WebUI连接信息:
- 主机地址
- 端口号
- 用户名
- 密码

功能

- 连接QBittorrent WebUI
- 获取种子列表
- 暂停/恢复种子
- 删除种子
- 添加磁力链接

使用

```python

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.