MemoryS
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMORYS_VAULT | No | Path to the MemoryS vault. Vault resolution priority: --vault <path> CLI flag, then MEMORYS_VAULT environment variable, then ~/.config/memorys/config.json (vault_path, set automatically by mem init), then ~/MemoryS if present. | |
| MEMORYS_API_KEY | No | Optional API key for Web UI AI conflict checks (macOS App uses Keychain). | |
| MEMORYS_APP_DATA | No | Override SQLite queue directory (defaults to OS standard app data path). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
MemoryS governed knowledge service: search active or historical rules (memory_search), read full memory cards and supersession chains (memory_read), trace original quotes and sources (memory_trace), and submit draft proposals to the human review queue (memory_propose). Proposals never write directly to the published vault until confirmed by the user in the MemoryS UI.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| memory_searchA | Search published MemoryS cards by query, project name/ID/alias, or scope. Supports historical point-in-time lookups via as_of (YYYY-MM-DD). |
| memory_readA | Read a single memory card's full metadata, markdown body, path, and supersession chain. |
| memory_traceA | Resolve a card's source_refs against SOURCES.md (or legacy 来源记录.md) to return provenance quotes. |
| memory_proposeA | Submit a draft memory card or revision to the MemoryS pending review queue (does NOT modify the published vault). Automatically blocks secrets, tokens, private keys, and 'do not record' directives. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool maps to a distinct phase of the memory lifecycle: propose (write to pending queue), search (query published cards), read (fetch one card by identity), and trace (resolve provenance references). The propose description explicitly states it does not modify the published vault, cleanly separating it from the read-side tools. No two tools overlap in purpose.
All four tools use the identical pattern of a shared `memory_` namespace prefix followed by a single distinct verb (propose, search, read, trace). Consistent snake_case throughout, no mixing of casing or verb styles.
Four tools is lean but each is justified and this is a focused read-plus-submit service rather than a full CRUD application. It sits at the lower edge of comfortable scope, with no redundancy to trim.
The read side is well covered (search, read, trace), but the write side is one-directional: cards are submitted to a 'pending review queue' with no tool to list, approve, reject, or retract them, leaving an agent unable to complete the editorial workflow it initiates. There is also no delete/forget operation for retired memories.