qbit_manage-mcp

qbit_manage-mcp

MCP server exposing qbit_manage's Web API as tools, so an LLM can read and manage a qbit_manage instance: run maintenance commands on qBittorrent torrents, manage config files, scheduler, logs, security settings, and system state.

Category
Visit Server

README

qbit_manage-mcp

Part of the arr-mcps collection. MCP server exposing qbit_manage's Web API as tools, so an LLM can read and manage a qbit_manage instance: run maintenance commands against your qBittorrent torrents, manage config files (create/read/update/delete/validate/backup/restore), the scheduler, logs, security settings, and system state.

Built with FastMCP. qbit_manage's API has no vendored OpenAPI spec, so the endpoint table is hand-maintained against qbit_manage's modules/web_api.py handler routes (see AGENTS.md).

Enabling the Web API on your qbit_manage server

qbit_manage's REST API runs at port 8181 by default. Start it with the web server enabled, e.g. qbit_manage --web-server --host 0.0.0.0 --port 8181 (or set QBT_WEB_SERVER=true / QBT_HOST / QBT_PORT in Docker). See qbit_manage's Web-API docs for details.

Install

Download a wheel from the latest release and install it as a uv tool (no repo checkout needed):

uv tool install qbit_manage_mcp-*.whl

This puts a qbit-manage-mcp command on your PATH. Register it with Claude Code:

claude mcp add qbit-manage \
  --env QBIT_MANAGE_URL=http://qbit-manage.example.com:8181 \
  --env QBIT_MANAGE_API_KEY=<key> \
  -- qbit-manage-mcp

From source

uv sync
cp .env.example .env   # fill in QBIT_MANAGE_URL and QBIT_MANAGE_API_KEY
claude mcp add qbit-manage \
  --env QBIT_MANAGE_URL=http://qbit-manage.example.com:8181 \
  --env QBIT_MANAGE_API_KEY=<key> \
  -- uv run --directory /path/to/qbit_manage-mcp qbit-manage-mcp

Config

Env var Required Default
QBIT_MANAGE_URL yes -
QBIT_MANAGE_API_KEY yes* none (no API key header sent if unset)
QBIT_MANAGE_USERNAME no used for Basic auth when no API key is set
QBIT_MANAGE_PASSWORD no used for Basic auth when no API key is set

* If authentication is enabled on qbit_manage (method: api_only or basic) you must set the API key (or username/password), or every authenticated call returns 401. If authentication is disabled or bypass_auth_for_local is on, the server still works without credentials. If your qbit_manage instance is served under a base URL (--base-url/QBT_BASE_URL), include that subpath in QBIT_MANAGE_URL.

Tools

Six resource-scoped tools. Each takes an operation (one of the listed endpoints) plus an arguments dict matching that operation's parameters, and dispatches to the underlying endpoint. This is the fleet's portmanteau pattern: all 23 qbit_manage endpoints wrapped as 6 tools so every session's system prompt stays small.

Tool Operations (endpoints)
qbit_manage_config list_configs, get_config, create_config, update_config, delete_config, validate_config, backup_config, list_config_backups, restore_config_from_backup (/api/configs, /api/configs/{filename} + /validate, /backup, /backups, /restore)
qbit_manage_commands run_command (/api/run-command)
qbit_manage_scheduler get_scheduler_status, update_schedule, toggle_schedule_persistence (/api/scheduler, /api/schedule, /api/schedule/persistence/toggle)
qbit_manage_logs get_logs, list_log_files, get_documentation (/api/logs, /api/log_files, /api/docs)
qbit_manage_system get_version, health_check, get_base_url, force_reset_running_state (/api/version, /api/health, /api/get_base_url, /api/system/force-reset)
qbit_manage_security get_security_settings, get_security_status, update_security_settings (/api/security, /api/security/status)

run_command is how an LLM triggers actual qbit_manage work against qBittorrent: pass a body with commands (e.g. ["cat_update", "tag_update"]), optionally hashes to scope to specific torrents, and dry_run: true to preview without side effects. Valid commands: cat_update, tag_update, recheck, rem_unregistered, tag_tracker_error, rem_orphaned, tag_nohardlinks, share_limits.

Config write operations take the config data as {"data": <config dict>}data mirrors the YAML structure. get_documentation returns raw markdown text, not JSON.

Development

make help  # list all commands
Command Does
make sync uv sync
make test Offline tests - one per endpoint, mocked HTTP
make test-integration Tests against the live instance (needs QBIT_MANAGE_URL/QBIT_MANAGE_API_KEY; write tests need QBIT_MANAGE_WRITE_TESTS=1)
make build Build wheel + sdist into dist/
make bump-patch / bump-minor / bump-major Bump the version in pyproject.toml + uv.lock
make clean Remove build artifacts

The release workflow (.github/workflows/release.yml) builds and publishes to Releases whenever a v* tag is pushed - so the usual flow is make bump-patch, commit, then tag and push.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured