/ mcp_qdrant.py
mcp_qdrant.py
1 import httpx 2 from mcp.server.fastmcp import FastMCP 3 4 # Initialize FastMCP for your "Parallel Swarm" 5 mcp = FastMCP("Parallel_AI_Swarm") 6 7 @mcp.tool() 8 async def search_3tb_archive(query_text: str): 9 """Searches the 3.6TB Epstein Research archive for specific keywords.""" 10 async with httpx.AsyncClient() as client: 11 # This hits your live terminal DB 12 response = await client.post( 13 "http://localhost:6333/collections/epstein_research/points/scroll", 14 json={ 15 "filter": {"must": [{"key": "text", "match": {"value": query_text}}]}, 16 "limit": 3 17 } 18 ) 19 return response.json() 20 21 if __name__ == "__main__": 22 mcp.run()