Back to Home
Solvro icon

ml-mcp

Verified Safe

by 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

Run Command
uv run server

Environment 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

Stats

Interest Score34
Security Score8
Cost ClassHigh
Avg Tokens7000
Stars3
Forks1
Last Update2026-01-17

Tags

RAGKnowledge GraphNeo4jLLMLangChain