Labsco
MCP SERVER

Memento

by veerps57

One local memory store every AI client can read and write — SQLite on your disk, no vendor lock-in.

Agent Memory
Summary
Your memory stops fragmenting across vendors.

Every tool solves this in its own silo — a rules file here, a memory feature there — but you are the constant. One SQLite file that any MCP client can read means the decisions you made last week survive changing which assistant you use this year.

What it is

A memory layer that runs over a local SQLite file and speaks MCP, so Claude Desktop, Claude Code, Cursor, Copilot, Cline, OpenCode, Aider or a custom agent all read and write the same durable, structured memories about you and your work. Local-first, with no outbound network calls by default.

What you get
  • 38 tools, named `verb_noun` — every registry command whose surfaces include MCP
  • Reading — `search_memory`, `read_memory`, `list_memories`, `get_memory_context`, `list_memory_events`
  • Writing — `write_memory`, `write_many_memories`, `update_memory`, `supersede_memory`, `extract_memory`
  • Curating — `confirm_memory` and `confirm_many_memories` to keep a memory alive, `archive_memory`, `forget_memory`, `restore_memory`, and the bulk forms, which require `confirm: true` and preview by default
  • Housekeeping — `run_compact` archives cold memories whose confidence has decayed past the threshold, `rebuild_embeddings`, `set_memory_embedding`
  • Conflicts — `scan_conflicts`, `list_conflicts`, `read_conflict`, `resolve_conflict`, `list_conflict_events`
  • Packs — `install_pack`, `preview_pack`, `list_packs`, `export_pack`, `uninstall_pack`, so a curated set of memories can be shared as a file or a URL
  • Configuration and system — `get_config`, `set_config`, `unset_config`, `list_config`, `list_config_history`, `info_system`, `list_scopes_system`, `list_tags_system`
Requirements

Node.js 22.11+. Run `npx @psraghuveer/memento init`, which creates the database under `$XDG_DATA_HOME/memento/memento.db`, runs migrations, and on a terminal asks four setup questions — your preferred name, whether to install the bundled skill, whether to seed a starter pack, and whether to write the persona snippet into the custom-instructions file of each AI client it detects. It then prints the MCP snippet for every supported client; restart the client after pasting it. The persona snippet matters: of the three teaching surfaces, it is the only one guaranteed to reach the assistant's system prompt on every message, so UI-only clients need it pasted by hand. Verify the whole path with `npx @psraghuveer/memento verify-setup`, which does a write, search and cleanup round-trip.

Setup effort

One command — npx @psraghuveer/memento init