MemoCat — Shared AI Memory
v0.4.3One shared, persistent memory across AI agents and systems, with semantic recall and live updates.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
memocat_semantic_search Search Memories
Search stored memory by MEANING (vector / semantic search), not keywords. Use this to recall relevant facts, documents, or past context for RAG and agent memory. Returns the top matches ranked by similarity, each with its key, a cosine-similarity score, and the stored value. Hybrid mode: `filters`, `since`, and `until` restrict WHICH memories are ranked — a hard AND constraint over indexed fields; ranking stays pure similarity. Combine them freely: "what did we decide about the index" + `since` yesterday + `filters={"project": "montycat"}` is one call. A fil…
| Parameter | Type | Description |
|---|---|---|
filters | ||
keyspace | ||
limit | integer | |
min_score | ||
query | string | |
scope | ||
since | ||
until | ||
vector |
memocat_remember Store Memory
Store a fact or record in memory; it is embedded and indexed automatically. Later recall it by meaning with memocat_semantic_search, or by key with memocat_recall. Returns the generated key in `payload`. Every record is auto-stamped with an indexed `_created_at` (UTC ISO-8601) unless the value already carries one — this powers time-range recall (`since`/`until` on memocat_semantic_search). Top-level fields are indexed, so they can be used as `filters` in hybrid search (e.g. store `{"project": "x", ...}`, later filter on it). Args: value: The record…
| Parameter | Type | Description |
|---|---|---|
value * | object | |
custom_key | ||
keyspace | ||
scope | ||
timestamp | ||
vector | ||
wait_for_index |
memocat_recall Recall Memories
Recall memory by exact key or by field filter (not by meaning). Provide `key`/`custom_key` to fetch a single record, or `filters` (a map of field -> value) to look up all records matching those fields. For meaning-based recall use memocat_semantic_search instead. Args: keyspace: Memory namespace (defaults to the configured one). key: Montycat-generated key to fetch. custom_key: Custom key to fetch. filters: Field equality filters, e.g. {"user": "alice", "topic": "billing"}. limit: Max results for a filter lookup (default 25).
| Parameter | Type | Description |
|---|---|---|
custom_key | ||
filters | ||
key | ||
keyspace | ||
limit | integer | |
scope |
memocat_install_engine Install Montycat Engine
Install the Montycat engine on THIS computer, then start it. Call this only when memory tools report that no engine is running and the user has agreed to install one. Tell them what it does first: it downloads the Montycat Semantic package (~18 MB) and opens your operating system's installer, which asks for an administrator password. On Linux it runs the documented APT installation with `sudo`. Refuses when MONTYCAT_URI is set or the configured host is not this machine — MemoCat is pointed at an engine elsewhere, and installing a local one would create a sec…
memocat_list_keyspaces List Memory Keyspaces
List the available memory stores and keyspaces on this Montycat engine.
memocat_policy_view View Memory Policy
View the configured owner's effective Montycat governance policy. This is read-only. It reports the authenticated owner's effective grants, denials, accessible and owned keyspaces, automatic creator capabilities, provisioning constraints, and policy health. The engine filters the result and remains the authorization boundary. Args: store: Optional store to inspect. Defaults to the store configured by MONTYCAT_URI or MONTYCAT_STORE.
| Parameter | Type | Description |
|---|---|---|
store |
memocat_policy_history View Policy History
View governance history visible to the configured owner. This is read-only and owner-scoped by the authenticated Montycat credential. It can show when authority was delegated, denied, revoked, or transferred without allowing the MCP caller to select another owner. Args: store: Optional store filter. Defaults to the configured store. keyspace: Optional keyspace filter.
| Parameter | Type | Description |
|---|---|---|
keyspace | ||
store |
memocat_policy_explain Explain Policy Decision
Explain whether the configured owner may perform a proposed action. This is a read-only policy check for planning and diagnostics; executing the action still requires a separate tool call and fresh engine authorization. The explanation identifies applicable grants, denials, creator authority, and storage/model constraints. Args: capability: One of "provision-keyspace", "remove-keyspace", "manage-snapshots", "manage-semantic", "manage-schema", or "manage-access". store: Target store. Defaults to the configured store.…
| Parameter | Type | Description |
|---|---|---|
capability * | string | |
keyspace | ||
semantic_model | ||
storage | ||
store |
memocat_create_keyspace Create Memory Keyspace
Create a new memory namespace using the configured owner's authority. A delegated owner can create a keyspace when its governance policy grants `provision-keyspace` for the requested store, storage type, and semantic model, but its store must already exist. With superowner credentials, the engine creates a missing configured store and this first keyspace together in the same provisioning request. The engine remains the final authorization boundary. Args: keyspace: Name of the keyspace to create. storage: Preferred storage type: "persistent" or "inm…
| Parameter | Type | Description |
|---|---|---|
keyspace * | string | |
cache | ||
compression | boolean | |
persistent | ||
semantic | boolean | |
semantic_model | ||
storage |
memocat_remove_keyspace Delete Memory Keyspace
Permanently remove a memory namespace using the owner's authority. This is a destructive lifecycle operation. Before removal MemoCat closes the keyspace's live watch and releases MCP resource-subscription ownership so the engine cannot deadlock on a lingering subscriber. The engine then enforces `remove-keyspace`, creator authority, and explicit denials. Args: scope: Owner/user scope to remove (maps to keyspace mem_<scope>). Use "shared" for the configured shared keyspace. keyspace: Explicit keyspace override (advanced; bypasses scope).
| Parameter | Type | Description |
|---|---|---|
keyspace | ||
scope |
memocat_enable_semantic Enable Semantic Search
Enable semantic search for one explicit keyspace. The engine enforces `manage-semantic`, creator authority, explicit denials, and allowed-model constraints. Existing records are backfilled by the engine. This tool never enables semantic search database-wide. Args: keyspace: Explicit keyspace to enroll and backfill. store: Target store. Defaults to the configured store. semantic_model: Optional model: "minilm", "bge-small", "bge-base", or "e5-small". Omit to use the engine/policy default. field: Optional JSON field to emb…
| Parameter | Type | Description |
|---|---|---|
keyspace * | string | |
field | ||
semantic_model | ||
store |
memocat_semantic_status View Semantic Search Status
Read the engine's actual semantic configuration and backfill state. Pass both `store` and `keyspace` for one keyspace. Omitting both asks for the database-wide view, which may require superowner authority.
| Parameter | Type | Description |
|---|---|---|
keyspace | ||
store |
memocat_enable_external_vectors Enable External Vectors
Enroll a keyspace for caller-supplied embeddings instead of text embedding.
| Parameter | Type | Description |
|---|---|---|
dimensions * | integer | |
embedding_space * | string | |
keyspace * | string | |
store |
memocat_reembed_semantic Rebuild Semantic Vectors
Replace an enrolled keyspace's text embedding model and backfill it. This clears its current vectors, then has the engine rebuild them. Use `memocat_semantic_status` to observe the resulting configuration.
| Parameter | Type | Description |
|---|---|---|
keyspace * | string | |
semantic_model * | string | |
field | ||
store |
memocat_disable_semantic Disable Semantic Search
Disable semantic search for one explicit keyspace. Stored vectors are retained by default so re-enabling can resume without a full rebuild. Set `drop_vectors` only when intentionally clearing vectors, such as before changing embedding models. The engine enforces all governance authority and explicit denials. Args: keyspace: Explicit keyspace to unenroll. store: Target store. Defaults to the configured store. drop_vectors: Also delete stored vectors for this keyspace.
| Parameter | Type | Description |
|---|---|---|
keyspace * | string | |
drop_vectors | boolean | |
store |
memocat_start_snapshots Start Memory Snapshots
Start scheduled snapshots for one existing in-memory keyspace. Montycat enforces `manage-snapshots`, creator authority, and explicit denials. If the response says "Snapshot rate is not set", snapshot scheduling is not configured on the engine; that is an environmental configuration error, not an authorization denial. This tool cannot alter the global snapshot rate. Args: keyspace: Explicit in-memory keyspace to snapshot.
| Parameter | Type | Description |
|---|---|---|
keyspace * | string |
memocat_stop_snapshots Stop Memory Snapshots
Stop scheduled snapshots for one existing in-memory keyspace. Existing snapshot files are retained. Montycat performs the final authorization check. Args: keyspace: Explicit in-memory keyspace whose snapshot schedule stops.
| Parameter | Type | Description |
|---|---|---|
keyspace * | string |
memocat_clean_snapshots Delete Memory Snapshots
Delete snapshot files for one existing in-memory keyspace. This is destructive to the keyspace's snapshot history but does not delete its currently loaded in-memory records. Montycat performs the final authorization check. Args: keyspace: Explicit in-memory keyspace whose snapshots are cleaned.
| Parameter | Type | Description |
|---|---|---|
keyspace * | string |
memocat_forget Delete Memory
Delete a stored record from memory by key or custom key. Args: keyspace: Memory namespace (defaults to the configured one). key: Montycat-generated key to delete. custom_key: Custom key to delete. wait_for_index: For persistent keyspaces, wait for secondary indexes before returning. Defaults to the engine setting.
| Parameter | Type | Description |
|---|---|---|
custom_key | ||
key | ||
keyspace | ||
scope | ||
wait_for_index |
memocat_update Update Memory
Revise an existing memory in place (memory is mutable). Use this when a stored fact changes — a corrected value, an updated preference — instead of storing a duplicate. Only the fields you pass are changed. Identify the record by `key` or `custom_key`. Args: updates: Fields to change, e.g. {"status": "resolved"} or {"name": "Alice"}. keyspace: Memory namespace (defaults to the configured one). key: Montycat-generated key of the record to update. custom_key: Custom key of the record to update. wait_for_index: For persistent keyspaces…
| Parameter | Type | Description |
|---|---|---|
updates * | object | |
custom_key | ||
key | ||
keyspace | ||
scope | ||
vector | ||
wait_for_index |
memocat_list_memories List Memories
Browse stored memories — enumerate what is remembered, not search by meaning. Returns up to `limit` records with their keys. Use this to review or list memory; for meaning-based recall use memocat_semantic_search, and for exact lookups use memocat_recall. Args: keyspace: Memory namespace (defaults to the configured one). limit: Max records to return (default 25). recent: Bias toward the most recently written records (default True). Ordering is approximate (by storage volume), not a strict timestamp sort.
| Parameter | Type | Description |
|---|---|---|
keyspace | ||
limit | integer | |
recent | boolean | |
scope |
memocat_remember_bulk Store Multiple Memories
Store many memories at once; all are embedded and indexed automatically. Args: values: A list of records (JSON objects) to store. keyspace: Memory namespace (defaults to the configured one). timestamp: Index a `_created_at` on each record for time-range recall. Defaults to MONTYCAT_AUTO_TIMESTAMP (on). Pass False for large imports that will never be recalled by time — it skips a server-side timestamp parse per record. wait_for_index: For persistent keyspaces, wait for secondary indexes…
| Parameter | Type | Description |
|---|---|---|
values * | array | |
keyspace | ||
scope | ||
timestamp | ||
vectors | ||
wait_for_index |
memocat_await_memory_change Wait for Memory Change
Wait until memory CHANGES — returns the moment another agent or session writes, updates, or deletes something in this memory. This is a live subscription to the database, not a poll: it sleeps until a change actually happens and then returns immediately. Use it to coordinate with other agents sharing a scope ("tell me when someone adds to our shared memory"), or to confirm a write from another session landed. Do NOT call it in a tight loop as a substitute for searching — to *find* things, use memocat_semantic_search. Returns `{changes: [...], next_seq, old…
| Parameter | Type | Description |
|---|---|---|
keyspace | ||
scope | ||
since_seq | ||
timeout_sec | integer |