project-mem-mcp

project-mem-mcp

3.4

An MCP Server to store and retrieve project information from memory file, allowing AI agents to maintain persistent memory about projects between conversations.

Project Memory MCP is a server designed to facilitate the storage and retrieval of project information in Markdown format. It allows AI agents, such as Claude, to maintain a persistent memory of projects across different conversations. The memory is stored in a MEMORY.md file within each project directory, enabling seamless access and updates. The server supports operations like retrieving the entire project memory, setting new memory, and updating existing memory using block-based patches. This ensures that project information is consistently up-to-date and accessible. The server is configured to work with various clients, including Claude Desktop, and can be installed using uvx or directly from the source. Security measures are in place to ensure that memory files do not contain sensitive information and that file operations are restricted to allowed directories.

Features

  • Stores project information in Markdown format for easy retrieval and updates.
  • Supports operations to get, set, and update project memory efficiently.
  • Configurable to work with different clients like Claude Desktop.
  • Security measures to restrict file operations to allowed directories.
  • Installation options via uvx or from source for flexibility.

MCP Tools

  • {'get_project_memory': 'Retrieves the entire project memory in Markdown format.'}
  • {'set_project_memory': 'Sets or overwrites the entire project memory.'}
  • {'update_project_memory': 'Updates project memory using block-based patches.'}

Usage with Different Platforms

Claude Desktop


{
  "mcpServers": {
    "project-memory": {
      "command": "uvx",
      "args": [
        "project-mem-mcp",
        "--allowed-dir", "/Users/your-username/projects",
        "--allowed-dir", "/Users/your-username/Documents/code"
      ]
    }
  }
}