agent-memory-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENT_MEMORY_DB | No | Path to the SQLite database file. | |
| AGENT_MEMORY_HOME | No | Data root directory for Agent Memory MCP. | |
| AGENT_MEMORY_CONFIG | No | Path to explicit configuration file. | |
| AGENT_MEMORY_PROJECT | No | Default project for operations. | |
| AGENT_MEMORY_LOG_LEVEL | No | Logging level (error, warn, info, debug). | |
| AGENT_MEMORY_NAMESPACE | No | Default namespace for operations. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| memory_addC | Add durable memory. Exact normalized duplicates in the same scope return the existing ID. |
| memory_searchA | Search FTS5 with literal AND terms, BM25 and small importance/recency boosts. Deleted and expired memories are excluded by default. |
| memory_getA | Get a full memory by ID in the selected scope. Returns expired state; deleted records require include_deleted:true. |
| memory_updateC | Update a memory in the selected original scope. Supply changes in updates; moving projects uses updates.project. |
| memory_deleteB | Soft-delete a memory in the selected scope. Restore is available through the maintenance CLI. |
| memory_listB | Browse memories by exact filters, pagination and sort. Multiple tags mean all tags must match. |
| memory_importA | Import versioned JSON, Markdown, or Claude Code memory from an explicit path (or inline data for JSON/Markdown). Defaults to preview; set dry_run:false to commit. Conflicts: skip/update/copy. |
| memory_exportC | Return schemaVersion:1 JSON or lossless Markdown in data. Apply filters to limit size. Does not write arbitrary files. |
| memory_restoreA | Restore a soft-deleted memory in the selected scope. |
| memory_statsB | Scope counts, provider state, and database-wide aggregate latency/error/import metrics. |
| memory_search_hybridB | Lexical, semantic or RRF hybrid search with optional graph context. Provider unavailable or unindexed scope falls back to lexical. Results indicate candidate limits and fallback. |
| memory_reindexB | Explicitly embed active memories using the configured provider. Optional IDs or bounded batch; unchanged indexes are reused unless force:true. |
| memory_find_duplicatesA | Suggest duplicates using text and/or cached embedding similarity within one scope. Never modifies memories. |
| memory_mergeA | Preview a merge, then pass proposal_token with dry_run:false to apply. Source records are soft-deleted; original snapshots and provenance are retained. |
| memory_enrichC | Run/get/enqueue optional validated LLM suggestions. action:apply explicitly materializes suggested graph facts without overwriting original memory fields. |
| entity_addC | Add an entity with aliases and attributes in an exact scope. |
| entity_searchC | Search entity names/aliases in one exact scope. |
| entity_getC | Get an entity and aliases in the selected scope. |
| entity_updateA | Update entity fields, aliases, or set updates.deleted to soft-delete/restore. |
| entity_linkB | Link/unlink a memory and entity in the same scope for graph-assisted retrieval. |
| relation_addB | Add a temporal fact. preserve marks overlapping alternatives as conflicts; parallel allows coexistence; supersede requires an explicit old relation ID. |
| relation_searchB | Query current facts or history with explicit scope, intervals, stale/deleted/inactive filters. Validity uses [valid_from,valid_to). |
| relation_updateA | Update fact confidence, attributes, status, end time or soft deletion. Superseded intervals cannot be reopened. |
| graph_neighborsA | Bounded BFS up to depth 3 with node/edge limits and temporal filters; reports truncation. |
| graph_pathB | Find a bounded directed/undirected path within one scope and temporal snapshot. |
| memory_at_timeA | Query graph facts valid at a specific ISO timestamp; preserves superseded history. |
| memory_maintenanceA | Explicit bounded maintenance. Defaults to dry-run. expire/orphans soft-delete; FTS rebuild and vacuum affect the whole DB. Physical purge is CLI-only. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |