Skip to main content
Glama
__init__.py622 B
from bocha_search_mcp.server import server import os import sys def main(): """Initialize and run the MCP server.""" # Check for required environment variables if "BOCHA_API_KEY" not in os.environ: print( "Error: BOCHA_API_KEY environment variable is required", file=sys.stderr, ) print( "Get a Bocha API key from: " "https://open.bochaai.com", file=sys.stderr, ) sys.exit(1) print("Starting Bocha Search MCP server...", file=sys.stderr) server.run(transport="stdio") __all__ = ["main", "server"]

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/BochaAI/bocha-search-mcp'

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