Mem0 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEM0_API_KEY | Yes | Mem0 platform API key (required) | |
| MEM0_DEFAULT_USER_ID | No | Default user_id injected into filters and write requests | mem0-mcp |
| MEM0_MCP_AGENT_MODEL | No | Default LLM for the bundled agent example | openai:gpt-4o-mini |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_memoryB | Store a new preference, fact, or conversation snippet. Requires at least one: user_id, agent_id, or run_id. |
| search_memoriesA | Run a semantic search over existing memories. |
| get_memoriesA | Page through memories using filters instead of search. |
| delete_all_memoriesC | Delete every memory in the given user/agent/app/run but keep the entity. |
| list_entitiesB | List which users/agents/apps/runs currently hold memories. |
| get_memoryB | Fetch a single memory once you know its memory_id. |
| update_memoryB | Overwrite an existing memory’s text. |
| delete_memoryB | Delete one memory after the user confirms its memory_id. |
| delete_entitiesA | Remove a user/agent/app/run record entirely (and cascade-delete its memories). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| memory_assistant | Get help with memory operations and best practices. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/parthshr370/mem0_mcp_private'
If you have feedback or need assistance with the MCP directory API, please join our Discord server