mem0-mcp  by mem0ai

MCP server for managing coding preferences

created 5 months ago
406 stars

Top 72.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an MCP (Message Communication Protocol) server leveraging mem0 for managing and querying coding preferences. It's designed for developers using tools like Cursor, enabling persistent storage, retrieval, and semantic search of code snippets, best practices, and technical documentation.

How It Works

The server exposes a Server-Sent Events (SSE) endpoint (/sse) that MCP clients can connect to. It utilizes mem0 for semantic search and storage of coding preferences, which can include code snippets, dependencies, setup instructions, and best practices. This SSE-based, decoupled architecture allows agents to connect, query, and disconnect as needed, fitting well with cloud-native deployments.

Quick Start & Requirements

  • Install dependencies: uv pip install -e .
  • Set MEM0_API_KEY in .env.
  • Start server: uv run main.py
  • Connect Cursor to http://0.0.0.0:8080/sse.
  • Requires Python and uv.

Highlighted Details

  • Stores comprehensive context for coding preferences.
  • Enables semantic search for code implementations and solutions.
  • SSE endpoint allows for decoupled client-server interaction.
  • Configurable host and port.

Maintenance & Community

No specific contributors, sponsorships, or community links (Discord/Slack) are mentioned in the README.

Licensing & Compatibility

The repository does not explicitly state a license.

Limitations & Caveats

The project is presented as a demonstration, and the lack of an explicit license may pose compatibility issues for commercial or closed-source use. No specific performance benchmarks or community support channels are detailed.

Health Check
Last commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
265 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.