Back to Home
Loctree icon

rmcp_memex

Verified Safe

by Loctree

Overview

A local Model Context Protocol (MCP) server providing Retrieval-Augmented Generation (RAG) capabilities with embedded vector storage and local embeddings/reranking.

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
  • HOME

Security Notes

The server runs as a local process, communicating via stdin/stdout using JSON-RPC, which inherently limits direct network attack surface. It relies on well-established Rust libraries for HTTP (reqwest), data serialization (serde_json), and vector storage (lancedb). No 'eval' or similar dynamic code execution patterns were found. Environment variables are used for configuration, preventing hardcoded secrets. Processing external files (PDFs via pdf-extract, arbitrary text) does introduce a potential risk if these libraries or the parsing logic are vulnerable to malformed inputs. The MLX bridge relies on a separate, assumed-to-be-trusted, local MLX HTTP server.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens5170
Stars0
Forks0
Last Update2026-01-11

Tags

RAGVector DatabaseEmbeddingsRustLocal AI