rag_mcp_server
by aksaini2003
Overview
Provides a RAG (Retrieval Augmented Generation) tool as an MCP server endpoint, leveraging Google Generative AI embeddings and FAISS for document retrieval.
Installation
python server.pyEnvironment Variables
- GOOGLE_API_KEY
Security Notes
The server uses `FAISS.load_local` with `allow_dangerous_deserialization=True`. This is a critical security vulnerability as it allows arbitrary code execution if a malicious `vector-db` file is loaded. The server also exposes itself on `0.0.0.0:8000`, which requires proper network security.
Similar Servers
pageindex-mcp
This MCP server acts as a bridge, enabling LLM-native, reasoning-based RAG on documents (local or online PDFs) for MCP-compatible agents like Claude and Cursor, without requiring a vector database locally.
qdrant-loader
A Model Context Protocol (MCP) server that provides advanced Retrieval-Augmented Generation (RAG) capabilities to AI development tools by bridging a QDrant knowledge base for intelligent, context-aware search.
local_faiss_mcp
Provides a local FAISS-based vector database as an MCP server for Retrieval-Augmented Generation (RAG) applications, enabling document ingestion, semantic search, and prompt generation.
mcp-raganything
Provides a FastAPI REST API and MCP server for Retrieval Augmented Generation (RAG) capabilities, integrating with the RAG-Anything and LightRAG libraries for multi-modal document processing and knowledge graph operations.