Skip to main content
Glama
amphineko

prowlarr-mcp

by amphineko

prowlarr-mcp

MCP-сервер для Prowlarr.

Настройка

cd prowlarr-mcp
uv sync
cp .env.example .env

Укажите PROWLARR_API_KEY в .env. API-ключ доступен в Prowlarr в разделе Настройки → Общие → Безопасность.

Конфигурация:

Переменная

По умолчанию

Описание

PROWLARR_URL

http://localhost:9696

Базовый URL Prowlarr, включая путь к URL-базе

PROWLARR_API_KEY

required

API-ключ Prowlarr

PROWLARR_TIMEOUT_SECONDS

60

HTTP-таймаут, больше 0 и не более 300 секунд

PROWLARR_MAX_RESULTS

100

Жёсткий верхний предел, принимаемый параметром limit

Related MCP server: MCP *arr Server

Запуск

uv run prowlarr-mcp

Пример stdio-конфигурации в стиле Codex/OpenCode:

{
  "command": "uv",
  "args": [
    "--directory",
    "/path/to/prowlarr-mcp",
    "run",
    "prowlarr-mcp"
  ]
}

Инструмент

search_releases принимает:

  • query: текстовый запрос; пустая строка запрашивает последние релизы.

  • search_type: search, tvsearch, movie, music или book.

  • indexer_ids: опциональные идентификаторы индексаторов Prowlarr.

  • categories: опциональные идентификаторы категорий Newznab.

  • limit: количество результатов, по умолчанию 20 и ограничено конфигурацией.

  • offset: неотрицательное смещение результата.

Ответ намеренно меньше полного ReleaseResource Prowlarr, но сохраняет indexer_id и guid для будущего рабочего процесса отправки загрузок. Prowlarr может применять limit независимо к нескольким индексаторам, поэтому MCP-сервер также применяет его к объединённому ответу. truncated означает, что MCP-сервер отбросил часть ответа, который он получил; это не индикатор постраничной навигации has_more и не может подтвердить, есть ли в Prowlarr дополнительные результаты.

Дорожная карта

  • v0.1: Поиск релизов через настроенные индексаторы Prowlarr.

  • Обнаружение доступных индексаторов и категорий поиска.

  • Отправка выбранного релиза в настроенный клиент загрузки.

  • Просмотр состояния Prowlarr, статуса индексаторов и истории поиска.

Тестирование с MCP-клиентом

Репозиторий содержит универсальный stdio-клиент для запуска сервера и вызова одного инструмента:

uv run src/prowlarr_mcp/scripts/mcp_client.py \
  --command "uv run prowlarr-mcp" \
  --method "search_releases" \
  --arguments '{"query": "yani neko"}'

Используйте --cwd, когда команда сервера должна выполняться из другого каталога, и --timeout, чтобы переопределить таймаут вызова инструмента по умолчанию (60 секунд). Скрипт выводит структурированные данные инструмента в формате JSON и завершается с ненулевым кодом при некорректном вводе, ошибках подключения или ошибках инструментов MCP.

Разработка

uv run ruff format --check .
uv run ruff check .
uv run pyrefly check
uv run python -m unittest discover -s tests

Available Tools

1 tool
search_releasesA
Read-onlyIdempotent

Search enabled Prowlarr indexers for Torrent or Usenet releases.

An empty query requests recent releases. Omit indexer_ids and categories to search all enabled indexers and categories. Results preserve Prowlarr's ordering. The indexer_id and guid identify a release for a future download submission capability, which is not available in version 0.1.

NameRequiredDescriptionDefault
limitNo
queryNo
offsetNo
categoriesNo
indexer_idsNo
search_typeNosearch

Output Schema

NameRequiredDescription
limitYes
queryYes
offsetYes
releasesYes
returnedYes
truncatedYes
search_typeYes

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already provide readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is clear. The description adds meaningful behavioral context beyond annotations: results preserve Prowlarr ordering, empty queries mean recent releases, and indexer_id plus guid are not yet usable for downloads. It does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact: three short sentences that front-load the main action and then add behavioral clarifications. The future-download-availability caveat is a small but relevant addition that prevents the agent from assuming a download capability that doesn't exist in this version. No sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple parameter set, no required parameters, a complete output schema, and safety annotations, this description covers everything needed to call the tool correctly. An agent can understand the search scope, the empty-query special case, filtering by indexers/categories, and the result-ordering guarantee.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates by explaining the key query semantics: empty query means recent releases, and omitted indexer_ids/categories search all enabled ones. It does not explicitly describe limit, offset, or search_type, but those are straightforward from the schema defaults and the enum values. This is strong semantic coverage despite a few remaining gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific action ('Search'), a specific resource ('enabled Prowlarr indexers'), and the result domain ('Torrent or Usenet releases'). The empty-query and omit-filter explanations further clarify the scope. Although there are no sibling tools to differentiate from, the purpose is unambiguous and complete.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly tells the agent when behaviors change: an empty query requests recent releases, and omitting indexer_ids and categories searches all enabled indexers and categories. There are no sibling tools to compare against, so the lack of alternatives guidance is acceptable; the exclusion of download submission capability is also useful context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 1 tool updatev0.1.0
    • First observedsearch_releases

TDQS

A4.4/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of confusing it with another. Its purpose is clearly focused on searching releases, making misselection unnecessary.

Naming Consistency5/5

search_releases follows a clean verb_noun naming convention. With a single tool there is no conflicting pattern, and the name accurately describes the operation.

Tool Count4/5

A single tool is slightly thin for a server named Prowlarr, but it is appropriate for the currently advertised search-only capability. The missing functionality is explicitly reserved for a future version, so the count is reasonable, not excessive.

Completeness3/5

The search tool offers robust coverage for querying, filtering by categories or indexer_ids, and fetching recent releases. However, there is no way to discover available indexer_ids or continue from a search result to download submission, and the description explicitly notes that capability is unavailable, leaving a meaningful workflow gap.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables interaction with qBittorrent through its Web API to search for torrents using search plugins and manage downloads. Supports torrent searching, downloading via URLs/magnet links, and torrent management operations like pause, resume, and delete.
    7
    3
    -
  • A
    license
    A
    quality
    D
    maintenance
    Enables web search capabilities via a SearXNG instance, allowing for filtered searches across categories like news, images, and science. It supports multi-language queries, time-range filtering, and safe search options to provide formatted results with metadata.
    1
    296 npm
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server exposing Prowlarr's API v1 as tools for managing indexers, applications, download clients, and more, including cross-indexer searches and system commands.
    10
    MIT