Back to Home
pkutsch icon

RAGFileMcpServer

Verified Safe

by pkutsch

Overview

Provides a Model Context Protocol (MCP) server for AI agents, offering Retrieval-Augmented Generation (RAG) capabilities with file-based data sources (PDF, TXT, Markdown) and a Streamlit UI for management.

Installation

Run Command
docker-compose up -d

Environment Variables

  • STREAMLIT_PORT
  • MCP_SERVER_PORT
  • EMBEDDING_PROVIDER
  • OLLAMA_BASE_URL
  • OLLAMA_MODEL
  • OPENAI_API_KEY
  • VECTOR_STORE_TYPE
  • CHUNK_SIZE
  • CHUNK_OVERLAP

Security Notes

The server employs environment variables for configuration, a recommended security practice, and uses parameter binding for all SQLite operations in the logging module, effectively preventing SQL injection. File parsing, which can be an attack surface for RAG systems, relies on well-known external libraries (pypdf, chardet). The Streamlit UI binds to `0.0.0.0` by default, which is standard for web interfaces but necessitates awareness regarding external exposure if deployed publicly. The MCP server primarily uses secure STDIO transport, though a network-exposed SSE mode is configurable. No direct `eval` calls, code obfuscation, or other overtly malicious patterns were identified in the provided source.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2026-01-19

Tags

RAGMCP ServerFile ProcessingStreamlitAI Agents