Skip to main content
Glama

Bing Webmaster Tools MCP Server

by zizzfizzix
main.py720 B
import os from mcp.server.fastmcp import FastMCP from mcp_server_bwt.services.bing_webmaster import BingWebmasterService from mcp_server_bwt.tools.bing_webmaster import add_bing_webmaster_tools mcp = FastMCP("mcp-server-bwt") # Initialize Bing Webmaster Tools service api_key = os.getenv("BING_WEBMASTER_API_KEY") if not api_key: raise ValueError("BING_WEBMASTER_API_KEY environment variable is required") # Create the service with the API key bing_service = BingWebmasterService(api_key=api_key) # Add the tools to the MCP server add_bing_webmaster_tools(mcp, bing_service) def app() -> None: """Command-line interface entry point.""" mcp.run(transport="stdio") if __name__ == "__main__": app()

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/zizzfizzix/mcp-server-bwt'

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