Transmission MCP server
Drive a Transmission BitTorrent daemon from Claude via MCP tools that cover the entire RPC spec (24/24 methods), from reading torrent state to mutating sessions, queues and files.
Read torrents:
list_torrents(choose ids/fields, orrecently-active),get_torrent(full detail: files, peers, trackers),list_torrent_fields.Read session/daemon:
get_session(all settings + version),get_session_stats,get_free_space,test_port,get_bandwidth_groups.Add and remove:
add_torrent(magnet, URL, local.torrent, base64 metainfo; labels, download dir, file priorities, paused),remove_torrent(optionally deleting data).Control torrents:
start_torrents,start_torrents_now(jump queue),stop_torrents,verify_torrents,reannounce_torrents.Per-torrent settings:
set_torrent— speed limits, labels, file priorities, trackers, seeding rules, queue position, location, peer limit.Files:
move_torrent_data(move or just re-record path),rename_torrent_path.Queue:
queue_move_top,queue_move_up,queue_move_down,queue_move_bottom.Session and daemon:
set_session(any setting),set_bandwidth_group,update_blocklist,shutdown_daemon.Large results:
get_result_pagepages, filters and narrows oversized answers without re-fetching.Compatibility: probes once and speaks either Transmission 3 (kebab-case) or 4.1 (snake_case) RPC names; can be hosted over HTTP as a Claude.ai connector.
Provides tools for interacting with a Transmission daemon, enabling management of torrents (add, remove, start, stop, verify, reannounce), per-torrent and session settings, queue ordering, bandwidth groups, blocklist updates, and daemon shutdown.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Transmission MCP server what torrents are currently downloading?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Transmission MCP server
Drive a Transmission daemon from Claude.ai and Claude Code. Every method in the RPC specification is a tool, with every mutator torrent-set accepts and every field torrent-get returns.
Using this server with a paid AI service costs money. Tool definitions and results are billed as input tokens, and an agent can call tools repeatedly on its own. You are responsible for every charge, so set spending limits with your provider. The author accepts no liability for any costs. SeeDISCLAIMER.md.
Why not the other options
Existing Transmission MCP servers cover roughly 19 of the 24 methods, and all of them hard-code one protocol generation
Transmission 4.1 renamed every RPC string to snake_case; Transmission 3 speaks only the old kebab-case names. This client probes once and then speaks whichever the daemon understands, so it works against both without configuration
Related MCP server: transmission-mcp-server
Coverage
Group | Methods | Covered |
Torrent actions | 5 | 5 |
Torrent accessor and mutator | 2 | 2 |
Adding, removing, moving, renaming | 4 | 4 |
Session | 4 | 4 |
Queue | 4 | 4 |
Blocklist, port test, free space | 3 | 3 |
Bandwidth groups | 2 | 2 |
A test asserts every method in the spec is reachable from a tool.
Tools
Reading
Tool | What you get |
| Every torrent with state, progress, speeds and a readable status name |
| One torrent in full: files, peers, trackers, tracker stats |
| The field names |
| Every session setting and the daemon version |
| Transfer totals, active counts, current speeds |
| Free space in a directory the daemon can see |
| Whether the peer port is reachable from outside |
| Bandwidth groups and their limits |
Torrents
Tool | What it does |
| Add from a magnet link, URL, local .torrent file or base64 metainfo |
| Remove torrents, optionally deleting the data |
| Start, respecting the queue |
| Start immediately, jumping the queue |
| Stop |
| Re-check data against its hashes |
| Ask trackers for more peers now |
| Every per-torrent setting: limits, labels, file priorities, trackers, seeding rules |
| Move the data, or record where you already moved it |
| Rename a file or directory inside a torrent |
Queue and session
Tool | What it does |
| To the front of the queue |
| One place up |
| One place down |
| To the back |
| Change any session setting |
| Create or change a bandwidth group |
| Fetch a fresh blocklist |
| Stop the daemon |
Setup
git clone https://github.com/rollecode/transmission-mcp.git
cd transmission-mcp
uv venv && uv pip install -e .export TRANSMISSION_URL=http://127.0.0.1:9091/transmission/rpc
export TRANSMISSION_USERNAME=... # only if rpc-authentication-required is on
export TRANSMISSION_PASSWORD=...The URL defaults to http://127.0.0.1:9091/transmission/rpc. A .env in the working directory works too.
Claude Code
claude mcp add transmission -- /path/to/transmission-mcp/.venv/bin/transmission-mcpIds
Anywhere a tool takes ids, it accepts torrent numbers, hash strings, or the literal recently-active. Omitting them means every torrent, which is why remove_torrent requires them.
Hosting it
Running it over HTTP puts it in reach of Claude.ai as a custom connector, and of Claude Code on other machines. Three tiers, the same shape the other servers in this family use:
Tier | Port | What it does |
| 8510 | The server. No login of its own, never exposed |
nginx | 8511 | Front door, behind a Cloudflare Tunnel |
| 8512 | OAuth 2.1 sign-in, or a fixed bearer token |
npm install
node set-password.js 'a password for the sign-in page'
printf 'TRANSMISSION_URL=...\n' > ~/.config/transmission-mcp/env
chmod 600 ~/.config/transmission-mcp/envCopy systemd/*.service into /etc/systemd/system/, replacing YOUR_USER and the ISSUER hostname, then:
sudo systemctl enable --now transmission-mcp transmission-mcp-authPoint nginx/transmission-mcp.conf at your own hostname and send the tunnel at 127.0.0.1:8511.
Environment the server itself reads: TRANSMISSION_URL, TRANSMISSION_USERNAME, TRANSMISSION_PASSWORD. The sign-in page carries the Transmission mark and accent colour, set through APP_NAME, APP_ACCENT and APP_BLURB in the auth unit.
Claude.ai
Settings, Connectors, Add custom connector, URL https://transmission-mcp.your-domain/mcp, client ID and secret blank. The sign-in page asks for the password set above. Connectors belong to the account, so adding it once covers mobile too.
Development
uv pip install -e . pytest ruff
.venv/bin/python -m pytest tests
.venv/bin/ruff check .Available Tools
27 toolsadd_torrentAIdempotent
Add a torrent from a magnet link, a URL, a local file or raw metainfo.
Args: filename: A magnet link or the URL of a .torrent file. torrent_file: Path to a .torrent file on this machine, read and encoded for you. metainfo: Base64 .torrent contents, if you already have them. download_dir: Where to put the data. Defaults to the session setting. paused: Add without starting. labels: Labels to attach. peer_limit: Maximum peers for this torrent. bandwidth_priority: -1 low, 0 normal, 1 high. files_wanted: Indices of files to download. Omit for all. files_unwanted: Indices of files to skip. priority_high: Indices of files to fetch first. priority_low: Indices of files to fetch last. priority_normal: Indices of files at normal priority. cookies: Cookies to send when fetching a .torrent URL. sequential_download: Download pieces in order rather than rarest first.
Inputs: labels, paused, cookies, filename, +11 more. Returns: result
get_bandwidth_groupsARead-onlyIdempotent
Get bandwidth groups and their speed limits.
Args: group: One group name. Omit for every group.
Inputs: group. Returns: result
get_free_spaceARead-onlyIdempotent
Get free space in a directory the daemon can see.
Args: path: A directory path on the machine running Transmission, not on this one.
Inputs: path (required). Returns: result
get_result_pageARead-onlyIdempotent
Read more of a result that was too large to return in one piece.
Any tool whose answer is too large returns its first page with a
paging block. Pass that block's result_id here. Nothing is fetched
again: the stored result is paged, filtered and narrowed.
Args:
result_id: From the paging block of the earlier answer.
offset: First item to return, usually the previous next_offset.
limit: At most this many items. Fewer come back if they would not fit.
fields: Only these keys of each item. Dots reach nested keys, such as
"statistics.sizeOnDisk". The paging.fields list shows what exists.
match: Keep only items whose field contains this text, ignoring case,
for example {"title": "alien", "year": "1979"}.
path: Which list to page when the result holds several, as named in
paging.lists. Defaults to the largest.
Inputs: result_id (required), path, limit, match, +2 more. Returns: result
get_sessionARead-onlyIdempotent
Get every session setting and the daemon's version.
Inputs: no named parameters. Returns: result
get_session_statsARead-onlyIdempotent
Get transfer totals, active torrent counts and current speeds.
Inputs: no named parameters. Returns: result
get_torrentARead-onlyIdempotent
Get every field for one torrent, including files, peers and trackers.
Args: id: A torrent id or hash string.
Inputs: id (required). Returns: result
list_torrent_fieldsARead-onlyIdempotent
List every field list_torrents can ask for.
Inputs: no named parameters. Returns: result
list_torrentsARead-onlyIdempotent
List torrents with their state, progress and speeds.
Args: ids: Torrent ids or hash strings, or the literal "recently-active" for everything that changed since the last such call. Omit for all torrents. fields: Which fields to return. Omit for every field. Naming a few keeps the response small on a large library.
Inputs: ids, fields. Returns: result
move_torrent_dataAIdempotent
Move a torrent's data to another directory, or tell it where the data is.
Args: ids: Torrent ids or hash strings. location: The target directory. move: True moves the existing files there. False only updates the recorded path, for data you already moved yourself.
Inputs: ids (required), location (required), move. Returns: result
queue_move_bottomAIdempotent
Move torrents to the back of the queue.
Args: ids: Torrent ids or hash strings.
Inputs: ids (required). Returns: result
queue_move_downBIdempotent
Move torrents one place down the queue.
Args: ids: Torrent ids or hash strings.
Inputs: ids (required). Returns: result
queue_move_topBIdempotent
Move torrents to the front of the queue.
Args: ids: Torrent ids or hash strings.
Inputs: ids (required). Returns: result
queue_move_upBIdempotent
Move torrents one place up the queue.
Args: ids: Torrent ids or hash strings.
Inputs: ids (required). Returns: result
reannounce_torrentsBIdempotent
Ask the trackers for more peers now.
Args: ids: Torrent ids or hash strings. Omit for every torrent.
Inputs: ids. Returns: result
remove_torrentADestructiveIdempotent
Remove torrents, optionally deleting their downloaded files.
Args: ids: Torrent ids or hash strings. Required -- this tool never defaults to every torrent. delete_local_data: True also erases the downloaded files from disk. This cannot be undone.
Inputs: ids (required), delete_local_data. Returns: result
rename_torrent_pathAIdempotent
Rename a file or directory inside one torrent.
Args: id: A single torrent id or hash string. Renaming is one torrent at a time. path: The current path, relative to the torrent's own root. name: The new name for that one path segment.
Inputs: id (required), name (required), path (required). Returns: result
set_bandwidth_groupAIdempotent
Create or change a bandwidth group.
Args: name: Group name. A name that does not exist yet is created. honors_session_limits: Whether the session's own limits also apply. speed_limit_down: Download cap for the group in kB/s. speed_limit_down_enabled: Whether the download cap applies. speed_limit_up: Upload cap for the group in kB/s. speed_limit_up_enabled: Whether the upload cap applies.
Inputs: name (required), speed_limit_up, speed_limit_down, honors_session_limits, +2 more. Returns: result
set_sessionAIdempotent
Change session settings.
Args: settings: Setting names exactly as get_session reports them, mapped to new values. For example {"speed-limit-down": 5000, "speed-limit-down-enabled": true} or {"download-dir": "/mnt/media"}. Read get_session first to see the current names and values, which differ between Transmission 3 and 4.
Inputs: settings (required). Returns: result
set_torrentAIdempotent
Change any per-torrent setting. Every mutator the RPC accepts is here.
Args: ids: Torrent ids or hash strings. bandwidth_priority: -1 low, 0 normal, 1 high. download_limit: Download cap in kB/s. download_limited: Whether download_limit applies. files_wanted: Indices of files to download. files_unwanted: Indices of files to skip. group: Bandwidth group name. honors_session_limits: Whether session speed limits apply. labels: Replace the torrent's labels. location: New data directory. This only records the path; use move_torrent_data to move the files. peer_limit: Maximum peers. priority_high: File indices to fetch first. priority_low: File indices to fetch last. priority_normal: File indices at normal priority. queue_position: Position in the queue, counting from 0. seed_idle_limit: Minutes of no activity before seeding stops. seed_idle_mode: 0 global setting, 1 seed_idle_limit, 2 unlimited. seed_ratio_limit: Stop seeding at this ratio. seed_ratio_mode: 0 global setting, 1 seed_ratio_limit, 2 unlimited. sequential_download: Download pieces in order. tracker_add: Tracker announce URLs to add. Deprecated by Transmission in favour of tracker_list. tracker_list: The whole tracker list as text: URLs separated by newlines, tiers separated by a blank line. tracker_remove: Tracker ids to remove. Deprecated in favour of tracker_list. tracker_replace: Pairs of tracker id and new URL. Deprecated in favour of tracker_list. upload_limit: Upload cap in kB/s. upload_limited: Whether upload_limit applies.
Inputs: ids (required), group, labels, location, +22 more. Returns: result
shutdown_daemonADestructiveIdempotent
Shut the Transmission daemon down.
Every torrent stops and the daemon exits. Nothing here can start it again.
Inputs: no named parameters. Returns: result
start_torrentsAIdempotent
Start torrents, respecting the download queue.
Args: ids: Torrent ids or hash strings. Omit to start every torrent.
Inputs: ids. Returns: result
start_torrents_nowAIdempotent
Start torrents immediately, jumping the download queue.
Args: ids: Torrent ids or hash strings. Omit for every torrent.
Inputs: ids. Returns: result
stop_torrentsAIdempotent
Stop torrents.
Args: ids: Torrent ids or hash strings. Omit to stop every torrent.
Inputs: ids. Returns: result
test_portARead-onlyIdempotent
Check whether the peer port is reachable from outside.
Inputs: no named parameters. Returns: result
update_blocklistAIdempotent
Download a fresh copy of the blocklist and report its size.
Inputs: no named parameters. Returns: result
verify_torrentsAIdempotent
Re-check torrent data against its hashes.
Verification restarts the torrent's progress from zero while it runs.
Args: ids: Torrent ids or hash strings. Omit for every torrent.
Inputs: ids. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Almost every tool targets a distinct resource+action, and descriptions are unusually thorough about differences (e.g. set_torrent's location vs move_torrent_data, start_torrents vs start_torrents_now). The only mild confusions are the start_torrents/start_torrents_now pair and set_torrent overlapping move/queue operations, but documentation resolves them.
All names use a consistent snake_case verb_noun pattern (get_session, set_torrent, list_torrents, add_torrent, remove_torrent, move_torrent_data). Variants like queue_move_top and start_torrents_now stay within the same convention and remain readable.
27 tools is heavy for a single daemon client and exceeds the comfortable range. Some could consolidate (e.g. the four queue_move_* tools into one parameterized tool), though each tool does map to a real, distinct RPC capability.
The surface covers the full torrent lifecycle (add/get/list/remove/set/move/rename/verify), queue control, bandwidth groups, session settings, blocklist, port test, free space, and even result paging. No obvious gaps or dead ends for the stated purpose.
Maintenance
Related MCP Connectors
Agent personas for Claude. 16 tools, 13 personas, 3 workflows. Zero extra API cost. Free.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides tools for interacting with the Transmission BitTorrent client via natural language, enabling users to manage torrents, configure download settings, and monitor download activity.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables controlling a Transmission torrent daemon, allowing adding, listing, controlling torrents and checking free space, with support for SOCKS5 proxy for remote access.-
- AlicenseCqualityBmaintenanceEnables full control of Sonarr from Claude.ai and Claude Code by exposing all 234 v3 API operations as tools for managing media libraries.235MIT
- AlicenseCqualityBmaintenanceExposes all 209 Audiobookshelf API routes as tools, letting Claude.ai and Claude Code manage libraries, books, podcasts, playback, users, settings, and more.212MIT