Back to Home
codelabStrawberry icon

McpServer

Verified Safe

by codelabStrawberry

Overview

A RAG (Retrieval Augmented Generation) server that integrates local LLMs (Ollama) with ChromaDB and FastAPI to provide API tools for chat, RAG search, document ingestion, and AI-driven job interview/career analysis.

Installation

Run Command
docker-compose up --build -d

Environment Variables

  • OLLAMA_BASE_URL
  • OLLAMA_CHAT_MODEL
  • OLLAMA_EMBED_MODEL
  • CHROMA_HOST
  • CHROMA_PORT
  • CHROMA_COLLECTION
  • REDIS_URL
  • INGEST_ON_STARTUP
  • CORS_ORIGINS
  • OLLAMA_CRAWL_MODEL
  • MYSQL_HOST
  • MYSQL_PORT
  • MYSQL_USER
  • MYSQL_PASSWORD
  • MYSQL_DB

Security Notes

The server uses environment variables for sensitive configurations like database credentials, which is good practice. External content (URLs, PDFs) is processed with some sanitization and length limits to prevent excessive resource consumption or prompt injection. LLM output is parsed as JSON, which can be a potential risk if the LLM generates malicious JSON, though `json.loads` itself doesn't execute arbitrary code. Image processing for OCR on crawled URLs (`perform_qwen3vl_ocr`) also presents a potential, albeit common, attack surface if image libraries are vulnerable. No direct hardcoded secrets or obvious command injection vulnerabilities were found in the provided source code.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens1500
Stars0
Forks1
Last Update2026-01-19

Tags

RAGLLMFastAPIOllamaChromaDB