Back to Home
aksaini2003 icon

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

Run Command
python server.py

Environment 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

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-12-05

Tags

RAGMCP ServerAIEmbeddingsVector Store