Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging | false |
| MCP_NAME | No | MCP server name | memory-service |
| MITM_HOST | No | MITM proxy host | localhost |
| MITM_PORT | No | MITM proxy port | 8080 |
| MEM0_API_KEY | Yes | Your Mem0 SaaS API key (required) | |
| DEFAULT_USER_ID | No | Default user ID for memories | default_user |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_memories | Search conversation history using natural language - USE AUTONOMOUSLY based on conversation triggers |
| list_memories | List all stored conversation memories |
| add_memory | Store important information to memory - AUTO-STORE user preferences and decisions |
| delete_memory | Delete a specific memory by ID |
| analyze_conversations | Analyze conversation patterns and generate insights - AUTO-RUN at session start |
| suggest_next_actions | Get personalized recommendations - AUTO-SUGGEST when user seems stuck or asks 'what now?' |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_recent_memories | Get recent memories for the default user. Quick access to the 10 most recent memories. Useful for: - Getting up to speed at the start of a session - Checking what was just discussed - Understanding current context without searching |