Skip to main content
Glama
servarr-mcp

servarr-mcp

by CarlDog

servarr-mcp

Servarr 스택(Sonarr, Radarr, Lidarr, Readarr, Prowlarr)을 위한 MCP 서버로, Docker 컨테이너로 패키징되어 있습니다. MCP 클라이언트(Claude Desktop 등)가 실행 중인 *arr 앱을 탐색하고 검색할 수 있게 해줍니다.

앱은 선택 사항입니다. 실제로 실행 중인 앱만 구성하면 해당 도구만 등록됩니다.

도구

Sonarr (TV)

도구

설명

sonarr_list_series

Sonarr가 추적하는 모든 TV 시리즈 목록

sonarr_get_series

ID별 시리즈 세부 정보

sonarr_lookup_series

추가할 새 시리즈를 TVDB에서 검색

sonarr_list_episodes

시리즈의 에피소드 목록

sonarr_calendar

예정된 에피소드

sonarr_queue

현재 다운로드 대기열

sonarr_history

최근 기록 (최신순)

Radarr (영화)

도구

설명

radarr_list_movies

Radarr가 추적하는 모든 영화 목록

radarr_get_movie

ID별 영화 세부 정보

radarr_lookup_movie

추가할 새 영화를 TMDB에서 검색

radarr_calendar

예정된 영화 개봉일

radarr_queue

현재 다운로드 대기열

radarr_history

최근 기록 (최신순)

Lidarr (음악)

도구

설명

lidarr_list_artists

Lidarr가 추적하는 모든 아티스트 목록

lidarr_get_artist

ID별 아티스트 세부 정보

lidarr_lookup_artist

추가할 새 아티스트 검색

lidarr_list_albums

앨범 목록 (아티스트별 선택 가능)

lidarr_queue

현재 다운로드 대기열

lidarr_history

최근 기록

Readarr (도서)

도구

설명

readarr_list_authors

Readarr가 추적하는 모든 저자 목록

readarr_get_author

ID별 저자 세부 정보

readarr_lookup_author

추가할 새 저자 검색

readarr_list_books

도서 목록 (저자별 선택 가능)

readarr_queue

현재 다운로드 대기열

readarr_history

최근 기록

Prowlarr (인덱서 관리자)

도구

설명

prowlarr_list_indexers

구성된 모든 인덱서

prowlarr_indexer_stats

인덱서별 쿼리/그랩 통계

prowlarr_search

활성화된 인덱서 전체 검색

prowlarr_history

최근 기록 (쿼리, 그랩)

Related MCP server: Arr-MCP

구성

각 앱은 두 개의 환경 변수를 사용합니다. 도구를 활성화하려면 앱에 대해 두 변수를 모두 설정하고, 앱을 완전히 건너뛰려면 설정하지 마십시오.

앱

URL 변수

API 키 변수

기본 포트

Sonarr

SONARR_URL

SONARR_API_KEY

8989

Radarr

RADARR_URL

RADARR_API_KEY

7878

Lidarr

LIDARR_URL

LIDARR_API_KEY

8686

Readarr

READARR_URL

READARR_API_KEY

8787

Prowlarr

PROWLARR_URL

PROWLARR_API_KEY

9696

API 키는 각 앱의 설정 → 일반 → API 키에서 찾을 수 있습니다.

최소 하나 이상의 앱이 구성되어야 하며, 그렇지 않으면 서버가 오류와 함께 종료됩니다.

Docker로 실행

docker build -t servarr-mcp .
docker run -i --rm \
  -e SONARR_URL=http://192.168.1.50:8989 -e SONARR_API_KEY=... \
  -e RADARR_URL=http://192.168.1.50:7878 -e RADARR_API_KEY=... \
  -e PROWLARR_URL=http://192.168.1.50:9696 -e PROWLARR_API_KEY=... \
  servarr-mcp

Claude Desktop과 함께 사용

claude_desktop_config.json에 추가하십시오:

{
  "mcpServers": {
    "servarr": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "SONARR_URL", "-e", "SONARR_API_KEY",
        "-e", "RADARR_URL", "-e", "RADARR_API_KEY",
        "-e", "PROWLARR_URL", "-e", "PROWLARR_API_KEY",
        "servarr-mcp"
      ],
      "env": {
        "SONARR_URL": "http://192.168.1.50:8989",
        "SONARR_API_KEY": "...",
        "RADARR_URL": "http://192.168.1.50:7878",
        "RADARR_API_KEY": "...",
        "PROWLARR_URL": "http://192.168.1.50:9696",
        "PROWLARR_API_KEY": "..."
      }
    }
  }
}

실행 중인 앱에 맞춰 -e 및 env 블록 패턴을 반복하십시오.

로컬 개발

npm install
cp .env.example .env  # then edit
SONARR_URL=... SONARR_API_KEY=... npm run dev

보안

  • 컨테이너는 루트가 아닌 사용자(servarr)로 실행됩니다.

  • API 키는 환경 변수를 통해 전달되므로 이미지에 절대 포함하지 마십시오.

  • .githooks/pre-commit은 모든 커밋 시 gitleaks를 실행합니다. 복제본당 한 번 활성화하십시오: git config core.hooksPath .githooks.

Available Tools

29 tools
sonarr_add_seriesSonarr: Add SeriesA

Add a new series to Sonarr by TVDB id. Internally calls /series/lookup to fetch the full series metadata, then POSTs /series with the merged body. Returns the created SeriesResource. Workflow: call sonarr_lookup_series first to get the tvdbId, sonarr_list_quality_profiles for quality_profile_id, sonarr_list_root_folders for root_folder_path. Note: search_for_missing_episodes defaults to false here — Sonarr's server-side default is true, which may immediately hit indexers; flip explicitly if you want that.

Inputs: tvdb_id (required), quality_profile_id (required), root_folder_path (required), monitored, +3 more.

sonarr_calendarSonarr: CalendarA
Read-only

Get upcoming/recent episodes from Sonarr's calendar within an ISO date window. Use for 'what's airing this week?' queries. Movies live in radarr_calendar; Lidarr/Readarr/Prowlarr have no calendar surface.

Inputs: start, end.

sonarr_diskspaceSonarr: Disk SpaceA
Read-only

Get per-mount disk space (free/total bytes) seen by Sonarr. Useful for 'where do I have room to add this?' decisions; pair with sonarr_list_root_folders to map paths to capacity.

Inputs: no named parameters.

sonarr_edit_seriesSonarr: Edit SeriesA
DestructiveIdempotent

Edit settings on an existing Sonarr series. Internally GETs the current SeriesResource, applies your changes, and PUTs the full resource back. Pass only the fields you want to change — others are preserved. WARNING: changing root_folder_path moves files on disk; watch your storage and download client.

Inputs: id (required), monitored, quality_profile_id, root_folder_path, +2 more.

sonarr_get_commandSonarr: Get Command StatusA
Read-only

Poll the status of an async command queued by sonarr_search_*, sonarr_refresh_series, etc. Returns the current CommandResource (status: queued|started|completed|failed, exception, started/ended timestamps).

Inputs: id (required).

sonarr_get_episodeSonarr: Get EpisodeA
Read-only

Get full details for a single Sonarr episode by ID — air date, overview, file info, monitored state, etc.

Inputs: id (required).

sonarr_get_seriesSonarr: Get SeriesA
Read-only

Get full details for a Sonarr series by id — overview, cast, seasons, episode counts, file paths. Drill-down companion to sonarr_list_series and sonarr_lookup_series.

Inputs: id (required).

sonarr_grab_releaseSonarr: Grab ReleaseA

HIGH RISK. Immediately queues a download from the indexer for the given release. Pass the release object verbatim from sonarr_release_search output — Sonarr looks the release up server-side by guid+indexerId, so the cache must still be warm (re-run release_search if the grab fails with a 'not found' error). If the release was rejected by the quality profile, set should_override to true to grab anyway.

Inputs: release (required), should_override.

sonarr_healthSonarr: HealthA
Read-only

Get aggregated Sonarr health warnings (indexer down, low disk, etc.). Summary view; for actionable per-indexer failure detail (which indexers, since when, why) use prowlarr_indexer_status.

Inputs: no named parameters.

sonarr_historySonarr: HistoryA
Read-only

Get recent Sonarr history (newest first). For per-resource scope use sonarr_history_series. To re-trigger a search for a wrong-grab event, use sonarr_history_mark_failed.

Inputs: page_size.

sonarr_history_mark_failedSonarr: Mark History FailedA
DestructiveIdempotent

Mark a Sonarr history entry as failed. Triggers Sonarr to re-search for a replacement on the next interval. Useful when an episode imported as the wrong cut/quality/release. Returns a confirmation; no body from the *arr API.

Inputs: id (required).

sonarr_history_seriesSonarr: Series HistoryA
Read-only

Get history scoped to a single series — every grab/import/upgrade/delete event. Much narrower than sonarr_history, which is server-wide and routinely runs into hundreds of thousands of records.

Inputs: series_id (required).

sonarr_list_episodesSonarr: List EpisodesA
Read-only

List every episode for a Sonarr series. Returns episode ids you can drill into with sonarr_get_episode or pass to sonarr_release_search / sonarr_search_episode.

Inputs: series_id (required).

sonarr_list_quality_profilesSonarr: List Quality ProfilesA
Read-only

List Sonarr quality profiles. The id is required as qualityProfileId when adding a series.

Inputs: no named parameters.

sonarr_list_root_foldersSonarr: List Root FoldersA
Read-only

List Sonarr root folders (where series are stored on disk). The path is required as rootFolderPath when adding a series.

Inputs: no named parameters.

sonarr_list_seriesSonarr: List SeriesA
Read-only

List TV series tracked by Sonarr as a paged result. Default returns slim fields per series (id, title, year, monitored, tvdbId, imdbId, tmdbId, qualityProfileId, tags, path, network, status, ended, nextAiring, previousAiring, runtime, seasonFolder, statistics — statistics carries seasonCount / episodeFileCount / episodeCount / sizeOnDisk); set verbose=true for the full SeriesResource. Sonarr's upstream /series returns the entire library in one shot — paging here is server-side. For full details on one series (including all seasons), use sonarr_get_series. To find a series NOT yet tracked, use sonarr_lookup_series (TVDB metadata).

Inputs: page, page_size, verbose.

sonarr_list_tagsSonarr: List TagsA
Read-only

List Sonarr tags (label + id pairs). Useful for scoping queries by tag (e.g. 'show me everything tagged kids') and for setting tag ids on add/edit operations.

Inputs: no named parameters.

sonarr_lookup_seriesSonarr: Lookup Series (TVDB)A
Read-only

Fuzzy search TVDB for a series to potentially add. Returns SeriesResource with tvdbId etc., suitable for sonarr_add_series. Searches TVDB's catalogue, NOT your tracked library — use sonarr_list_series / sonarr_get_series for what's already tracked.

Inputs: term (required).

sonarr_queueSonarr: QueueA
Read-only

Get the current Sonarr download queue, paged. Default returns the first 20 records. Bump page_size or step through pages when the queue is large.

Inputs: page, page_size.

sonarr_queue_regrabSonarr: Re-grab Queue ItemA

Force Sonarr to re-grab a stuck queue item from the indexer. Useful when a download is hung or the file is corrupt. Returns the updated queue entry.

Inputs: id (required).

sonarr_queue_removeSonarr: Remove from QueueA
DestructiveIdempotent

Remove a single item from Sonarr's download queue. All four flags are exposed because the server-side defaults are not obviously safe — in particular, removeFromClient defaults to true on Sonarr's side, which deletes the file from the download client. This tool defaults remove_from_client to false; flip it explicitly if you want the file gone.

Inputs: id (required), remove_from_client, blocklist, skip_redownload, +1 more.

sonarr_refresh_seriesSonarr: Refresh Series MetadataA
Idempotent

Trigger Sonarr to re-pull metadata from TVDB for one series (cast, episode list, artwork). Async — returns the queued CommandResource. Poll status with sonarr_get_command (use the returned id).

Inputs: series_id (required).

sonarr_search_episodeSonarr: Search EpisodesA
Idempotent

Trigger Sonarr to search indexers for one or more specific episodes. Async — returns the queued CommandResource. Poll status with sonarr_get_command (use the returned id).

Inputs: episode_ids (required).

sonarr_search_missingSonarr: Search Missing EpisodesA
Idempotent

Trigger Sonarr to search indexers for all monitored, missing episodes. Async — returns the queued CommandResource (id, status); the actual search runs in the background. Poll status with sonarr_get_command (use the returned id).

Inputs: no named parameters.

sonarr_search_seasonSonarr: Search SeasonA
Idempotent

Trigger Sonarr to search indexers for one season of one series. Async — returns the queued CommandResource. Poll status with sonarr_get_command (use the returned id).

Inputs: series_id (required), season_number (required).

sonarr_search_seriesSonarr: Search SeriesA
Idempotent

Trigger Sonarr to search indexers for all monitored, missing episodes of one series. Async — returns the queued CommandResource. Poll status with sonarr_get_command (use the returned id).

Inputs: series_id (required).

sonarr_wanted_cutoffSonarr: Wanted (Below Cutoff)A
Read-only

List episodes downloaded below cutoff quality — upgrade candidates. Filters to monitored items by default. Items here are upgrade candidates; trigger a re-search with sonarr_search_missing (which also picks up cutoff-unmet items by default).

Inputs: page_size, monitored.

sonarr_wanted_missingSonarr: Wanted (Missing)A
Read-only

List episodes that are wanted but not yet downloaded. Filters to monitored items by default. Once you've identified what's missing, trigger an indexer hunt with sonarr_search_missing.

Inputs: page_size, monitored.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 29 tools

    Disambiguation5/5

    Each tool targets a distinct action on a specific entity (series, episode, queue, history, etc.), with clear scoping differences (e.g., sonarr_list_series vs sonarr_lookup_series, sonarr_history vs sonarr_history_series). No two tools appear to do the same thing.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'sonarr_' prefix (e.g., sonarr_add_series, sonarr_list_episodes, sonarr_get_command). No mixing of naming conventions.

    Tool Count4/5

    29 tools for a full-featured media management server is slightly high but justified given the breadth of operations (CRUD, search, queue, history, system). Each tool serves a distinct purpose without unnecessary duplication.

    Completeness4/5

    Covers core workflows: adding/editing series, managing episodes, queue control, history, health checks, and system info. Missing a delete series tool and some edge-case operations, but the surface is largely complete for typical usage.

    Maintenance

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server for managing a media server stack (Plex, Radarr, Overseerr, Bazarr, Prowlarr, Trakt.tv) using natural language to browse, request, and discover content.
      12
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server to manage your *ARR media stack (Radarr, Sonarr, Lidarr, Readarr, Prowlarr) for searching, adding, and managing movies, TV shows, music, books, and indexers.
      1
      ISC
    • F
      license
      Not graded
      quality
      C
      maintenance
      A remote MCP server for managing your arr stack (Sonarr, Radarr, qBittorrent, Seerr) via Claude.ai on mobile, enabling you to fix bad downloads, block release groups, request new content, and check trending.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that enables local LLMs to manage a home media stack including Radarr, Sonarr, Prowlarr, and others.
      MIT