MeMCP is designed so vault content never leaves the machine in the default configuration:
- Storage is local: Markdown files, a local Postgres (
localhost:5433by default), a local BM25 index and a local ChromaDB index under<vault>/.memcp. - Embeddings and re-ranking use local models (see configuration). The only network access is the one-time model download from Hugging Face — and the TF-IDF fallback works fully offline.
- The tool-call log (
<data>/.tool_calls.jsonl) records only{ts, tool, ok, ms, n_args}— never argument values, which carry query text and vault content.
Data leaves the machine only if the user configures it to: a remote
MEMCP_PG_DSN / PGHOST, a remote embedding provider, or a pasted
snippet in a bug report. There is no telemetry, no hosted component, and
no account.
- The Postgres password has no default and lives in
.env, which is gitignored. Never commit.env, and never paste a DSN with a password into issues or chat logs. HF_TOKEN, if set for authenticated model downloads, is read from the environment only.
Entity cards containing "sensitive" are flagged sensitive, and cards
with "do not attempt to resolve" are flagged do-not-resolve. These flags
travel with the entity into the database so tools can treat them with
care — but they are labels, not access control: anyone with vault or
database access can read everything. Keep the vault directory and the
Postgres port bound to localhost unless you know what you are doing.
Do not open a public issue for a security bug. Use the repository's private vulnerability reporting (GitHub Security Advisories) or contact the maintainer through the channel listed on the repo page. Include:
- What is affected (module, tool name, or file).
- Steps to reproduce with the sample vault only — never attach a real vault.
- What you expected to happen instead.
Only the latest tagged release (v0.1.0 and later) receives security
fixes. The main branch is development HEAD.