Labsco
v-odoo-testing logo

Transmission MCP Server

โ˜… 3

from v-odoo-testing

An MCP server for controlling the Transmission torrent daemon.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

Transmission MCP Server

A simple MCP server for controlling your Transmission torrent daemon. Supports both direct connection and SOCKS5 proxy for remote access.

Environment Variables

  • TRANSMISSION_HOST: IP address of Transmission daemon (default: 192.168.1.205)
  • TRANSMISSION_PORT: Port number (default: 9091)
  • TRANSMISSION_USERNAME: Username for authentication
  • TRANSMISSION_PASSWORD: Password for authentication
  • USE_SOCKS5: Enable SOCKS5 proxy (true/false, default: false)
  • SOCKS5_HOST: SOCKS5 proxy host (default: 127.0.0.1)
  • SOCKS5_PORT: SOCKS5 proxy port (default: 1080)
  • TRANSMISSION_TIMEOUT: Request timeout in seconds (default: 30)

Available Tools

add_torrent

Add a new torrent via magnet link or URL.

  • magnet_or_url: Magnet link or torrent file URL
  • download_dir: Optional custom download directory
  • use_socks5: Use SOCKS5 proxy for this request (default: false)

control_torrent

Start, stop, or remove torrents.

  • action: "start", "stop", or "remove"
  • torrent_ids: Array of torrent IDs
  • delete_data: Whether to delete local data when removing (default: false)
  • use_socks5: Use SOCKS5 proxy for this request (default: false)

get_free_space

Check available disk space for downloads.

  • path: Optional directory path to check
  • use_socks5: Use SOCKS5 proxy for this request (default: false)

list_torrents

List all torrents with their status, progress, and download directories.

  • use_socks5: Use SOCKS5 proxy for this request (default: false)

get_session_info

Get information about the Transmission daemon session, including version, settings, and statistics.

  • use_socks5: Use SOCKS5 proxy for this request (default: false)

Development

The server is contained in a single file (src/server.py) for simplicity. It uses:

  • httpx for HTTP requests
  • pydantic for configuration management
  • mcp for the Model Context Protocol integration

License

MIT License - see LICENSE file for details.