mcp-rag-agent
Verified Safeby luisrodriguesphd
Overview
A RAG-based agent that answers questions about internal policies using semantic search via MongoDB Atlas Vector Search and OpenAI embeddings, with automated RAGAS-based evaluation.
Installation
python -m mcp_rag_agent.mcp_server.serverEnvironment Variables
- MONGODB_ATLAS_CLUSTER_URI
- MONGODB_ATLAS_DB_NAME
- OPENAI_API_KEY
Security Notes
The project follows good practices by using environment variables for API keys and sensitive configurations, preventing hardcoded secrets. No obvious malicious patterns like 'eval' or direct shell command injection (outside of the controlled 'start.sh' setup script) are present. The MCP server's ability to execute commands is tied to trusted internal modules, which is a standard pattern for such frameworks. Reliance on external APIs (OpenAI, MongoDB) introduces inherent network security considerations.
Similar Servers
MaxKB
MaxKB is an enterprise-grade platform for building AI agents, managing knowledge bases (RAG), orchestrating complex workflows, and integrating various large language models.
haiku.rag
Agentic RAG system for document management, semantic search, question answering, and multi-agent research, designed to be exposed as tools for AI assistants (e.g., Claude Desktop).
Context-Engine
Context-Engine is a plug-and-play MCP retrieval stack that unifies code indexing, hybrid search, and optional LLM decoding to enable context-aware agents for product teams.
flexible-graphrag
The Flexible GraphRAG MCP Server provides a Model Context Protocol (MCP) interface for AI assistants (like Claude Desktop) to interact with a sophisticated RAG and GraphRAG system for document processing, knowledge graph auto-building, hybrid search, and AI Q&A.