Back to Home
Loctree icon

rmcp_memex

Verified Safe

by Loctree

Overview

A lightweight local Model Context Protocol (MCP) server for Retrieval-Augmented Generation (RAG) providing vector storage, embeddings, and 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 primarily operates via stdin/stdout JSON-RPC, limiting direct network attack surface for its core functions. Input parsing for JSON-RPC uses `serde_json` and robust framing. Database queries against LanceDB for `namespace` and `id` are sanitized using string replacement to prevent injection-like issues. The optional MLX bridge relies on an external, user-configured HTTP server. Reliance on `pdf-extract` for PDF parsing is a dependency on an external library that could theoretically contain vulnerabilities, but no direct code vulnerabilities were identified.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens15000
Stars0
Forks0
Last Update2025-12-05

Tags

RAGVector DatabaseEmbeddingsRustLanceDB