Skip to main content
Glama
n24q02m

Mnemo - Persistent AI Memory

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_PATHNoDatabase location~/.mnemo-mcp/memories.db
API_KEYSNoAPI keys (ENV:key,ENV:key). Optional: enables semantic search (SDK mode)
LOG_LEVELNoLog levelINFO
SYNC_FOLDERNoRemote foldermnemo-mcp
SYNC_REMOTENorclone remote namegdrive
SYNC_ENABLEDNoEnable rclone syncfalse
SYNC_INTERVALNoAuto-sync seconds (0=manual)300
SYNC_PROVIDERNorclone provider type (drive, dropbox, s3, etc.)drive
EMBEDDING_DIMSNoEmbedding dimensions (0 = auto-detect, default 768)0
EMBEDDING_MODELNoLiteLLM model name (optional)
EMBEDDING_API_KEYNoCustom embedding endpoint key (optional)
EMBEDDING_BACKENDNolitellm (cloud API) or local (Qwen3). Auto: API_KEYS -> litellm, else local (always available)(auto-detect)
LITELLM_PROXY_KEYNoLiteLLM Proxy virtual key (e.g. sk-...)
LITELLM_PROXY_URLNoLiteLLM Proxy URL (e.g. http://10.0.0.20:4000). Enables proxy mode
EMBEDDING_API_BASENoCustom embedding endpoint URL (optional, for SDK mode)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
add_memoryA

Store NEW information. Use for preferences, decisions, facts.

ACTION GUIDE — when to use:

  • Use when saving new information for the first time. Example: content='User prefers dark mode', category='preference', tags=['ui']

search_memoryA

Find existing memories by natural language query. Always search before adding.

ACTION GUIDE — when to use:

  • Use BEFORE adding new information to avoid duplicates. Example: query='dark mode preference'

list_memoriesA

Browse all memories, optionally filtered by category.

ACTION GUIDE — when to use:

  • Use when you want to view a broad set of memories, or see what's in a specific category. Example: category='preference', limit=10

update_memoryA

Modify an EXISTING memory by ID. Get memory_id from search results.

ACTION GUIDE — when to use:

  • Use when an existing fact or preference changes. Example: memory_id='abc123', content='User now prefers light mode'

delete_memoryA

Remove a memory by ID.

ACTION GUIDE — when to use:

  • Use when a memory is completely outdated, incorrect, or explicitly requested to be forgotten. Example: memory_id='abc123'

export_memoriesA

Export all memories as JSONL.

ACTION GUIDE — when to use:

  • Use when the user requests a backup or raw dump of their memory database.

import_memoriesA

Import memories from JSONL data or a list of objects.

ACTION GUIDE — when to use:

  • Use when restoring from a backup or migrating data into the memory system. Example: data='[{"content": "example"}]', mode='merge'

memory_statsA

Show database statistics (total memories, categories, embedding status).

ACTION GUIDE — when to use:

  • Use when you need to understand the scale or health of the memory database, or check if embeddings are enabled.

restore_memoryA

Restore an archived memory by ID.

ACTION GUIDE — when to use:

  • Use to bring a previously archived memory back into the active search pool. Example: memory_id='abc123'

archived_memoriesA

List archived memories.

ACTION GUIDE — when to use:

  • Use to view memories that have been soft-deleted or automatically archived due to low importance/recency.

consolidate_memoriesA

Summarize similar memories in a category (requires LLM API keys).

ACTION GUIDE — when to use:

  • Use when a category has too many redundant or closely related memories and needs cleanup. Example: category='preference'

memoryA

Legacy dispatcher for backward compatibility. Use specialized tools (add_memory, search_memory, etc.) instead.

Persistent memory store. Actions: add|search|list|update|delete|export|import|stats|restore|archived|consolidate.

ACTION GUIDE — when to use each:

  • add: Store NEW information. Requires 'content'. Use when saving preferences, decisions, facts for the first time. Example: action='add', content='User prefers dark mode', category='preference', tags=['ui']

  • search: Find existing memories by natural language query. Requires 'query'. Use BEFORE add to avoid duplicates. Example: action='search', query='dark mode preference'

  • update: Modify an EXISTING memory by ID. Requires 'memory_id' (from search/list results). Use when a fact changes. Example: action='update', memory_id='abc123', content='User now prefers light mode'

  • list: Browse all memories, optionally filtered by category. No query needed.

  • delete: Remove a memory by ID. Requires 'memory_id'.

  • stats: Show database statistics (total memories, categories, embedding status).

  • export: Export all memories to JSONL format.

  • import: Import memories from JSONL data. Requires 'data'.

  • archived: List archived memories. Optionally filter by limit.

  • restore: Restore an archived memory by ID. Requires 'memory_id'.

  • consolidate: Summarize and consolidate similar memories in a category using LLM. Requires 'category'.

WORKFLOW: search -> not found? -> add. Found outdated? -> update (with memory_id from results). PROACTIVE: save user preferences, decisions, corrections, project conventions.

configA

Server config, sync, and setup. Actions: status|sync|set|warmup|setup_sync.

ACTION GUIDE — when to use each:

  • status: Show current configuration, setup status, and database stats.

  • sync: Trigger manual sync (requires sync_enabled=true + google_drive_client_id).

  • set: Update a setting. Requires 'key' and 'value'. Valid keys: 'sync_enabled' (true/false), 'sync_interval' (int), 'log_level' (str). Example: action='set', key='sync_enabled', value='true'

  • warmup: Pre-download embedding model (~570 MB) to avoid delays later.

  • setup_sync: Authenticate Google Drive via Device Code OAuth flow.

helpA

Full documentation for memory and config tools. topic: 'memory' | 'config'

ACTION GUIDE — when to use:

  • Use when you need detailed instructions on how to use specific server tools or features.

config__open_relayA

Open the relay configuration form for mnemo-mcp in the user's browser. Returns the relay URL, whether the browser launched, and the current status.

Prompts

Interactive templates invoked by user choice

NameDescription
save_summaryGenerate a prompt to save a conversation summary as memory. ACTION GUIDE — when to use: - Use when a conversation is concluding or shifting topics to persist key takeaways. - Parameters: 'summary' (the consolidated text to save).
recall_contextGenerate a prompt to recall relevant memories about a topic. ACTION GUIDE — when to use: - Use when starting a new task or answering a question to retrieve prior context. - Parameters: 'topic' (the specific subject or keywords to search for).

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/n24q02m/mnemo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server