Skip to main content
Glama
philogicae

rqbit Torrent Client MCP

start_torrent

Resume downloading or uploading a torrent by providing its ID to continue paused transfers.

Instructions

Start (resume) a torrent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
torrent_idYes

Implementation Reference

  • MCP tool handler for 'start_torrent'. This decorated function handles the tool invocation, logs the action, calls the underlying RqbitClient.start_torrent, and formats the response.
    @mcp.tool() async def start_torrent(torrent_id: str) -> str: """Start (resume) a torrent.""" logger.info(f"Starting torrent: {torrent_id}") result = await rqbit_client.start_torrent(torrent_id) if isinstance(result, str): error = f"Error starting torrent {torrent_id}: {result}" logger.error(error) return error return "Successfully started torrent " + torrent_id
  • Underlying implementation in RqbitClient wrapper. Performs a POST request to the rqbit server's /torrents/{id_or_infohash}/start endpoint to resume the torrent.
    async def start_torrent(self, id_or_infohash: str) -> None | str: """Start (resume) a torrent.""" return await self._safe_request("POST", f"/torrents/{id_or_infohash}/start")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/philogicae/rqbit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server