A robust server for managing long-term agent memory using Mem0, providing efficient storage and retrieval of agent memories with a lightweight Python-based implementation.
Welcome to the MCP-Mem0 repository! This project provides 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.
To get started with MCP-Mem0, you will need to download the latest release. Visit the Releases section to find the latest version. Download the file and execute it to set up your server.
Follow these steps to install MCP-Mem0:
Clone the Repository:
git clone https://github.com/yellnuts/mcp-mem0.git cd mcp-mem0
Install Dependencies: Ensure you have Python 3.6 or higher installed. Use pip to install the required packages:
pip install -r requirements.txt
Run the Server: After installing the dependencies, you can start the server with:
python server.py
Access the API:
Open your web browser and navigate to http://localhost:5000
to access the server.
Once the server is running, you can interact with it using HTTP requests. Below are some example endpoints you can use:
Create Memory:
POST /memory
Body:
{ "agent_id": "unique_agent_id", "memory_data": "Your memory data here" }
Retrieve Memory:
GET /memory/{agent_id}
Delete Memory:
DELETE /memory/{agent_id}
For more detailed API documentation, refer to the API.md
file in the repository.
We welcome contributions to MCP-Mem0! Hereโs how you can help:
git checkout -b feature/YourFeature
git commit -m "Add your message here"
git push origin feature/YourFeature
This project is licensed under the MIT License. See the LICENSE
file for more details.
For any inquiries or support, please contact the maintainer:
Thank you for checking out MCP-Mem0! We hope you find it useful. For the latest updates and releases, donโt forget to check the Releases section again.
MCP-Mem0 allows for advanced configurations to suit your specific needs. You can adjust settings in the config.json
file located in the root directory. Here are some of the key configurations you can modify:
Hereโs an example of what your config.json
might look like:
{ "memory_expiry": "30 days", "logging_level": "info", "port": 5000 }
If you encounter issues while using MCP-Mem0, consider the following common problems:
agent_id
is unique and correctly formatted.We have exciting plans for future updates! Here are some features we aim to implement:
Stay tuned for these features and more!
Join our community to share your experiences, ask questions, and get support:
We encourage you to engage with other users and contribute to discussions.
Thank you for exploring MCP-Mem0! We believe this tool will be a valuable asset for anyone working with agent memory management. Your feedback is essential, so feel free to reach out with suggestions or improvements.
For the latest updates, donโt forget to visit the Releases section again. Happy coding!
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!