Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

verify_site

Verify site ownership in Bing Webmaster Tools to access analytics and manage search performance.

Instructions

Attempt to verify ownership of a site

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The main handler function for the 'verify_site' tool, including its @mcp.tool decorator which also serves as the registration. It verifies site ownership by making a POST request to the Bing Webmaster API's VerifySite endpoint using the api._make_request method.
    @mcp.tool(name="verify_site", description="Attempt to verify ownership of a site") async def verify_site( site_url: Annotated[str, "The URL of the site to verify"] ) -> Dict[str, Any]: """ Attempt to verify ownership of a site. Args: site_url: The URL of the site to verify Returns: Verification result """ async with api: result = await api._make_request("VerifySite", "POST", {"siteUrl": site_url}) return {"verified": result, "site_url": site_url}

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