We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sacode/searxng-simple-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
run_server.py•578 B
#!/usr/bin/env python3
"""
Wrapper script to run the SearxNG MCP server.
This script can be run directly without import issues.
"""
import logging
import os
import sys
# Add the parent directory to sys.path
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# Import the server
from searxng_simple_mcp.server import mcp
# Configure logging
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
handlers=[logging.StreamHandler(sys.stderr)],
)
# Main entrypoint
if __name__ == "__main__":
mcp.run()