Back to Home
yellnuts icon

mcp-mem0

Verified Safe

by yellnuts

Overview

Manages long-term memory for AI agents using Mem0, serving as an MCP server template.

Installation

Run Command
python server.py

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks2
Last Update2025-12-15

Tags

Agent MemoryAILong-Term MemoryMem0MCP