Back to Home
LibraxisAI icon

rmcp_memex

Verified Safe

by LibraxisAI

Overview

Lightweight Model Context Protocol (MCP) server providing local Retrieval-Augmented Generation (RAG) capabilities with embedded vector store and local/remote embeddings.

Installation

Run Command
cargo run --release -- --log-level info

Environment Variables

  • DISABLE_MLX
  • DRAGON_BASE_URL
  • MLX_JIT_MODE
  • MLX_JIT_PORT
  • EMBEDDER_PORT
  • RERANKER_PORT
  • EMBEDDER_MODEL
  • RERANKER_MODEL
  • FASTEMBED_CACHE_PATH
  • HF_HUB_CACHE
  • LANCEDB_PATH
  • PROTOC

Security Notes

The `rag_index` function accepts a `path` argument, allowing a client to specify arbitrary local file paths for indexing. If the server is exposed to untrusted input or runs with elevated privileges, this could lead to information disclosure by indexing sensitive files. Additionally, LanceDB filter predicates are constructed with manual string sanitization (`replace('\'', "''")`), which, while present, always carries a higher risk compared to parameterized queries for preventing injection vulnerabilities.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens10000
Stars0
Forks0
Last Update2026-01-11

Tags

RAGVector StoreEmbeddingsRustMCP