nqbtc
Run an MCP server backed by the qBittorrent WebUI API, exposing tools to manage torrents (list, add magnet/torrent files, start/stop, delete, recheck, reannounce), inspect torrent properties, trackers, web seeds, contents and pieces, edit/add/remove trackers and peers, set priorities, plus query application info, logs, sync/main data, and global transfer limits and alternative speed limits.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
nqbtc
Run qBittorrent MCP server, and TypeScript qBittorrent WebUI API binding.
Use MCP server CLI
Run qBittorrent MCP server.
Requirements
Node.js 24 or newer
qBittorrent and make sure WebUI enabled
Any MCP client
Getting started
Standard config works in most of the tools (replace the --base-url=... with your real qBittorrent WebUI url).
{
"mcpServers": {
"nqbtc": {
"command": "npx",
"args": [
"nqbtc",
"mcp",
"--base-url=http://localhost:9091/api/v2"
]
}
}
}You can also config username and password of WebUI with --username=xxx and --password=yyy options. Add these options your MCP command args.
npx nqbtc mcp --base-url=http://localhost:9091/api/v2 --username=xxx --password=yyyIt also read local .env file and accept following configurations.
QBITTORRENT_WEBUI_BASE_URL=http://localhost:9091/api/v2
QBITTORRENT_WEBUI_USERNAME=
QBITTORRENT_WEBUI_PASSWORD=Related MCP server: qBittorrent MCP Server
Use Client Library
Installation
npm i nqbtUsage
import { QBittorrent } from 'nqbt';
const client = new QBittorrent({
baseURL: 'http://localhost:9091/api/v2',
username: 'admin',
password: 'adminadmin'
});
await client.login();
const version = await client.getApplicationVersion();
console.log('qBittorrent version:', version);
const torrents = await client.getTorrentList({
filter: 'downloading',
sort: 'dlspeed',
reverse: true,
limit: 10
});
console.log('downloading torrents:', torrents.length);
if (torrents[0]) {
// qBittorrent v5 uses stop/start; v4 uses pause/resume.
// Both method pairs are kept and auto-switch internally.
await client.stopTorrents(torrents[0].hash);
await client.startTorrents(torrents[0].hash);
// Equivalent aliases:
// await client.pauseTorrents(torrents[0].hash);
// await client.resumeTorrents(torrents[0].hash);
}
await client.addNewMagnet('magnet:?xt=urn:btih:<YOUR_INFO_HASH>', {
category: 'demo',
tags: 'sample',
paused: true
});
await client.logout();Reference
Official docs:
Support TypeScript API:
Category | TypeScript API | WebUI API |
Authentication |
| |
Authentication |
| |
Application |
| |
Application |
| |
Application |
| |
Application |
| |
Application |
| |
Application |
| |
Application |
| |
Application |
| |
Application |
| |
Log |
| |
Log |
| |
Sync |
| |
Sync |
| |
Transfer info |
| |
Transfer info |
| |
Transfer info |
| |
Transfer info |
| |
Transfer info |
| |
Transfer info |
| |
Transfer info |
| |
Transfer info |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
| |
Torrent Management |
|
Compatibility note
stopTorrentsandpauseTorrentsare both available; both auto-switch to/torrents/stop(v5) or/torrents/pause(v4).
startTorrentsandresumeTorrentsare both available; both auto-switch to/torrents/start(v5) or/torrents/resume(v4).
Related
This package is used to power AnimeSpace, offering a comprehensive solution for automatically following bangumis. It can fetch anime resources, download desired video content, and upload them to the local file system or remote WebDAV server. The downloading process is facilitated by this package.
Credits
License
MIT License © 2025 XLor
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create and manage CodeQR short links, QR codes, and analytics from any MCP client.
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
MCP gateway and cloud hosting for MCP servers, agents and apps like RAG, managed from your agent.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA service that provides programmatic access to qBittorrent's WebUI API, enabling management of torrents, trackers, tags, speed controls, and system information through natural language.29-
- FlicenseAqualityDmaintenanceEnables interaction with qBittorrent through its Web API to search for torrents using search plugins and manage downloads. Supports torrent searching, downloading via URLs/magnet links, and torrent management operations like pause, resume, and delete.73-
- AlicenseBqualityCmaintenanceMCP 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.12MIT
- AlicenseAqualityCmaintenanceMCP server exposing qBittorrent's WebUI API v2 as tools, enabling LLMs to manage torrents, categories, tags, RSS feeds, search plugins, and application settings.904MIT