list_feeds
Retrieve all subscribed RSS feeds from your FreshRSS instance to manage your feed collection.
Instructions
List all subscribed RSS feeds
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers/feed-handlers.ts:25-40 (handler)The implementation of the `list_feeds` tool handler, which fetches the list of feeds via the client and formats it for output.
wrapTool('list_feeds', async () => { const feeds = await client.feeds.list(); if (feeds.length === 0) { return textResult('No feeds subscribed.'); } const formatted = feeds .map((f) => { const category = f.categoryName !== '' ? ` [${f.categoryName}]` : ''; return `- ${f.title}${category}\n URL: ${f.url}\n ID: ${f.id}`; }) .join('\n\n'); return textResult(formatted); }) - src/handlers/feed-handlers.ts:19-24 (registration)The registration of the `list_feeds` tool within the MCP server using `registerTool`.
server.registerTool( 'list_feeds', { description: 'List all subscribed RSS feeds', inputSchema: z.object({}).strict(), },