mcp-mediastack
Provides tools for managing torrents, including pausing, resuming, and deleting torrents, as well as viewing transfer status and listing torrents with filters.
Provides tools for managing movies, including searching, adding movies, monitoring upcoming releases, and triggering searches for missing movies.
Provides tools for managing TV series, including searching, adding series, monitoring upcoming episodes, and triggering searches for missing episodes.
Click on "Install 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., "@mcp-mediastackWhat's the status of all my media services?"
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.
mcp-mediastack
An MCP server that provides 50 tools for monitoring and managing a Docker-based media stack. Built with FastMCP and httpx.
Supported Services
Sonarr - TV series management
Radarr - Movie management
SABnzbd - Usenet downloader
qBittorrent - Torrent client
Prowlarr - Indexer management
Readarr - Book management
Bazarr - Subtitle management
Seerr - Media requests
Gluetun - VPN status monitoring
Scoutarr - Batch upgrade searches (space-saver sweep)
Cleanuparr - Stalled-download cleanup
Plus a space-saver sweep progress tool built on Radarr/Sonarr tags
Related MCP server: MCParr Server
Quick Start
Docker Run
docker run -d \
--name mediastack-mcp \
-p 8888:8888 \
-e MCP_TRANSPORT=sse \
-e NAS_HOST=192.168.1.100 \
-e SONARR_API_KEY=your_key \
-e RADARR_API_KEY=your_key \
-e SABNZBD_API_KEY=your_key \
ghcr.io/aderaaij/mcp-mediastack:latestDocker Compose
services:
mediastack-mcp:
image: ghcr.io/aderaaij/mcp-mediastack:latest
container_name: mediastack-mcp
restart: unless-stopped
ports:
- 8888:8888
environment:
- MCP_TRANSPORT=sse
- MCP_PORT=8888
- NAS_HOST=192.168.1.100
- SONARR_API_KEY=${SONARR_API_KEY}
- RADARR_API_KEY=${RADARR_API_KEY}
- SABNZBD_API_KEY=${SABNZBD_API_KEY}
- PROWLARR_API_KEY=${PROWLARR_API_KEY}
- READARR_API_KEY=${READARR_API_KEY}
- BAZARR_API_KEY=${BAZARR_API_KEY}
- SEERR_API_KEY=${SEERR_API_KEY}
- QBITTORRENT_USERNAME=${QBITTORRENT_USERNAME}
- QBITTORRENT_PASSWORD=${QBITTORRENT_PASSWORD}Environment Variables
Variable | Default | Description |
|
| Transport mode: |
|
| Port for SSE transport |
|
| IP/hostname of your server running the media stack |
| Sonarr API key (Settings > General) | |
|
| Sonarr port |
| Radarr API key | |
|
| Radarr port |
| SABnzbd API key | |
|
| SABnzbd port |
|
| qBittorrent username |
|
| qBittorrent password |
|
| qBittorrent port |
| Prowlarr API key | |
|
| Prowlarr port |
| Readarr API key | |
|
| Readarr port |
| Bazarr API key | |
|
| Bazarr port |
| Seerr API key | |
|
| Seerr port |
|
| Gluetun control API port |
|
| Scoutarr port — set explicitly to enable the Scoutarr tools |
|
| Cleanuparr port — set explicitly to enable the Cleanuparr tools |
| Only load these services (comma-separated, e.g. | |
| Skip these services (comma-separated, e.g. |
Selective tool loading
Tools are automatically loaded based on which API keys are set. Only set the keys for the services you use — tools for unconfigured services won't be registered.
API key services (Sonarr, Radarr, Readarr, Prowlarr, Bazarr, SABnzbd, Seerr): enabled when their API key is non-empty
qBittorrent and VPN: enabled by default (no API key). Use
DISABLED_SERVICES=vpn,qbittorrentto disableScoutarr and Cleanuparr: keyless — enabled only when
SCOUTARR_PORT/CLEANUPARR_PORTis set explicitlySpace-saver: enabled when both the Sonarr and Radarr API keys are set
ENABLED_SERVICES: override auto-detection with an explicit whitelist (e.g.ENABLED_SERVICES=sonarr,radarr)
Tools
Monitoring (32 tools)
Tool | Description |
| Combined status of all services |
| Current VPN connection info via Gluetun |
| Verify VPN is working (IP leak check) |
| Sonarr system status |
| Active download queue |
| Upcoming episodes |
| Recent download history |
| Missing episodes |
| Search existing library |
| Library statistics |
| Radarr system status |
| Active download queue |
| Upcoming movies |
| Recent download history |
| Missing movies |
| Search existing library |
| Library statistics |
| SABnzbd queue and status |
| Download history |
| qBittorrent transfer info |
| List torrents with filters |
| Indexer status and stats |
| Readarr system status |
| Readarr download queue |
| Bazarr system status |
| Missing subtitles |
| Pending requests and stats |
| Scoutarr instance connectivity and sweep config |
| Cleanuparr app status and download-client health |
| Recent strikes, removals and re-searches |
| Space-saver sweep progress: searched/remaining counts, sizes, largest remaining items |
Actions (18 tools)
Tool | Description |
| Search for new series to add |
| Add series by TVDB ID |
| Trigger search for missing episodes |
| Remove stuck queue items |
| Search for new movies to add |
| Add movie by TMDB ID |
| Trigger search for missing movies |
| Remove stuck queue items |
| Send a command to Sonarr/Radarr/Readarr (e.g. RefreshSeries, CheckHealth) |
| Trigger a Scoutarr sweep run (all instances, blocks ~4-5 min) |
| Pause or resume SABnzbd |
| Delete a download job |
| Retry a failed download |
| Pause torrents |
| Resume torrents |
| Delete torrents |
| Approve a media request |
| Decline a media request |
Claude Desktop Integration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
Direct (stdio, same machine)
{
"mcpServers": {
"mediastack": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "NAS_HOST=192.168.1.100",
"-e", "SONARR_API_KEY=your_key",
"ghcr.io/aderaaij/mcp-mediastack:latest"
]
}
}
}Remote (SSE via mcp-remote)
If the server is running on a remote host with SSE transport:
{
"mcpServers": {
"mediastack": {
"command": "npx",
"args": ["mcp-remote", "http://your-server:8888/sse"]
}
}
}Known Quirks
httpx params: Never pass
params={}(empty dict) to httpx — it strips query parameters from the URL. Only passparamswhen non-empty.Seerr titles: Seerr requests don't include titles directly. The server resolves them via TMDB lookups using the media's TMDB ID.
qBittorrent auth: Uses session-based cookie auth, not API keys. The server handles login automatically.
Development
# Install dependencies
uv sync
# Run locally (stdio mode)
python -m mcp_mediastack
# Run locally (SSE mode)
MCP_TRANSPORT=sse python -m mcp_mediastackLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/aderaaij/mcp-mediastack'
If you have feedback or need assistance with the MCP directory API, please join our Discord server