We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leehanchung/bing-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
from mcp_server_bing.server import server
import os
import sys
def main():
"""Initialize and run the MCP server."""
# Check for required environment variables
if "BING_API_KEY" not in os.environ:
print(
"Error: BING_API_KEY environment variable is required",
file=sys.stderr,
)
print(
"Get a Bing API key from: "
"https://www.microsoft.com/en-us/bing/apis/bing-web-search-api",
file=sys.stderr,
)
sys.exit(1)
print("Starting Bing Search MCP server...", file=sys.stderr)
server.run(transport="stdio")
__all__ = ["main", "server"]