arrstack-mcp
Interact with Jellyfin media server: list media libraries, view recently added items, and retrieve system information.
Manage torrents through qBittorrent: list, pause, resume, delete torrents, add magnet links, and view transfer statistics.
Manage movies through Radarr: list movies, search and add movies, view download queue.
Manage TV shows through Sonarr: list series, search and add shows, view upcoming episodes and download queue.
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., "@arrstack-mcpsearch for the movie Inception and add it to Radarr"
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.
🎬 arrstack-mcp
An MCP server that gives AI assistants configurable access to homelab media and game services.
Works with Claude Desktop, Cursor, VS Code Copilot, OpenClaw, and any other MCP-compatible client.
Demo

Related MCP server: nas-mcp-server
Features
Service | Tools |
Sonarr | List series, search & add shows, upcoming episodes, download queue |
Radarr | List movies, search & add movies, download queue |
Lidarr | List artists, search & add artists/albums, queue, missing search |
Prowlarr | List/test indexers, search releases, health check |
qBittorrent | List/pause/resume/delete torrents, add magnets / .torrent files / URLs, transfer stats |
SABnzbd | Queue, history, status, pause/resume, add NZB url, speed limit |
RDTClient | Real-Debrid downloader: list/pause/resume/delete torrents, add magnets, provider status |
Jellyfin | List libraries, recent additions, system info |
RomM | System info, list platforms, list/search ROMs, game details |
GameVault | List/search PC games, game details, random game, reindex library |
Bookshelf | List/search authors & books, queue, missing, profiles, health |
Only configure the services you use — unconfigured services are gracefully skipped.
Choose Your Services
To avoid flooding an MCP client's context with tools it does not need, the advertised tool catalog is configurable:
ENABLED_SERVICES=auto(default) advertises only services with a configured URL.A comma-separated list such as
sonarr,radarr,rommadvertises exactly that subset.ENABLED_SERVICES=alladvertises every available tool.Run
python server.py --list-servicesto inspect configured/enabled services.Run
python server.py --setupfor an interactive selector that prints the resultingENABLED_SERVICESline.
Valid service names are sonarr, radarr, lidarr, prowlarr,
qbittorrent, rdtclient, sabnzbd, jellyfin, romm, gamevault, and
bookshelf. Aliases qbt, rdt, and sab are also accepted.
Quick Start
Option 1: Claude Desktop / Cursor / VS Code (stdio)
Install dependencies:
pip install "mcp[cli]>=1.9.0" httpxAdd to your MCP client config (e.g.
claude_desktop_config.json):{ "mcpServers": { "arrstack": { "command": "python", "args": ["/path/to/arrstack-mcp/server.py"], "env": { "SONARR_URL": "http://localhost:8989", "SONARR_API_KEY": "your-api-key", "RADARR_URL": "http://localhost:7878", "RADARR_API_KEY": "your-api-key", "QBT_URL": "http://localhost:8080", "QBT_USER": "admin", "QBT_PASS": "your-password", "JELLYFIN_URL": "http://localhost:8096" } } } }Restart your MCP client. Done!
Option 2: Docker (HTTP transport)
For remote setups or when running alongside your *arr stack:
git clone https://github.com/ct4nk3r/arrstack-mcp.git
cd arrstack-mcp
cp .env.example .env
# Edit .env with your service URLs and API keys
docker compose up -dThe server runs on port 8000 with Streamable HTTP transport.
Connect to OpenClaw
openclaw mcp set arrstack '{"url":"http://arrstack-mcp:8000/mcp","transport":"streamable-http"}'Connect to other HTTP MCP clients
Point your client to http://<host>:8000/mcp using Streamable HTTP transport.
Option 3: Docker on the same network as your *arr stack
If your media services run in Docker, add arrstack-mcp to the same network:
services:
arrstack-mcp:
build: .
container_name: arrstack-mcp
ports:
- "8000:8000"
environment:
- SONARR_URL=http://sonarr:8989
- SONARR_API_KEY=your-key
- RADARR_URL=http://radarr:7878
- RADARR_API_KEY=your-key
- QBT_URL=http://qbittorrent:8080
- QBT_USER=admin
- QBT_PASS=your-password
- JELLYFIN_URL=http://jellyfin:8096
networks:
- your-media-networkConfiguration
All configuration is done via environment variables:
Variable | Required | Description |
| No |
|
| No | Sonarr base URL (e.g. |
| If Sonarr | Sonarr API key (Settings → General) |
| No | Radarr base URL (e.g. |
| If Radarr | Radarr API key (Settings → General) |
| No | Lidarr base URL (e.g. |
| If Lidarr | Lidarr API key (Settings → General) |
| No | qBittorrent Web UI URL (e.g. |
| If qBt | qBittorrent username (default: |
| If qBt | qBittorrent password |
| No | RDTClient base URL (e.g. |
| If RDT login | RDTClient username (default: |
| If RDT login | RDTClient password |
| No | Jellyfin base URL (e.g. |
| No | Jellyfin API key (optional, for authenticated endpoints) |
| No | Prowlarr base URL (e.g. |
| If Prowlarr | Prowlarr API key (Settings → General) |
| No | RomM base URL (e.g. |
| If RomM | RomM bearer token; alternatively use |
| If RomM basic auth | RomM username |
| If RomM basic auth | RomM password |
| No | GameVault server URL (e.g. |
| If GameVault | GameVault API key |
| For HTTP/SSE | Comma-separated accepted Host headers; supports wildcard ports such as |
| No | Request logging level (default: |
| No | Agentic Resource Discovery publishing: |
| No | Public base URL clients reach this server at (e.g. |
| No | Publisher domain for the |
| No | Human-readable catalog host name (default: |
| No |
|
| No | Opt-in |
| No | SABnzbd base URL (e.g. |
| If SABnzbd | SABnzbd API key (Config → General → API Key) |
| No | Bookshelf base URL (e.g. |
| If Bookshelf | Bookshelf API key (Settings → General) |
Available Tools
Sonarr (TV Shows)
Tool | Description |
| List all series with episode counts and disk usage |
| Get detailed info about a specific series |
| Search for new shows to add |
| Add a show by TVDB ID |
| Show upcoming episodes |
| Show current download queue |
Radarr (Movies)
Tool | Description |
| List all movies with download status |
| Get detailed info about a specific movie |
| Search for new movies to add |
| Add a movie by TMDB ID |
| Show current download queue |
Lidarr (Music)
Tool | Description |
| List all artists with album/track counts and disk usage |
| Get detailed info about a specific artist |
| Search for artists to add |
| Search for albums in metadata |
| Add an artist by name (requires quality + metadata profile + root folder) |
| List quality profiles |
| List metadata profiles |
| List root folders with free space |
| Show current download queue |
| Remove an item from the queue (optionally blocklist) |
| Trigger search for all missing albums |
Prowlarr (Indexers)
Tool | Description |
| List all indexers with status |
| Test a specific indexer connection |
| Test all enabled indexers |
| Search across indexers for releases |
| Check system health warnings |
qBittorrent (Downloads)
Tool | Description |
| List torrents with progress and speed |
| Get detailed torrent info |
| Add anything — magnet, .torrent URL, local .torrent path, or base64 — and start it |
| Add a magnet link (optional category / save path / paused) |
| Add a .torrent from a local path, http(s) URL, or base64 content |
| Pause a torrent |
| Resume a torrent |
| Delete a torrent (optionally with files) |
| Global transfer statistics |
SABnzbd (Usenet Downloads)
Tool | Description |
| Show the current download queue |
| Show download history |
| Show full server status (disk, speed, etc.) |
| Pause the entire queue |
| Resume the entire queue |
| Pause a specific queue item by NZO id |
| Resume a specific queue item by NZO id |
| Delete a queue item (optionally with files) |
| Add an NZB by URL (with optional category/priority) |
| Set the global speed limit (0..100% of configured max) |
RDTClient (Real-Debrid Downloader)
RDTClient is a Real-Debrid / AllDebrid / Premiumize download manager that exposes a qBittorrent-compatible API, so it slots into Sonarr/Radarr just like qBt.
Tool | Description |
| List torrents with progress and speed |
| Get detailed torrent info |
| Add a magnet link to your debrid provider |
| Pause one or more torrents |
| Resume one or more torrents |
| Delete one or more torrents (optionally with files) |
| Show configured debrid provider (Real-Debrid / AllDebrid / etc.) |
Jellyfin (Media Server)
Tool | Description |
| List media libraries |
| Recently added items |
| Server version and system info |
RomM (ROM Library)
Tool | Description |
| Show version, detected platforms, and metadata sources |
| List platforms, ROM counts, and library sizes |
| List or search indexed ROMs |
| Show details for one indexed ROM |
GameVault (PC Game Library)
Tool | Description |
| List or search PC games and installers |
| Show details for one game |
| Pick a random indexed game |
| Scan the game-files directory for changes |
Bookshelf (Books — Hardcover-flavored Readarr fork)
Bookshelf is pennydreadful/bookshelf, a fork of Readarr that uses hardcover.app as its metadata provider. It exposes the standard Readarr v1 API, so these tools behave like the Sonarr/Radarr/Lidarr equivalents.
Tool | Description |
| Version + active health-check issues |
| List monitored authors with book counts and disk usage |
| Detailed info for an author by ID |
| Search Hardcover for an author |
| Search Hardcover for a book |
| List all tracked books |
| Current download queue |
| Books flagged as missing |
| Quality profiles |
| Metadata profiles |
| Root folders with free space |
| Trigger a search for all missing books |
Transport Options
# stdio (default) — for Claude Desktop, Cursor, VS Code
python server.py
# Streamable HTTP — for Docker / remote
python server.py --transport streamable-http --port 8000
# SSE — legacy HTTP transport
python server.py --transport sse --port 8000Agentic Resource Discovery (ARD)
arrstack-mcp implements the publisher side of Agentic Resource Discovery (spec) — an open standard for publishing and discovering AI capabilities across the web. This lets ARD registries and agents find your server and learn how to connect to it, instead of every client needing a hand-written config.
ARD publishesdiscoverable metadata only. It does not add authentication to this server or make it safe to expose to the internet — the catalog just describes what tools exist. The MCP endpoint still controls your media stack with your credentials, so keep it behind Tailscale or an authenticated proxy (see Security). Discovery is not a substitute for verifying who you connect to.
When running an HTTP transport, the server publishes two documents, generated
live from whatever ENABLED_SERVICES advertises:
Endpoint | Description |
| The ARD capability manifest. Advertises this server as a single |
| The MCP server card the catalog references: every advertised tool with its |
Both are served with Content-Type: application/json. When ARD_PUBLIC_URL is
set (i.e. you've opted into public discovery), they also send
Access-Control-Allow-Origin: * so browser-based crawlers can fetch them from
any origin; on a private deployment that wildcard CORS header is omitted.
Server-side crawlers ignore CORS and work either way.
Identity & trust
The catalog entry's identifier is a domain-anchored urn:air URN — a
stable logical name (e.g. urn:air:arrstack.example.com:server:arrstack); it
does not need to resolve. A did:web host identity is opt-in: it's only
emitted when you set ARD_DID_WEB to a domain whose root you control and where
you host a DID document at
/.well-known/did.json. It is never inferred from ARD_PUBLIC_URL/ARD_DOMAIN,
so the catalog never advertises an identity that can't be verified. This
implementation does not include a cryptographic trustManifest (signing /
attestations) — that's an optional, enterprise-grade layer of the spec.
Publishing
Set
ARD_PUBLIC_URLto the URL clients reach this server at, e.g.https://arrstack.example.com. The catalog then advertises an absolute connection endpoint (override the URN namespace withARD_DOMAIN).Serve it over HTTPS on your public domain (a reverse proxy / Tailscale Funnel / Cloudflare Tunnel in front of port
8000).Check discovery works:
curl https://arrstack.example.com/.well-known/ai-catalog.json
Startup logs print the discovery URL when ARD is enabled. Set ARD_ENABLED=false
to turn the endpoints off.
Static hosting on GitHub Pages (no domain, no public server)
You don't need a custom domain or a publicly exposed MCP server to publish a
discoverable catalog — host it as a static file on GitHub Pages, anchored to the
github.io domain you already control. This repo ships a workflow
(.github/workflows/ard-pages.yml) that
regenerates the catalog from server.py on every change and deploys it, so it
never goes stale.
Setup (one-time, ~2 minutes):
Enable Pages: repo Settings → Pages → Build and deployment → Source: "GitHub Actions".
Flip the deploy gate on: repo Settings → Secrets and variables → Actions → Variables, add
ARD_PAGES_ENABLED=true. (The deploy job is skipped until you do this, so the workflow stays green beforehand — GitHub's token can't enable Pages for you, so this is an explicit opt-in.)Run it: push to
main(or Actions → Publish ARD catalog → Run workflow). The catalog goes live at:https://ct4nk3r.github.io/arrstack-mcp/.well-known/ai-catalog.jsonVerify:
curl -L https://ct4nk3r.github.io/arrstack-mcp/.well-known/ai-catalog.json
Before you complete steps 1–2, the workflow still runs and stays green: the Build ARD catalog job generates and validates the catalog, and the deploy job is simply skipped.
With no configuration, the publisher identity defaults to your Pages domain —
urn:air:ct4nk3r.github.io:server:arrstack. This matches the ARD spec's "solo
developer" examples (which use identifiers like urn:air:github.com:alice-dev:...).
GitHub Pages serves the file over HTTPS with Content-Type: application/json and
Access-Control-Allow-Origin: *, satisfying the ARD hosting requirements, and
the manifest embeds the full server card inline so it's self-contained.
The default identity is theurn:air URN only — a stable logical name, not a
resolvable address. A did:web identity is not advertised by default,
because a project Pages site (<owner>.github.io/<repo>/) can't host the
did.json at the <owner>.github.io root that did:web resolution expects.
Only set ARD_DID_WEB if you serve a DID document at that domain's root (e.g.
via a <owner>.github.io user site or a custom domain).
Optional repo variables (Settings → Secrets and variables → Actions → Variables) let you override the defaults:
Variable | Default | Purpose |
|
|
|
| (none) | Where your MCP server actually runs, advertised inside the card. Leave blank if it's private (e.g. Tailscale-only). |
|
| Friendly catalog host name. |
| (none) | Opt-in |
Getting it indexed by registries
Hosting makes the catalog reachable; registries still have to find it. Without a custom domain you have two routes:
Direct fetch / manual submission (works now). Any agent or registry you give the URL above can fetch and index it immediately — the spec explicitly supports bypassing search and fetching a known catalog directly. Many registries also let you submit a catalog URL for crawling.
Automatic
.well-knowndiscovery (optional, still no purchase). Crawlers that probehttps://<domain>/.well-known/ai-catalog.jsonexpect it at a domain root. To get that for free, create a GitHub user site — a repo namedct4nk3r.github.io— and host the same files there, so the catalog sits athttps://ct4nk3r.github.io/.well-known/ai-catalog.json(root, not a subpath). Copy.github/workflows/ard-pages.ymlandserver.py/ard.pyinto that repo, or just commit the generatedai-catalog.jsonfrom the manual command below.
If youdo get a domain later, you can either add a custom domain
to this Pages site (served at https://<your-domain>/.well-known/ai-catalog.json),
or keep hosting on github.io and add a DNS record on your domain:
_catalog._agents.<your-domain> TXT "url=https://ct4nk3r.github.io/arrstack-mcp/.well-known/ai-catalog.json".
Generating the files manually
To host elsewhere (another repo, S3, a CDN, your own server), generate the documents yourself:
ARD_DOMAIN=ct4nk3r.github.io ARD_EMBED_CARD=true \
python server.py --print-catalog > ai-catalog.json
ARD_DOMAIN=ct4nk3r.github.io \
python server.py --print-server-card > mcp-server-card.jsonARD_EMBED_CARD=true makes --print-catalog embed the server card inline so the
manifest is self-contained (the default auto only embeds when ARD_PUBLIC_URL
is unset). See examples/ for sample output.
Finding Your API Keys
Sonarr: Settings → General → API Key
Radarr: Settings → General → API Key
Lidarr: Settings → General → API Key
Prowlarr: Settings → General → API Key
qBittorrent: Settings → Web UI → Authentication
SABnzbd: Config → General → API Key
RDTClient: Settings → General → Authentication (or set
Authentication: Noneto allow open access on a trusted network)Jellyfin: Dashboard → API Keys → Add
RomM: User profile → API Tokens, or configure
ROMM_USERandROMM_PASSGameVault: Admin panel → API Keys
Bookshelf: Settings → General → API Key (same as Readarr)
Security
The HTTP/SSE transports listen on 0.0.0.0:8000 by default, and MCP does not
provide authentication by itself. Anyone who can reach that port can invoke
tools using the configured service credentials.
Prefer stdio for same-machine clients.
For remote access, restrict port
8000to Tailscale or place it behind an authenticated reverse proxy.DNS-rebinding protection is enabled. Set
MCP_ALLOWED_HOSTSto the exact hostnames or IP addresses clients use, with optional wildcard ports:localhost:*,127.0.0.1:*,arrstack-mcp:*,100.64.0.1:*.The Docker image runs as non-root user
appuserwith UID1000.API keys and request headers are never logged.
License
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/CT4nk3r/arrstack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server