get_feeds
Extract RSS and Atom feeds from any website to monitor content updates and integrate with feed readers or content aggregation systems.
Instructions
Get all RSS/Atom feeds for a site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:911-927 (handler)The handler function decorated with @mcp.tool that implements the get_feeds tool. It takes a site_url, makes an async request to the Bing API's GetFeeds endpoint, and returns the processed list of feeds.@mcp.tool(name="get_feeds", description="Get all RSS/Atom feeds for a site.") async def get_feeds( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get all RSS/Atom feeds for a site. Args: site_url: The URL of the site Returns: List of feeds """ async with api: feeds = await api._make_request(f"GetFeeds?siteUrl={site_url}") return api._ensure_type_field(feeds, "Feed")
- mcp_server_bwt/main.py:913-914 (schema)Type annotations defining the input schema (site_url as annotated string) and output schema (list of dictionaries).site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]:
- mcp_server_bwt/main.py:911-911 (registration)MCP tool registration decorator specifying the name and description for the get_feeds tool.@mcp.tool(name="get_feeds", description="Get all RSS/Atom feeds for a site.")