Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

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
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • 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")
  • 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 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.")

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/isiahw1/mcp-server-bing-webmaster'

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