MCP-Mem0
by yellnuts
MCP-Mem0 is a robust server for managing long-term agent memory using Mem0. It also serves as a helpful template for anyone looking to build their own MCP server with Python.
Last updated: N/A
What is MCP-Mem0?
MCP-Mem0 is a Python-based server designed for efficient management of long-term agent memory. It provides a template structure for building custom MCP servers and offers a lightweight solution for storing and retrieving agent memories.
How to use MCP-Mem0?
To use MCP-Mem0, clone the repository, install the dependencies using pip install -r requirements.txt, and run the server with python server.py. Interact with the server using HTTP requests to create, retrieve, and delete memories. Refer to the API.md file for detailed API documentation.
Key features of MCP-Mem0
Long-Term Memory Management
Python-Based
Template Structure
Lightweight
Use cases of MCP-Mem0
Managing agent conversations
Storing agent experiences
Building AI assistants with memory
Creating personalized user experiences
FAQ from MCP-Mem0
How do I install MCP-Mem0?
How do I install MCP-Mem0?
Clone the repository, install dependencies using pip install -r requirements.txt, and run the server with python server.py.
How do I access the API?
How do I access the API?
Open your web browser and navigate to http://localhost:5000 to access the server.
How do I create a memory?
How do I create a memory?
Send a POST request to /memory with the agent_id and memory_data in the request body.
How do I retrieve a memory?
How do I retrieve a memory?
Send a GET request to /memory/{agent_id}.
How do I configure memory expiry?
How do I configure memory expiry?
Adjust the memory_expiry setting in the config.json file.