Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mem0 Mcp

    5. Update .env file in the root directory with your mem0 API key: for the Model Context Protocol. Enhance AI assistants with powerful integrations.

    499 stars
    Python
    Updated Nov 3, 2025

    Documentation

    MCP Server with Mem0 for Managing Coding Preferences

    This demonstrates a structured approach for using an MCP server with mem0 to manage coding preferences efficiently. The server can be used with Cursor and provides essential tools for storing, retrieving, and searching coding preferences.

    Installation

    1. Clone this repository

    2. Initialize the uv environment:

    bash
    uv venv

    3. Activate the virtual environment:

    bash
    source .venv/bin/activate

    4. Install the dependencies using uv:

    bash
    # Install in editable mode from pyproject.toml
    uv pip install -e .

    5. Update .env file in the root directory with your mem0 API key:

    bash
    MEM0_API_KEY=your_api_key_here

    Usage

    1. Start the MCP server:

    bash
    uv run main.py

    2. In Cursor, connect to the SSE endpoint, follow this doc for reference:

    code
    http://0.0.0.0:8080/sse

    3. Open the Composer in Cursor and switch to Agent mode.

    Demo with Cursor

    https://github.com/user-attachments/assets/56670550-fb11-4850-9905-692d3496231c

    Features

    The server provides three main tools for managing code preferences:

    1. add_coding_preference: Store code snippets, implementation details, and coding patterns with comprehensive context including:

    • Complete code with dependencies
    • Language/framework versions
    • Setup instructions
    • Documentation and comments
    • Example usage
    • Best practices

    2. get_all_coding_preferences: Retrieve all stored coding preferences to analyze patterns, review implementations, and ensure no relevant information is missed.

    3. search_coding_preferences: Semantically search through stored coding preferences to find relevant:

    • Code implementations
    • Programming solutions
    • Best practices
    • Setup guides
    • Technical documentation

    Why?

    This implementation allows for a persistent coding preferences system that can be accessed via MCP. The SSE-based server can run as a process that agents connect to, use, and disconnect from whenever needed. This pattern fits well with "cloud-native" use cases where the server and clients can be decoupled processes on different nodes.

    Server

    By default, the server runs on 0.0.0.0:8080 but is configurable with command line arguments like:

    code
    uv run main.py --host  --port

    The server exposes an SSE endpoint at /sse that MCP clients can connect to for accessing the coding preferences management tools.

    Similar MCP

    Based on tags & features

    • MA

      Manim Mcp Server

      Python·
      490
    • DA

      Davinci Resolve Mcp

      Python·
      327
    • BI

      Biomcp

      Python·
      327
    • CH

      Chuk Mcp Linkedin

      Python00

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MA

      Manim Mcp Server

      Python·
      490
    • DA

      Davinci Resolve Mcp

      Python·
      327
    • BI

      Biomcp

      Python·
      327
    • CH

      Chuk Mcp Linkedin

      Python00

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k