Loading...
pip install mem0-mcp-server{
"mcpServers": {
"mem0": {
"command": "uvx",
"args": ["mem0-mcp-server"],
"env": {
"MEM0_API_KEY": "m0-...",
"MEM0_DEFAULT_USER_ID": "your-handle"
}
}
}
}add_memorySaves text or conversation history for a user/agent.
Adds data to memory, potentially increasing storage costs.
search_memoriesPerforms semantic search across existing memories.
Read-only operation, no data modification.
get_memoriesLists memories with structured filters and pagination.
Read-only operation, no data modification.
get_memoryRetrieves a single memory by its `memory_id`.
Read-only operation, no data modification.
update_memoryOverwrites a memory's text once the user confirms the `memory_id`.
Modifies existing data, potentially leading to data corruption if not handled carefully.
delete_memoryDeletes a single memory by `memory_id`.
Deletes data, potentially leading to irreversible data loss.
delete_all_memoriesBulk deletes all memories in the confirmed scope.
Bulk deletion can cause significant and irreversible data loss.
delete_entitiesDeletes a user/agent/app/run entity and its memories.
Deletes entities and associated memories, leading to significant data loss.
list_entitiesEnumerates users/agents/apps/runs stored in Mem0.
Read-only operation, no data modification.
The Mem0 MCP Server offers memory management capabilities with some inherent risks due to write and delete operations. It's relatively safe when used with strong API key management and careful consideration of delete operations. Risks increase with exposure of the API key and misuse of bulk delete functionalities.