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 (optional) | mem0-mcp |
| MEM0_MCP_AGENT_MODEL | No | Default LLM for the bundled agent example (optional) | openai:gpt-4o-mini |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_memoryA | 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_memoriesA | Delete every memory in the given user/agent/app/run but keep the entity. |
| list_entitiesA | 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/arjunkmrm/mem0-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server