Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEM0_API_KEY | No | Mem0 API key for cloud storage mode | |
| OPENAI_API_KEY | No | OpenAI API key for local storage mode (embeddings) | |
| DEFAULT_USER_ID | No | Default user ID for memory operations when userId is omitted |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_memory | Stores a piece of text as a memory in Mem0. |
| search_memory | Searches stored memories in Mem0 based on a query. |
| delete_memory | Deletes a specific memory from Mem0 by ID. |