Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Files on disk

PathCreated byModeContents
$MEMO_HOME/First writing command0700Base directory (default ~/.memo-mcp)
$MEMO_HOME/kb/First writing command0700Knowledge-base files
$MEMO_HOME/kb/<name>.dbFirst writing command0600The SQLite database: all layers, logs and audit
$MEMO_HOME/kb/<name>.db-walSQLite, while open0600Write-ahead log, checkpointed into the main file
$MEMO_HOME/kb/<name>.db-shmSQLite, while open0600Shared-memory index for the WAL
$MEMO_HOME/profiles.jsonYouyoursOptional profile overrides
~/.cache/memo-mcp/models/<org>_<model>/First use of a model0755Model files from Hugging Face
~/.cache/memo-mcp/models/<org>_<model>.okCompleted download—Marker; without it the download is redone

A directory that already existed with wider permissions is not tightened.

What is inside the database

GroupTables
L0–L2sources, documents, chunks, chunks_fts and chunks_fts_exact (FTS5), chunk_vecs (one row per passage per model)
L3facts, facts_fts, fact_vecs
L4entities, entity_aliases, mentions, merge_candidates, edges
L5pages, pages_fts, page_sources, page_vecs, work_items
Bookkeepingnamespaces, models, jobs, audit, query_log, call_log

Every column is described in schema.md. The file is plain SQLite. You can inspect it with the sqlite3 shell, for example sqlite3 ~/.memo-mcp/kb/default.db '.tables'. Do not write to it by hand: triggers keep the indexes consistent only for writes made through memo-mcp.

Nothing else

memo-mcp writes no PID files, no lock files of its own, no logs to disk and no temporary files outside the model cache. Logs go to stderr. Redirect them yourself if you want them on disk.