Skip to main content
Glama
amphineko

prowlarr-mcp

by amphineko

prowlarr-mcp

Un servidor MCP para html.

Configuración

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

Define PROWLARR_API_KEY en .env. La clave de API está disponible en Prowlarr en Configuración → General → Seguridad.

Configuración:

Variable

Predeterminado

Descripción

PROWLARR_URL

http://localhost:9696

URL base de Prowlarr, incluida cualquier ruta base de URL

PROWLARR_API_KEY

requerida

Clave de API de Prowlarr

PROWLARR_TIMEOUT_SECONDS

60

Tiempo de espera HTTP, mayor que 0 y como máximo 300 segundos

PROWLARR_MAX_RESULTS

100

Tope máximo aceptado por limit

Related MCP server: MCP *arr Server

Ejecución

uv run prowlarr-mcp

Ejemplo de configuración stdio estilo Codex/OpenCode:

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

Herramienta

search_releases acepta:

  • query: consulta de texto; una cadena vacía busca lanzamientos recientes.

  • search_type: search, tvsearch, movie, music o book.

  • indexer_ids: IDs de indexadores de Prowlarr opcionales.

  • categories: IDs de categorías Newznab opcionales.

  • limit: número de resultados, 20 por defecto y con un tope según la configuración.

  • offset: desplazamiento de resultados no negativo.

La respuesta es intencionadamente más pequeña que el ReleaseResource completo de Prowlarr, pero conserva indexer_id y guid para un futuro flujo de trabajo de envío de descargas. Prowlarr puede aplicar limit de forma independiente a varios indexadores, por lo que el servidor MCP también lo aplica a la respuesta combinada. truncated significa que el servidor MCP descartó parte de la respuesta que recibió; no es un indicador de paginación has_more y no puede demostrar si Prowlarr tiene resultados adicionales.

Hoja de ruta

  • v0.1: Buscar lanzamientos a través de los indexadores de Prowlarr configurados.

  • Descubrir los indexadores disponibles y las categorías de búsqueda.

  • Enviar un lanzamiento seleccionado a un cliente de descargas configurado.

  • Inspeccionar la salud de Prowlarr, el estado de los indexadores y el historial de búsquedas.

Pruebas con el cliente MCP

El repositorio incluye un cliente stdio genérico para lanzar el servidor y llamar a una herramienta:

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

Usa --cwd cuando el comando del servidor deba ejecutarse desde un directorio distinto, y --timeout para anular el tiempo de espera predeterminado de 60 segundos de las llamadas a herramientas. El script imprime la salida estructurada de la herramienta como JSON y devuelve un código de salida distinto de cero ante entradas no válidas, fallos de conexión o errores de herramientas MCP.

Desarrollo

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

ActivityMaintained
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
    221 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