Skip to main content
Glama

prowlarr_get_indexers

Retrieve all configured indexers from Prowlarr to manage search sources for media content across *arr applications.

Instructions

Get all configured indexers in Prowlarr

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler: checks if Prowlarr client is configured, calls getIndexers(), formats and returns indexer list as JSON response.
    case "prowlarr_get_indexers": { if (!clients.prowlarr) throw new Error("Prowlarr not configured"); const indexers = await clients.prowlarr.getIndexers(); return { content: [{ type: "text", text: JSON.stringify({ count: indexers.length, indexers: indexers.map(i => ({ id: i.id, name: i.name, protocol: i.protocol, enableRss: i.enableRss, enableAutomaticSearch: i.enableAutomaticSearch, enableInteractiveSearch: i.enableInteractiveSearch, priority: i.priority, })), }, null, 2), }], }; }
  • src/index.ts:538-545 (registration)
    Registers the tool in the TOOLS array with name, description, and empty input schema (no parameters). Added conditionally if Prowlarr is configured.
    name: "prowlarr_get_indexers", description: "Get all configured indexers in Prowlarr", inputSchema: { type: "object" as const, properties: {}, required: [], }, },
  • ProwlarrClient.getIndexers(): Makes API request to /indexer endpoint to fetch the list of configured indexers.
    async getIndexers(): Promise<Indexer[]> { return this['request']<Indexer[]>('/indexer'); }
  • TypeScript interface defining the structure of an Indexer object returned by the API.
    export interface Indexer { id: number; name: string; enableRss: boolean; enableAutomaticSearch: boolean; enableInteractiveSearch: boolean; protocol: string; priority: number; added: string; }
  • Instantiates ProwlarrClient from configuration (URL and API key) if PROWLARR_URL and PROWLARR_API_KEY are set.
    case 'prowlarr': clients.prowlarr = new ProwlarrClient(config); break;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aplaceforallmystuff/mcp-arr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server