Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMENTO_DB_PATH | No | Path to the SQLite database file. | ~/.mcp-memento/context.db |
| MEMENTO_PROFILE | No | Tool profile to use: 'core' (13 tools), 'extended' (17 tools), or 'advanced' (25 tools). | core |
| MEMENTO_LOG_LEVEL | No | Log level for the server (DEBUG, INFO, WARNING, ERROR). | INFO |
| MEMENTO_ALLOW_CYCLES | No | Whether to allow cyclic relationships in the knowledge graph. | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| memento_onboarding | Get comprehensive onboarding protocol for Memento including tool usage guidance, retrieval flow optimization, and best practices. MEMENTO ONBOARDING PROTOCOL:
OPTIMIZED RETRIEVAL (Avoid 6+ tool calls):
CRITICAL DISTINCTION: Memento vs Session memory
USE memento_onboarding(topic="...") for specific guidance:
|
| recall_mementos | Primary tool for finding mementos using natural language queries. Optimized for fuzzy matching - handles plurals, tenses, and case variations automatically. BEST FOR:
USE FOR: Long-term knowledge that survives across sessions. DO NOT USE FOR: Temporary session context or project-specific state. LESS EFFECTIVE FOR:
EXAMPLES:
FALLBACK: If recall returns no relevant results, try search_mementos with tags filter. |
| store_memento | Store a new memento with context and metadata. Required: type, title, content. Optional: id, tags, importance (0-1), context. USE FOR: Long-term knowledge that should survive across ALL sessions. DO NOT USE FOR: Temporary session state or project-specific context. LIMITS:
TAGGING BEST PRACTICE:
Types: solution, problem, error, fix, task, code_pattern, technology, command, file_context, workflow, project, general, conversation Note: EXAMPLES:
Returns memory_id. Use create_memento_relationship to link related memories. |
| get_memento | Retrieve a specific memento by ID. Use when you have a memory_id from search results or store_memento. Set include_relationships=true (default) to see connected memories. EXAMPLE: get_memento(memory_id="abc-123") |
| update_memento | Update an existing memento |
| delete_memento | Delete a memento and all its relationships |
| search_mementos | Advanced search with fine-grained filters for precise retrieval of mementos. USE THIS TOOL FIRST (not recall) when searching for:
PARAMETERS:
NOTE: Tags are automatically normalized to lowercase for case-insensitive matching. EXAMPLES:
For conceptual/natural language queries, use recall_mementos instead. |
| contextual_memento_search | Search only within the context of a given memento (scoped search). Two-phase process: (1) Find related memories, (2) Search only within that set. Provides semantic scoping without embeddings. WHEN TO USE:
HOW TO USE:
RETURNS:
|
| create_memento_relationship | Link two mementos with a typed relationship. Common types: SOLVES (solution→problem), CAUSES (cause→effect), ADDRESSES (fix→error), REQUIRES (dependent→dependency), RELATED_TO (general) EXAMPLES:
Optional: strength (0-1), confidence (0-1), context (description) |
| get_related_mementos | Find mementos connected to a specific memory via relationships. Filter by relationship_types (e.g., ["SOLVES"], ["CAUSES"]) and max_depth (default 1). EXAMPLES:
|
| get_memento_statistics | Get statistics about the memento database |
| get_recent_memento_activity | Get summary of recent memento activity for session context. Returns: memory counts by type, recent memories (up to 20), unresolved problems. EXAMPLES:
|
| search_memento_relationships_by_context | Search memento relationships by their structured context fields (scope, conditions, evidence, components) |
| adjust_memento_confidence | Manually adjust confidence of a relationship. Use for:
Examples:
Confidence ranges:
|
| get_low_confidence_mementos | Find memories with low confidence scores. Use for:
Features:
Returns:
|
| apply_memento_confidence_decay | Apply automatic confidence decay based on last access time. Use for:
Intelligent decay rules:
Decay formula: monthly_decay = confidence × decay_factor^(months_since_last_access) Minimum confidence: 0.1 (won't decay below this) Returns:
|
| boost_memento_confidence | Boost confidence when a memory is successfully used. Use for:
Usage patterns:
Boost mechanics:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |