Rqbit MCP Server

This repository provides a Python API wrapper and an MCP (Model Context Protocol) server for the [rqbit](https://github.com/ikatson/rqbit) torrent

Local serverstdioPython

What is the Rqbit MCP MCP server?

Rqbit mcp mcp server connects Rqbit MCP to AI assistants that speak the Model Context Protocol. This repository provides a Python API wrapper and an MCP (Model Context Protocol) server for the rqbit torrent client. It allows for easy integration into other applications or services.

What Rqbit MCP does

This repository provides a Python API wrapper and an MCP (Model Context Protocol) server for the rqbit torrent client. It allows for easy integration into other applications or services.

Key capabilities

  • API wrapper for the rqbit torrent client
  • MCP server interface for standardized communication (stdio, sse, streamable-http)
  • list_torrents: List all torrents and their details
  • download_torrent: Download a torrent from a magnet link or a file
  • get_torrent_details: Get detailed information about a specific torrent
  • get_torrent_stats: Get stats/status of a specific torrent
  • pause_torrent: Pause a torrent
  • start_torrent: Start a torrent

Tools it exposes

Once connected, the assistant can call these 3 tools directly:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Configuration — The Configuration tool exposed by this server
  • Installation — The Installation tool exposed by this server

Installing the rqbit mcp mcp server

The server is distributed via PyPI as rqbit-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 2 environment variables: RQBIT_URL, RQBIT_HTTP_BASIC_AUTH_USERPASS. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  • An running instance of rqbit. (Included in docker compose) - Python 3.10+ (required for PyPI install). - uv (for local development)

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Rqbit MCP sits in that group, and the shape of its toolset — Prerequisites, Configuration, Installation — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by philogicae, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the rqbit mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
ConfigurationThe Configuration tool exposed by this server.
InstallationThe Installation tool exposed by this server.

How to install the Rqbit MCP MCP server

{
  "mcpServers": {
    ...
    # with stdio (only requires uv)
    "rqbit-mcp": {
      "command": "uvx",
      "args": [ "rqbit-mcp" ],
      "env": { 
        "RQBIT_URL": "http://localhost:3030", # (Optional) Default rqbit instance URL
        "RQBIT_HTTP_BASIC_AUTH_USERPASS": "username:password" # (Optional) Only if setup in rqbit instance
      }
    },
    # with docker (only requires docker)
    "rqbit-mcp": {
      "command": "docker",
      "args": [ "run", "-i", "-p", "8000:8000", "-e", "RQBIT_URL=http://localhost:3030", "-e", "RQBIT_HTTP_BASIC_AUTH_USERPASS=username:password", "philogicae/rqbit-mcp:latest", "rqbit-mcp" ]
    },
    # with sse transport (requires installation)
    "rqbit-mcp": {
      "serverUrl": "http://127.0.0.1:8000/sse"
    },
    # with streamable-http transport (requires installation)
    "rqbit-mcp": {
      "serverUrl": "http://127.0.0.1:8000/mcp" 
    },
    ...
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • An running instance of rqbit. (Included in docker compose) - Python 3.10+ (required for PyPI install). - uv (for local development)
VariableDescriptionRequired
RQBIT_URLEndpoint or connection string the server talks to.Yes
RQBIT_HTTP_BASIC_AUTH_USERPASSConfiguration value read at startup.Optional

Example prompts to try

  • Use Rqbit MCP to Prerequisites.
  • Use Rqbit MCP to Configuration.
  • Use Rqbit MCP to Installation.

Frequently asked questions

It connects Rqbit MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Prerequisites, Configuration, Installation) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Rqbit MCP directly.