ml-mcp
Verified Safeby Solvro
Overview
A production-ready Model Context Protocol (MCP) server for a Retrieval-Augmented Generation (RAG) system, leveraging a Neo4j knowledge graph to answer natural language queries about Wroclaw University of Science and Technology.
Installation
uv run serverEnvironment Variables
- OPENAI_API_KEY
- DEEPSEEK_API_KEY
- GOOGLE_API_KEY
- CLARIN_API_KEY
- NEO4J_URI
- NEO4J_USER
- NEO4J_PASSWORD
- LANGFUSE_SECRET_KEY
- LANGFUSE_PUBLIC_KEY
- LANGFUSE_HOST
Security Notes
The system avoids hardcoded secrets by using environment variables. It utilizes standard frameworks (FastAPI, FastMCP) and Pydantic for config validation. The primary security consideration is Cypher injection, as LLMs generate database queries. The prompts are strictly engineered to produce 'ONLY valid Cypher query' and 'ONLY executable Cypher statements' with format rules, which is a strong mitigation strategy. Error handling for query execution is in place. However, the inherent risk of LLMs generating unexpected output (even with guardrails) means complete immunity from Cypher injection cannot be guaranteed if the LLM is significantly compromised.
Similar Servers
UltraRAG
An open-source RAG framework for building, experimenting, and evaluating complex Retrieval-Augmented Generation (RAG) pipelines with low-code YAML configurations and native multimodal support.
context-portal
Manages structured project context for AI assistants and developer tools, enabling Retrieval Augmented Generation (RAG) and prompt caching within IDEs.
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.
concept-rag
This MCP server provides conceptual search, document analysis, and library exploration capabilities over a knowledge base using LanceDB and LLM-based concept extraction.