Memnest Memory MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMORY_RRF_K | No | Rank-decay constant for `rrf` mode. Channel value is `(K+1)/(K+rank)`: 1.0 at rank 1, ~0.87 at rank 10. | 60 |
| MEMORY_FUSION | No | Channel fusion: `legacy` (raw cosine + max-normalized FTS), `normalized` (min-max vector), or `rrf` (reciprocal rank fusion — only each channel's ordering enters the score, so channel scales can't interact and scores stay stable when memories are added or deleted). `rrf` stays opt-in: it measured below `legacy` on LOCOMO. | legacy |
| MEMORY_DB_PATH | No | LadybugDB database path. Use `:memory:` for ephemeral testing. | .memnest/memory.lbug (in cwd) |
| MEMORY_MAX_BATCH | No | Max items per batch call. | 500 |
| MEMORY_WORKSPACE | No | Workspace identifier for memory namespacing. | cwd |
| MEMORY_LIST_LIMIT | No | Default page size for `memory_list`. | 20 |
| MEMORY_MAX_CONTENT | No | Content truncation length in search/list results. | 500 |
| MEMORY_GRAPH_WEIGHT | No | Weight of the graph-centrality channel. This is the one relevance-independent channel — PageRank runs over the Memory+Topic graph, so it acts as a tag-popularity prior, and it is dormant until `memory_dream` runs. On a tag-dense corpus, setting `0` measured strictly better (MRR@20 0.354 to 0.370). Consider `0` if your memories are heavily tagged. | 0.15 |
| MEMORY_SEARCH_LIMIT | No | Max results from `memory_search`. | 10 |
| MEMORY_DREAM_MIN_OPS | No | Min ops since last dream before next runs. | 10 |
| MEMORY_EMBEDDING_DIM | No | Embedding dimension (must match model). | 384 |
| MEMORY_DEDUP_THRESHOLD | No | Semantic similarity threshold for auto-dedup. | 0.92 |
| MEMORY_DREAM_MIN_HOURS | No | Min hours since last dream before next runs. | 24 |
| MEMORY_EMBEDDING_MODEL | No | FastEmbed model for embeddings. | BAAI/bge-small-en-v1.5 |
| MEMORY_EMBED_TIMEOUT_S | No | Soft timeout for embedding model load (warm-up only). | 30 |
| MEMORY_GRAPH_MAX_NODES | No | Max nodes `memory_graph_html` will render before refusing. | 2000 |
| MEMORY_LATENCY_WARN_MS | No | Log a warning when an op exceeds this (ms). | 200 |
| MEMORY_MAX_STORE_CHARS | No | Content longer than this is truncated on store. | 20000 |
| MEMORY_RESPONSE_FORMAT | No | Response serialization. `toon` is more token-efficient for LLM context. | toon if installed, else json |
| MEMORY_CONSOLIDATE_SCAN | No | Memories examined per dream run — a rotating window, not a horizon. Above this size the window advances each run, so the whole corpus is covered over `ceil(corpus / window)` runs at unchanged per-run cost. `memory_dream` reports `scan_coverage`. | 1000 |
| MEMORY_DREAM_PRUNE_DAYS | No | Auto-prune memories older than N days (with low importance). | 30 |
| MEMORY_MERGE_VALUE_GATE | No | Refuse to merge near-identical memories whose values disagree (`500ms` vs `900ms`). Set `0` to restore pure-similarity merging (unsafe). | 1 |
| MEMORY_ALLOW_DESTRUCTIVE | No | Allow DELETE/DROP/TRUNCATE/REMOVE/SET/COPY through `memory_query`. Off by default for safety. Prefer `memory_update`, `memory_delete`, `memory_unrelate`. | false |
| MEMORY_DREAM_CLUSTER_LOW | No | Cluster-review window: `[low, trivial)` is surfaced for agent review. | 0.88 |
| MEMORY_MERGE_TAG_OVERLAP | No | Minimum tag Jaccard overlap before two similar memories may merge. | 0.5 |
| MEMORY_SEARCH_CANDIDATES | No | Rows each search channel retrieves before fusion. Independent of `top_k`. Does not affect index-health coverage: above this size the census switches to a dedicated id-only probe. | 100 |
| MEMORY_CONFLICT_THRESHOLD | No | Similarity at which two results are flagged `near_duplicate`. | 0.85 |
| MEMORY_DREAM_MIN_MEMORIES | No | Min total memories before dream is allowed (skipped otherwise). | 20 |
| MEMORY_DREAM_PRUNE_MAX_IMP | No | Auto-prune only memories at or below this importance. | 2 |
| MEMORY_CONFLICT_VALUE_FLOOR | No | Similarity floor for `value_disagreement` flagging — same subject, different value, however differently worded. | 0.5 |
| MEMORY_CONSOLIDATE_CLUSTERS | No | Max clusters returned per `memory_dream` run. | 10 |
| MEMORY_DREAM_TRIVIAL_THRESHOLD | No | Cosine similarity >= this is auto-merged in dream. | 0.95 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityStale
ResponsivenessNo recent community issues