Back to Home
LibraxisAI icon

rmcp_memex

by LibraxisAI

Overview

Provides a local Retrieval-Augmented Generation (RAG) toolset backed by an embedded LanceDB vector store and local embeddings, serving via JSON-RPC.

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 takes a file path as an RPC argument. Without explicit sanitization or restriction to a designated directory, this could be vulnerable to path traversal, allowing a malicious client to index or read arbitrary files on the host system (e.g., `/etc/passwd`). The MLX bridge makes configurable HTTP calls, but defaults to localhost. No obvious 'eval' or hardcoded secrets were found.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-05

Tags

RAGVector DatabaseEmbeddingsRustJSON-RPC