We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cotdp/scraper-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
__main__.py•656 B
"""Main entry point for the scraper MCP server."""
from __future__ import annotations
import sys
from scraper_mcp.server import run_server
def main() -> None:
"""Main entry point."""
# Parse command line arguments
transport = "streamable-http"
host = "0.0.0.0"
port = 8000
if len(sys.argv) > 1:
transport = sys.argv[1]
if len(sys.argv) > 2:
host = sys.argv[2]
if len(sys.argv) > 3:
port = int(sys.argv[3])
print(f"Starting Scraper MCP server on {host}:{port} with {transport} transport...")
run_server(transport=transport, host=host, port=port)
if __name__ == "__main__":
main()