smritea-mcp
v0.1.15MCP server for smritea AI memory system
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
add_memory
Store a memory in smritea. Call this whenever the user shares a preference, decision, fact about themselves, or anything they would want recalled in a future conversation. Do not wait to be asked — if the user says "I prefer X", "my X is Y", "remember that", or "don't forget", call this immediately. Identity is not configured — run `smritea-mcp configure`. For the user's own memory, leave actor_id, actor_type, and actor_name unset. For a different named person, set actor_name only. Never invent UUIDs or placeholder IDs.
| Parameter | Type | Description |
|---|---|---|
content * | string | The memory content to store |
actor_id | string | null | Actor this memory belongs to. Omit for the user's own memory — it defaults to your configured identity. For another named person, set actor_name and leave this unset (actor_id is auto-derived from t… |
actor_name | Display name of the actor. For a non-user actor (e.g. "Harry Potter"), set this — actor_id is derived from it. Omit for the user (defaults to your configured name). Max 255 chars. | |
actor_type | Optional. Defaults to "user". Set "agent" or "system" only for a non-human actor. | |
conversation_id | string | null | Conversation ID to scope this memory to (UUID) |
decay_factor | Rate of relevance decay over time (>=0). 0 = no decay (memory score is pinned permanently). 0.2 = light decay (default). 1.0 = standard. 3.0+ = aggressive. | |
decay_function | Decay curve shape: "exponential", "gaussian", or "linear". Default: "exponential". | |
event_occurred_at | string | null | ISO-8601 datetime — when this content was created or occurred. Used by the extraction LLM to resolve relative temporal expressions like "last year" or "yesterday". Defaults to current time if omitte… |
importance | How important is this memory (0.0-1.0). Higher = ranks higher in search. Default: 1.0. | |
metadata | Optional key-value metadata | |
source_type | Origin of the memory: "conversation", "document", or "api". Defaults to "api" when omitted. |
search_memories
Search smritea memories by natural language query. Call this at the start of a new task or topic to surface relevant context — user preferences, past decisions, stated constraints — without waiting for the user to re-explain them. Also call when the user asks "do you remember", "what do you know about", or "remind me". Search is NOT scoped or filtered unless you ask: it never defaults to the configured identity and never filters by actor. Results are scoped only to the selected app plus any filters you explicitly pass. actor_id/actor_name set speaker_actor_id (who is asking, for pronoun re…
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language search query |
actor_id | string | null | Identity of WHO is asking (speaker_actor_id) — used only for pronoun resolution and audit, NEVER to filter results. It does NOT restrict search to that actor. Omit to search with no requester identi… |
actor_name | Display name of the requester, used to derive speaker_actor_id (same slug as add) for pronoun resolution — NOT a filter. Setting it does NOT restrict results to that person. To restrict which memori… | |
actor_type | Optional. Ignored by search (search does not filter by actor). Kept for parity with add(). | |
conversation_id | string | null | Filter to a specific conversation |
from_time | string | null | ISO-8601 datetime — start of a time range: memories whose validity period overlaps [from_time, infinity). Can be used alone (open-ended). Cannot be combined with valid_at (e.g. "2024-01-01T00:00:00Z… |
graph_depth | Graph traversal depth (1-5). Omit to use the system default. | |
limit | Number of results; must not exceed the server top_n_max (default 20). Omit to use the app top_n. | |
metadata_filter | MongoDB-style operator DSL to filter by memory metadata. Simple equality: {"department": "engineering"}. Range: {"level": {"$gte": 4}}. Logical: {"$and": [{"department": "eng"}, {"level": {"$gt": 3}}]… | |
participant_ids | Search across conversations where ALL listed actors participated (AND semantics). One ID selects every conversation that actor took part in. Duplicate IDs are ignored; null or an empty list means no p… | |
source_type | Filter by origin of the memory: "conversation", "document", or "api". | |
to_time | string | null | ISO-8601 datetime — end of a time range (inclusive): memories whose validity period overlaps (-infinity, to_time]. Can be used alone (open-ended). Cannot be combined with valid_at (e.g. "2024-12-31T… |
valid_at | string | null | ISO-8601 datetime — return memories valid at exactly this moment. Cannot be combined with from_time or to_time. |
get_memory
Retrieve a specific memory by its ID. Use when you already have a memory_id from a previous search result and need the full memory object.
| Parameter | Type | Description |
|---|---|---|
memory_id * | string | The memory ID to retrieve |
delete_memory
Permanently delete a memory by its ID. Use when the user explicitly asks to forget something or says a stored fact is no longer true. This action is irreversible — confirm the memory_id from a search result before deleting.
| Parameter | Type | Description |
|---|---|---|
memory_id * | string | The memory ID to delete |
select_app
Set the active smritea app. Stores selected_app_id in ~/.smritea/settings.json and provisions an API key if needed. Call this once when setting up smritea in a new project.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The smritea app ID to use for this project |
app_name | string | Optional display name for the app |
list_apps
List Studio apps for the logged-in account. Uses the Studio JWT from ~/.smritea/auth.json to query the control plane.