MCP AutoMem

v0.10.0
io.github.verygoodplugins/mcp-automem Checked 2 hours ago Published 10 months ago

Graph-vector memory for AI assistants using FalkorDB and Qdrant

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

store_memory Store Memory

Store a memory with optional tags, importance score, and metadata. Use this to persist important information for future recall. **Content size guidelines:** - Target: 150-300 characters (one meaningful paragraph) - Maximum: 500 characters (auto-summarized if exceeded) - Hard limit: 2000 characters (rejected) - Format: "Brief title. Context and details. Impact/outcome." **When to use:** - After making a decision: store the reasoning and outcome - When discovering a pattern: store the pattern and where it applies - After fixing a bug: store the root cause and solution - When learning user pref…

ParameterTypeDescription
content *stringThe memory content to store. Be specific: include context, reasoning, and outcome.
embeddingarrayOptional embedding vector for semantic search (auto-generated if omitted)
importancenumberImportance score: 0.9+ critical decisions, 0.7-0.9 patterns/bugs, 0.5-0.7 minor notes
metadataobjectOptional structured metadata (e.g., { files_modified: ["auth.ts"], error_type: "timeout" })
tagsarrayTags to categorize the memory (e.g., ["project-name", "bug-fix", "auth"])
timestampstringOptional ISO timestamp (defaults to now)

recall_memory Recall Memory

Search and retrieve relevant memories using semantic search, keywords, tags, time filters, and graph expansion. This is the primary tool for accessing stored knowledge. **When to use:** - At conversation start: recall context about the current project/topic - Before making decisions: check for past decisions on similar topics - When debugging: search for similar past errors and their solutions - When implementing: find established patterns and preferences - For complex questions: use expand_entities for multi-hop reasoning **Search strategies:** - Semantic: Use natural language queries like…

ParameterTypeDescription
active_pathstringCurrent file path for language auto-detection (e.g., "src/auth.ts")
auto_decomposebooleanAuto-extract entities and topics from query to generate supplementary searches.
contextstringContext label (e.g., "coding-style", "architecture"). Boosts matching preferences.
context_tagsarrayPriority tags to boost in results (e.g., ["coding-style", "preferences"])
context_typesarrayPriority memory types to boost (e.g., ["Style", "Preference"])
embeddingarrayOptional embedding vector for direct similarity search
endstringISO timestamp upper bound
expand_entitiesbooleanEnable multi-hop reasoning via entity expansion. Finds memories about people/places mentioned in seed results. Use for "What is X's sister's job?" type questions.
expand_min_importancenumberMinimum importance score for expanded results. Filters out low-relevance memories during graph/entity expansion. Recommended: 0.3-0.5 for broad context, 0.6-0.8 for focused results. Seed results are n…
expand_min_strengthnumberMinimum relation strength to follow during graph expansion. Only traverses edges above this threshold. Recommended: 0.3 for exploratory, 0.6+ for high-confidence connections only. Does not affect enti…
expand_relationsbooleanFollow graph relationships from seed results to find related memories.
expansion_limitintegerMax total expanded memories (default: 25)
languagestringProgramming language hint (e.g., "python", "typescript"). Prioritizes language-specific memories.
limitintegerMax memories to return (default: 5, increase for broader context)
priority_idsarraySpecific memory IDs to ensure are included in results
queriesarrayMultiple queries for broader recall. Results are deduplicated server-side.
querystringSemantic search query (natural language). Describe what you're looking for.
relation_limitintegerMax relations to follow per seed memory (default: 5)
startstringISO timestamp lower bound (alternative to time_query)
tag_matchstring"exact" for exact tag match (default), "prefix" for starts-with matching
tag_modestring"any" matches memories with any tag (default), "all" requires all tags
tagsarrayFilter by tags. Use project name as first tag for scoping.
time_querystringNatural language time filter: "today", "yesterday", "last week", "last 30 days"

associate_memories Associate Memories

Create a typed relationship between two memories. This builds a knowledge graph that improves recall by surfacing related context. **When to use:** - After storing a new memory: link it to related existing memories - When a bug fix relates to an original feature implementation - When a new decision updates or invalidates a previous one - To connect patterns with their concrete examples **Relationship types:** - RELATES_TO: General relationship (default) - LEADS_TO: Causal relationship (A caused B) - DERIVED_FROM: Implementation of a decision/pattern - EXEMPLIFIES: Concrete example of a patte…

ParameterTypeDescription
memory1_id *stringID of the source memory (from store_memory response or recall results)
memory2_id *stringID of the target memory to link to
strength *numberRelationship strength: 0.9+ direct causation, 0.7-0.9 strong relation, 0.5-0.7 moderate
type *stringRelationship type (see tool description for meanings)

update_memory Update Memory

Update an existing memory's content, tags, importance, or metadata. Use this to correct or enhance memories rather than storing duplicates. **When to use:** - To correct inaccurate information in a memory - To add tags that were forgotten - To adjust importance based on new understanding - To add metadata after the fact **Examples:** - update_memory({ memory_id: "abc123", importance: 0.95 }) // Increase importance - update_memory({ memory_id: "abc123", tags: ["project-x", "critical", "auth"] }) // Add tags - update_memory({ memory_id: "abc123", content: "Updated: PostgreSQL chosen for ACID…

ParameterTypeDescription
memory_id *stringID of the memory to update (from store_memory or recall results)
confidencenumberConfidence score for the memory
contentstringNew content (replaces existing)
importancenumberNew importance score
last_accessedstringLast access timestamp
metadataobjectNew metadata (merged with existing)
tagsarrayNew tags (replaces existing)
timestampstringOverride creation timestamp
typestringMemory type classification
updated_atstringExplicit update timestamp

delete_memory Delete Memory

Permanently delete a memory and its embedding. Use sparingly - consider updating instead. **When to use:** - Memory contains incorrect information that can't be corrected - Memory is a duplicate - Memory contains sensitive information that shouldn't persist - Memory is no longer relevant and clutters recall results **Example:** - delete_memory({ memory_id: "abc123" })

ParameterTypeDescription
memory_id *stringID of the memory to delete (from store_memory or recall results)

check_database_health Check Database Health

Check the health status of the AutoMem service and its connected databases (FalkorDB graph + Qdrant vectors). **When to use:** - Before a session to verify the memory service is available - When memory operations are failing unexpectedly - To check storage statistics **Example:** - check_database_health({})