MCP.so
Sign In

Project Memory MCP

@PyneSys

About Project Memory MCP

An MCP server that enables AI agents to persistently store and retrieve project information from a memory file.

Basic information

Category

Memory & Knowledge

License

MIT license

Runtime

python

Transports

stdio

Publisher

PyneSys

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "project-mem-mcp": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Project Memory MCP?

An MCP server that stores and retrieves project information in Markdown files, allowing AI agents (like Claude) to maintain persistent memory about projects between conversations. The memory is stored in a MEMORY.md file in each project directory.

How to use Project Memory MCP?

Install via uvx or from source. Configure the MCP client (e.g., Claude Desktop) with a JSON entry pointing to the server and specifying allowed directories. The client starts the server automatically. Use the three provided tools: get_project_memory to read memory at the start of a conversation, set_project_memory to overwrite it, and update_project_memory for efficient patching.

Key features of Project Memory MCP

  • Stores project information in Markdown format
  • Retrieves memory at the beginning of conversations
  • Updates memory using block-based SEARCH/REPLACE patches
  • Validates project paths against allowed directories
  • Restricts all file operations to allowed directories

Use cases of Project Memory MCP

  • AI agents maintaining persistent memory about a project across multiple chats
  • Claude Desktop users linking project instructions to a memory file
  • Updating project information incrementally during a conversation
  • Falling back to full memory replacement if a patch fails

FAQ from Project Memory MCP

What does the --allowed-dir argument do?

It specifies the directories the server has access to. You can use it multiple times; if omitted, the server only accesses the user's home directory.

How is the server started?

The MCP client (e.g., Claude Desktop) starts the server based on your configuration. You do not need to start it manually.

What tools does Project Memory MCP provide?

Three tools: get_project_memory (reads memory), set_project_memory (overwrites memory), and update_project_memory (applies block-based patches).

What format is the project memory stored in?

The memory is stored in a MEMORY.md file inside the project directory, using Markdown formatting.

Are there security considerations?

Yes. Memory files should never contain sensitive information. All file operations are restricted to allowed directories, and project paths are validated against those directories.

Comments

More Memory & Knowledge MCP servers