SuperAPI AI Directory

project-memory-mcp

Persistent memory for coding agents in plain repo files (AGENTS.md, issues.jsonl): captures bugs, fixes, decisions and corrections and recalls them later.

Open website

About this tool

Purpose: Provide AI programming agents with persistent, searchable project memory, recording what the project is, the decisions made, and every bug and issue encountered during development. Memory is stored as plain text files inside the code repository, so multiple clients and even multiple machines share the same source of truth.

Main capabilities: Read project memory (list_projects, get_project, search_memory); append dated decisions and learnings to AGENTS.md (append_decision, append_learning); record corrections or habits as preferences (remember_preference); log bugs (log_issue) and search history across all projects (search_issues, with field and tag filtering); track and close bugs (list_open_issues, resolve_issue); sync the root AGENTS.md project table (sync_registry); look up related issues and decisions by file path (find_by_file); track named plans across sessions with start_initiative, get_initiative, list_initiatives, update_initiative; record workdays and generate standup summaries with check_in, check_out.

Design rules: Durable, low-volume facts go in AGENTS.md, which is loaded automatically, while high-volume bug history goes in issues.jsonl, queried via search_issues, thereby keeping resident context small.

Usage: Run the install command in the code/project directory to register the server, use the current directory as the project root, and write the MCP configuration for each client; after restarting the editor, tell the agent "set up project memory for this folder" to initialize the AGENTS.md for each project. After that, just use natural language to have the agent call the corresponding tools. Optionally use the Stop hook for forced capture, and the UserPromptSubmit hook for automatic recall; both are off by default and can be temporarily disabled with PROJECT_MEMORY_HOOK=off and PROJECT_MEMORY_RECALL=off respectively. You can use npx -y @kaaustubh/project-memory-mcp standup to print the standup summary directly, and reindex to warm up the semantic cache.

Applicable scenarios: When you need the agent to remember past fixes, decisions, and user corrections, avoid repeatedly investigating the same problem, and share memory across multiple sessions, machines, or clients.

Limitations: The server is passive and does not scan or run in the background on its own; memory is empty after the first installation and must be initialized first. Semantic recall requires an optional embedding model, otherwise it falls back to keyword matching, and if only basic functionality is needed you can install with npm ci --omit=optional. Collection depends on the model following the policy, and both the Stop hook and the recall hook must be enabled manually. issues.jsonl contains real bug details and should only be committed to private repositories. Team memory sharing is still in the testing phase and requires registering intent.