media-mcp
Provides tools for Plex media server operations: list libraries, scan a library, check for titles, view recently added media, and read watch history. Plex watch history drives the recommendation taste profile.
Provides tools for Radarr movie management: list and search movies, add movies, inspect queues and calendars, trigger searches and refreshes, view movie files, review setup health/quality profiles/root folders/naming/download clients/tags, and compare setup against TRaSH Guides.
Provides tools for Sonarr TV management: list and search series, add series, inspect queues and calendars, get episodes, search missing or specific episodes, refresh series, view episode files, review setup health/quality profiles/root folders/naming/download clients/tags, and compare setup against TRaSH Guides.
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., "@media-mcp Where's Project Hail Mary? Is it downloaded and in Plex yet?"
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.
media-mcp
An MCP server for a home media stack: Radarr, Sonarr, SABnzbd, Plex and Seerr, plus recommendations built from your Plex watch history.
Ask an AI assistant things like:
"What new movies came out recently that I'd like?"
"Give me this week's recommendations." Then: "Approve m1383731 and t243316, reject the rest."
"Where's Project Hail Mary? Is it downloaded and in Plex yet?"
"Scan the Plex library."
"Compare my Radarr setup to TRaSH Guides."
How recommendations work
Taste comes from Plex only. Episode play counts show which shows you rewatch: 1,600 plays of a 186-episode show is about 9 times through, and that weighs far more than a show you sampled once. Movie plays count too, and movies you keep in the library count a little.
Candidates come from Seerr, which proxies TMDB recommendations and the trending, popular and upcoming lists. No TMDB key is needed.
Anything you already have is dropped: titles in Plex, Radarr or Sonarr, anything Seerr marks as requested or available, and anything suggested before.
Scoring combines which of your favorites point to a title, how well its genres match what you watch, TMDB rating, and how new it is. Languages that are rare in your library score down. Half of each batch is reserved for titles from the last two years or coming soon, and no single show can drive more than two picks.
Approve or reject. Approving requests the title in Seerr, which sends it to Radarr or Sonarr and starts the download. Rejected titles never come back, and their genres count slightly against future picks.
The queue is a JSON file in ~/.local/share/media-mcp/.
Related MCP server: media-stack-mcp
Tools
Area | Tools |
Pipeline |
|
Recommendations |
|
Seerr |
|
Radarr |
|
Sonarr |
|
Radarr/Sonarr setup |
|
TRaSH Guides |
|
SABnzbd |
|
Plex |
|
Only tools for configured services are listed. Recommendations need both Plex and Seerr.
Setup
Requires Node.js 20 or newer.
git clone https://github.com/lemur001/MCP-for-Radarr-Sonarr-SABnzbd-Plex.git
cd MCP-for-Radarr-Sonarr-SABnzbd-Plex
npm install && npm run buildPut your keys in ~/.config/media-mcp/.env (see .env.example) and chmod 600 it. Values in the process environment override the file, and an empty value switches a service off.
Variable | Where to find it |
| Radarr > Settings > General |
| Sonarr > Settings > General |
| SABnzbd > Config > General |
| |
| Seerr > Settings > General |
| Optional. Hides and refuses every tool that changes something. |
| Optional. Where the recommendation queue lives. |
Claude Code
claude mcp add --scope user media -- node /path/to/MCP-for-Radarr-Sonarr-SABnzbd-Plex/dist/index.jsOther clients
Any MCP client that runs a local command works the same way: command node, argument /path/to/dist/index.js.
Remote clients (ChatGPT, claude.ai on the web or phone) need an HTTPS address. MCP_TRANSPORT=http serves MCP on http://127.0.0.1:3000/mcp (HOST, PORT and MCP_PATH change that). It has no authentication of its own: do not expose it to the internet without an authenticating proxy in front.
Weekly recommendations
deploy/install-timer.shInstalls a systemd user timer that adds 5 movies and 5 shows to the queue every Monday at 08:00. Edit OnCalendar in deploy/media-mcp-recommend.timer first for another schedule. To run it once by hand: node dist/index.js recommend 5.
Development
npm testTests run against fake services, so they need no real keys.
Credits
The Radarr/Sonarr client and tools, TRaSH Guides client and tools, read-only mode, argument checks, key redaction and HTTP transport are adapted from mcp-arr by Jim Christian (MIT). Each adapted file says so in its header; see THIRD_PARTY_LICENSE-mcp-arr.
Available Tools
9 toolsmedia_statusARead-only
Which services (Radarr, Sonarr, SABnzbd, Plex, Seerr) are configured and reachable, with versions.
Inputs: no named parameters.
media_trackARead-only
Follow one movie or show through the whole pipeline: Seerr request, Radarr/Sonarr, SABnzbd download progress, and whether Plex has it and it is playable. Gives a one-line stage and the next step.
Inputs: title, tmdbId, mediaType.
trash_compare_namingARead-only
Compare your Radarr or Sonarr naming with TRaSH Guides' recommendation for your media server. Changes nothing.
Inputs: service (required), mediaServer.
trash_compare_profileARead-only
Compare one of your quality profiles with a TRaSH Guides profile: qualities and custom formats you're missing or have extra. Changes nothing.
Inputs: service (required), profileId (required), trashProfile (required).
trash_get_namingCRead-only
TRaSH Guides' recommended file and folder naming for your media server.
Inputs: service (required), mediaServer.
trash_get_profileARead-only
One TRaSH Guides quality profile in full: qualities, cutoff and custom formats.
Inputs: profile (required), service (required).
trash_get_quality_sizesBRead-only
TRaSH Guides' recommended minimum, preferred and maximum file size for each quality.
Inputs: service (required), type.
trash_list_custom_formatsBRead-only
TRaSH Guides custom formats (rules that score releases up or down), optionally by category.
Inputs: service (required), category.
trash_list_profilesBRead-only
TRaSH Guides' recommended quality profiles for Radarr or Sonarr (1080p, 4K, Remux and so on).
Inputs: service (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a distinct target: media_status covers service health, media_track follows a single item through the pipeline, and the trash_* tools split cleanly between listing profiles, getting one profile, listing custom formats, quality sizes, naming, and two different comparison targets (profile vs naming). The only mild overlap is between trash_list_profiles and trash_get_profile, but that is the standard list/detail pair and descriptions make it clear.
The trash_* family is highly consistent verb_noun (list_profiles, get_profile, list_custom_formats, get_quality_sizes, get_naming, compare_profile, compare_naming). The media_* pair deviates slightly: media_track is a verb but media_status is a bare noun, where media_get_status would fit the pattern better.
Nine tools is well within the sweet spot and each earns its place: two operational media tools plus seven TRaSH Guides tools that map to distinct reference artifacts. No redundant or filler tools are present.
The surface is entirely read-only: it can inspect services, track an item, and compare against TRaSH recommendations, but there is no way to apply an imported profile or naming scheme, add/search media, or manage the download queue. For a media automation server this leaves notable dead ends, though the diagnostic and advisory workflows are covered.
Maintenance
Related MCP Connectors
The media memory layer for AI agents and their humans. Your AI client can search your collection, add and log what you've finished, update ratings and lists, and find patterns across everything you've read, watched, played, and listened to.
Track the TV and films you watch, and find more like them, by talking to your own AI.
Media memory for AI agents: books, movies, music, shows, anime, podcasts, games, manga.
Image and video AI tools and your own pipelines, run from any AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.10MIT
- AlicenseBqualityDmaintenanceEnables control and management of a self-hosted media stack (Radarr, Sonarr, Prowlarr, SABnzbd, qBittorrent) through natural language via MCP.15GPL 3.0
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage TV shows and movies via Sonarr and Radarr, including searching, adding, and monitoring downloads.-
- AlicenseAqualityBmaintenanceEnables AI assistants to browse an entire media server library—watched and unwatched items, per-user watch history, continue-watching, recommendations, and library statistics—alongside safe curation writes such as playlists, collections, ratings, watched state, and the plex.tv watchlist. Optional playback control and Tautulli statistics extend it, while a read-only mode removes every write.2296 npmMIT