Back to Home
Scarmonit icon

rag-mcp-server

Verified Safe

by Scarmonit

Overview

Provides semantic document search and management capabilities as a Model Context Protocol (MCP) server.

Installation

Run Command
python -m rag_server.server

Environment Variables

  • RAG_DB_PATH
  • RAG_COLLECTION

Security Notes

The `ingest_file` tool allows reading arbitrary local files based on a user-provided path. While `path.resolve()` helps prevent simple path traversal, it does not prevent access to any file the server process has read permissions for (e.g., `/etc/passwd`). The `ingest_url` tool allows fetching content from arbitrary URLs, which could be exploited for Server-Side Request Forgery (SSRF) if the server is deployed in a sensitive network. There are no obvious hardcoded secrets, obfuscation, or direct use of `eval` or `exec`. The risks are primarily due to the nature of the ingestion tools if the server is exposed or run with excessive permissions.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens20
Stars0
Forks0
Last Update2025-12-02

Tags

RAGMCPSemantic SearchChromaDBONNX Embeddings