mcp-mem0
Verified Safeby yellnuts
Overview
Manages long-term memory for AI agents using Mem0, serving as an MCP server template.
Installation
python server.pyEnvironment Variables
- LLM_PROVIDER
- LLM_API_KEY
- LLM_CHOICE
- EMBEDDING_MODEL_CHOICE
- LLM_BASE_URL
- DATABASE_URL
- HOST
- PORT
- TRANSPORT
Security Notes
The server uses environment variables for API keys and database connection strings, which is a good practice. It leverages the `mem0ai` library to abstract memory operations, thus not directly exposing raw database queries or LLM calls that could be vulnerable to injection without proper sanitization by the library. No explicit `eval` or malicious patterns are found in the provided source. The default `user_id` is hardcoded to 'user', which limits multi-agent isolation by default but isn't a direct security vulnerability in terms of server-side malicious behavior.
Similar Servers
mem-agent-mcp
Provides a Model Context Protocol (MCP) server for a memory agent, enabling LLMs to interact with an Obsidian-like memory system for contextual assistance and RAG.
mcp-server-code-execution-mode
This server enables LLM agents to execute Python code in a highly secure, isolated container environment, facilitating complex multi-tool orchestration and data analysis with minimal LLM context token usage.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
mcp-mcp
Discovers and suggests other Model Context Protocol (MCP) servers to AI assistants based on natural language queries, returning their full documentation.