Skip to main content
Glama
JDeun

Unified Search MCP Server

by JDeun
unified_search_server.py654 B
#!/usr/bin/env python3 """ Unified Search MCP Server for Smithery """ import sys import os # Smithery environment detection if os.environ.get("SMITHERY_ENV"): # For Smithery deployment port = int(os.environ.get("PORT", 8080)) transport = "streamable-http" else: # For local development port = 8000 transport = "stdio" # Add src to Python path sys.path.insert(0, str(os.path.dirname(os.path.abspath(__file__)))) from src.mcp_server import mcp, _initialize_services if __name__ == "__main__": # Initialize services _initialize_services() # Run server mcp.run(transport=transport, port=port, host="0.0.0.0")

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/JDeun/unified-search-mcp-server'

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