list_services
Discover all configured media services and downloaders to identify available options for monitoring downloads and managing libraries.
Instructions
List all configured services and downloaders. Call this first to see available services.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:227-252 (handler)Handler implementation for the 'list_services' MCP tool. Retrieves configured services and downloaders from the serviceRegistry, extracts types, and returns a formatted list with summary.if (name === "list_services") { result = await debugToolTiming(name, "info", async () => { const services = serviceRegistry.getAllNames(); const downloaders = serviceRegistry.getAllDownloaderNames(); return { ok: true, data: { services: services.map((name) => ({ name, type: serviceRegistry .get(name) ?.constructor.name?.replace("Service", "") .toLowerCase() || "unknown", })), downloaders: downloaders.map((name) => ({ name, type: "sabnzbd", })), summary: { totalServices: services.length, totalDownloaders: downloaders.length, }, }, }; });
- src/index.ts:20-29 (registration)Registration of the 'list_services' tool in the tools array, including name, description, and empty inputSchema. Used by ListToolsRequestSchema handler.{ name: "list_services", description: "List all configured services and downloaders. Call this first to see available services.", inputSchema: { type: "object", properties: {}, required: [], }, },
- src/index.ts:20-29 (schema)Input schema definition for 'list_services' tool (empty object, no parameters required).{ name: "list_services", description: "List all configured services and downloaders. Call this first to see available services.", inputSchema: { type: "object", properties: {}, required: [], }, },