qui-mcp
MCP server that exposes qui's JSON REST API as tools for monitoring and managing qBittorrent instances, torrents, automations, cross-seeding, RSS, backups, and related services.
README
qui-mcp
Part of the arr-mcps collection. MCP server exposing qui's JSON REST API as tools for monitoring and managing qBittorrent instances, torrents, automations, cross-seeding, RSS, backups, and related services.
Built with FastMCP. The initial release mirrors the full JSON API route surface as one MCP tool per endpoint.
Install
uv tool install qui_mcp-*.whl
Register with Claude Code:
claude mcp add qui \
--env QUI_URL=https://your-qui-host \
--env QUI_API_KEY=<api-key> \
-- qui-mcp
From source:
uv sync
claude mcp add qui \
--env QUI_URL=https://your-qui-host \
--env QUI_API_KEY=<api-key> \
-- uv run --directory /path/to/qui-mcp qui-mcp
Configuration
| Env var | Required | Description |
|---|---|---|
QUI_URL |
yes | qui host, optionally including a reverse-proxy base path; /api is appended automatically |
QUI_API_KEY |
no | API key sent as X-API-Key; omit only when qui authentication is intentionally disabled |
Create API keys in qui under Settings -> API Keys. The server never logs the key and sends no authentication header when it is unset.
Tools
12 resource-scoped tools, each covering multiple qui JSON endpoints (214
total) via an operation parameter: instances, torrents, categories, tags,
preferences, automations, RSS, backups, orphan scans, cross-seed, Torznab,
ARR integrations, notifications, API-key management, logs, and application
metadata. Call a tool with operation set to one of its listed routes and an
arguments object matching that route's parameters — the tool's own
description (visible to your MCP client) lists every route and its method +
path. This keeps the full REST surface available while costing a fraction of
the context budget of registering all 214 routes as separate tools.
| Tool | Routes |
|---|---|
qui_system |
55 |
qui_cross_seed |
29 |
qui_torrents |
24 |
qui_torznab |
20 |
qui_instances |
17 |
qui_dir_scan |
15 |
qui_rss |
14 |
qui_automations |
12 |
qui_backups |
10 |
qui_categories_tags |
7 |
qui_orphan_scan |
7 |
qui_torrent_creator |
4 |
Streaming endpoints and binary downloads are intentionally omitted because MCP
tool results are structured JSON values. Session-creation endpoints
(/auth/setup, /auth/login, and /auth/logout) are also omitted; use qui's
web UI for those flows.
Every tool accepts operation (the route name, e.g. qui_list_torrents) plus
one optional arguments object:
{
"operation": "qui_list_torrents",
"arguments": {
"instanceID": 1,
"hash": "torrent-info-hash",
"params": {"filter": "downloading"},
"body": {"value": "request payload"}
}
}
Path variables use their documented names. Query values belong in
arguments.params and JSON request payloads belong in arguments.body.
Development
make help
make sync
make test
make build
make test uses only httpx.MockTransport. Live smoke tests require
QUI_URL and can be run with make test-integration.
The release workflow builds a wheel and source distribution when a v* tag is
pushed. Start at version 0.0.0; use make bump-patch, commit, tag, and push
for the first release.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.