list_memories
List Memories
Retrieve one page of memories scoped to a user, agent, app, or session. Supports advanced filters and pagination. Use this to browse stored memories rather than searching by relevance.
Ask your agent in plain language. Each of these maps to a real tool on the server.
list_memories
Retrieve one page of memories scoped to a user, agent, app, or session. Supports advanced filters and pagination. Use this to browse stored memories rather than searching by relevance.
delete_memories
Delete one or more memories. You can delete a single memory by its ID, or bulk-delete all memories matching a scope filter (user, agent, app, or run). When using bulk delete, at least one scope filter is required.
get_memory
Retrieve a specific memory by its ID, optionally including its full change history. Use this to inspect a single memory's content, metadata, and version history.
delete_entity
Delete an entity and all of its associated memories. Supports user, agent, app, and run entity types. This permanently removes the entity and all memories scoped to it.
list_entities
List one page of entities (users, agents, apps, and runs/sessions) registered in Mem0. Optionally filter the current page by entity type. Use the entity name with delete_entity, rather than its internal ID.
add_memory
Store new memories from conversation messages using Mem0's V3 additive pipeline. Inference is processed asynchronously; use get_event to check completion. Disable inference to store messages directly. Memories must be scoped to a user, agent, app, or run.
search_memories
Search memories using natural language queries with hybrid semantic, keyword, and entity matching. Uses the V3 search API with support for advanced filtering using AND, OR, NOT, comparison operators, and field-level filters. Returns ranked results based on relevance to the query.
update_memory
Update an existing memory's text content or metadata. Changes are versioned and tracked in the memory's history.
get_event
Check whether an asynchronous memory addition or deletion has completed. Returns status, processed memory events, and provider failure details.
get_current_user
Validate the connected API key and discover its user email, organization, and project. Memory operations use the project associated with this API key.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Store, retrieve, search, update, and delete persistent memories for AI applications across users, agents, apps, and sessions. Extract facts from conversations or store messages directly. Browse and search memories with entity and metadata filters, inspect change history, manage entities, and track asynchronous processing.
Common questions about connecting Mem 0 to AI agents with Metorial.