Skip to main content
Glama
mcp-arr-lite

mcp-arr-lite

by Cuti27

mcp-arr-lite

GHCR License

轻量级 MCP 服务器,用于 Radarr 和 Sonarr,提供少量精细、专用工具。非官方项目。

为什么有这个项目?

通用的“arr”MCP 服务器(如 Knuckles-Team/arr-mcp)会从 Arr API 自动生成数千个工具,并将整个接口交给 LLM。mcp-arr-lite 则相反:

  • 精细工具:仅包含“能帮我下载 X 吗?”流程所需操作——查找、添加、搜索发布、下载——没有管理/配置噪音。

  • 首选索引器逻辑:搜索工具默认使用数值优先级最低的索引器,确定性而非依赖提示。

  • HITL 友好:只读工具(查找、列出索引器)可自动批准;添加/搜索/下载需要明确用户批准。

  • 双传输方式:stdio(npx)和 HTTP(Docker)。

与 Knuckles-Team/arr-mcp 的比较

方面

arr-mcp

mcp-arr-lite

工具范围

1123 个自动生成工具

9 个手写工具

首选索引器

依赖提示

编码在搜索工具中

应用

6+ 个 Arr 应用

Radarr + Sonarr

传输方式

stdio

stdio + HTTP

重点

整个 API

添加与下载流程

Related MCP server: overseerr-mcp

工具

工具

只读

描述

radarr_lookup / sonarr_lookup

✅

按标题搜索电影/剧集,返回名称和海报 URL

list_indexers

✅

列出应用的所有索引器,标记首选索引器

radarr_add / sonarr_add

❌

添加电影/剧集(可选触发搜索)

radarr_search_releases / sonarr_search_releases

❌

搜索发布版本,默认使用首选索引器

radarr_grab / sonarr_grab

❌

开始下载发布版本

要求

  • Node.js >= 20 (npx) 或 Docker (容器)

  • Radarr 和/或 Sonarr,并拥有 API 密钥

安装

Docker Compose(推荐)

services:
  arr-mcp:
    image: ghcr.io/cuti27/mcp-arr-lite:latest
    restart: unless-stopped
    environment:
      - RADARR_URL=http://radarr:7878
      - RADARR_API_KEY=your-radarr-api-key
      - SONARR_URL=http://sonarr:8989
      - SONARR_API_KEY=your-sonarr-api-key
      - MCP_TRANSPORT=http
      - MCP_AUTH_TOKEN=your-secure-token-here
      - PORT=3000
      - HOST=0.0.0.0
      - LOG_LEVEL=info

仅配置你使用的应用——Radarr 和 Sonarr 在启动时都是可选的;未配置的应用的工具将返回错误。

stdio (npx)

RADARR_URL=http://radarr:7878 \
RADARR_API_KEY=... \
SONARR_URL=http://sonarr:8989 \
SONARR_API_KEY=... \
MCP_TRANSPORT=stdio \
npx -y @cuti27/mcp-arr-lite

环境变量

参见 .env.example。每个应用必需:RADARR_URL + RADARR_API_KEY,SONARR_URL + SONARR_API_KEY。当 MCP_TRANSPORT=http 时,需要 MCP_AUTH_TOKEN。

安全

  • HTTP 传输强制使用 Bearer 认证、速率限制(60 请求/分钟/IP)和 1 MB 请求体限制。

  • API 密钥在日志中被隐藏。

  • 仅在设置了 MCP_AUTH_TOKEN 且位于 TLS 终止反向代理后面时运行 HTTP 传输。

许可证

MIT

Available Tools

9 tools
list_indexersA

List configured indexers for Radarr or Sonarr, marking the preferred one (lowest numeric priority among enabled). Use this when a preferred indexer returns no releases and you need to show the user the alternatives.

Inputs: app.

radarr_addA

Add a movie to Radarr. By default starts searching for a release immediately. Requires user confirmation before calling.

Inputs: title (required), tmdbId (required), search, monitored, +2 more.

radarr_grabB

Start downloading a movie release in Radarr. Requires user confirmation before calling.

Inputs: guid (required), indexerId.

radarr_lookupA

Search Radarr for a movie by title (or TMDB/IMDb id). Returns candidates with title, year, overview and poster URL. Use this to confirm with the user before adding.

Inputs: term (required).

radarr_search_releasesA

Search available releases for a movie in Radarr. Defaults to the preferred indexer (lowest numeric priority). If the preferred indexer returns no results, ask the user which alternative indexer to use and pass its id.

Inputs: movieId (required), indexer.

sonarr_addA

Add a series to Sonarr. By default starts searching for missing episodes immediately. Requires user confirmation before calling.

Inputs: title (required), tvdbId (required), search, monitored, +3 more.

sonarr_grabA

Start downloading a series episode release in Sonarr. Requires user confirmation before calling.

Inputs: guid (required), indexerId.

sonarr_lookupA

Search Sonarr for a series by title (or TVDB/IMDb id). Returns candidates with title, year, overview and poster URL. Use this to confirm with the user before adding.

Inputs: term (required).

sonarr_search_releasesA

Search available releases for one or more episodes in Sonarr. Defaults to the preferred indexer (lowest numeric priority). If the preferred indexer returns no results, ask the user which alternative indexer to use and pass its id.

Inputs: indexer, episodeId, episodeIds.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose, separated by service (Radarr vs. Sonarr) and action (lookup, add, search_releases, grab). The list_indexers tool is generic but well-defined, with no overlap between tools.

    Naming Consistency5/5

    Tool names follow a consistent pattern: service_verb (e.g., radarr_lookup, sonarr_add). The list_indexers deviates slightly but still follows a verb_object structure, and there is no mixing of conventions.

    Tool Count5/5

    With 9 tools covering two services and a core workflow, the count is well-scoped. Each tool earns its place, and there is neither bloat nor insufficiency for the 'lite' purpose.

    Completeness4/5

    The tool set covers the primary workflow: lookup, add, search releases, and grab for both movies and series. Missing operations like delete or update are minor gaps given the 'lite' scope, and the list_indexers aids release search.

    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
    • F
      license
      Not graded
      quality
      B
      maintenance
      MCP server for Overseerr that enables searching, requesting, and managing media (movies and TV shows) through natural language, with integration to Radarr/Sonarr for automated downloads.
      -
    • 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