Stores reviewable, branch-aware project memory in Markdown tracked by Git, with MCP tools for context, updates, and health checks.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Agent Memory.
memory.fetch_contextRead a budgeted Markdown context pack.
memory.propose_updateSubmit structured edits (apply or stage).
memory.statusReport memory health: file counts, staged proposals (with drift), security/git/lock posture.
The xChuCx/agent-memory MCP server stores durable project knowledge in Markdown under a repository-managed memory area. Its intended content includes current task state, decisions, coding conventions, pitfalls, and facts about individual modules. Git remains the synchronization and review mechanism, so memory changes can be inspected with normal repository workflows rather than hidden in a hosted service or database.
The system is designed for local use and supports branch-aware memory. It complements instruction files such as AGENTS.md or CLAUDE.md: those files describe how an agent should behave, while this project records searchable, reviewed knowledge about the codebase.
Agents communicate through three MCP tools:
memory.fetch_context returns a budget-limited Markdown context pack. It can provide a bootstrap context or retrieve information using a query.memory.propose_update accepts structured memory edits. Working notes and pitfalls can apply immediately, while durable categories can be staged for approval.memory.status reports memory health, including file counts, staged proposals and drift, plus security, Git, and lock posture.Staged durable changes follow a review gate: inspect the generated diff with agent-memory review --diff, then use agent-memory apply or reject the proposal. This prevents durable edits from being written without approval. Writes also scan for secrets and personally identifiable information before content is stored.
The project includes a section-aware merge driver for concurrent team edits. Later releases also include multi-store search, a deterministic SHA-256 Merkle digest for active memory, and the VTP-1 lifecycle with task specification, claims, receipts, verification, and settlement. The README describes isolated-seat enforcement for verification and line-ending normalization for cross-platform digest consistency.
Install a prebuilt agent-memory binary from the projectβs latest release, or run the published package with npx -y @xchucx/agent-memory. A Go 1.25 or newer toolchain can alternatively install the binary with go install, and the repository can be built from source.
Inside the target repository, initialize memory with agent-memory init --name my-project. Start the MCP process with agent-memory mcp. The server resolves its repository root from the --root option, then CLAUDE_PROJECT_DIR, and finally the current working directory. A root should be scoped to the project being served; a single user-level registration with a hardcoded repository can send another projectβs writes to the wrong location.
The agent-memory install claude command creates the Claude Code skill and merges a project-scoped .mcp.json. Other runtimes can use the same server through their adapter or MCP configuration. The README explicitly identifies Cursor, Claude Code, Codex/AGENTS.md, and Gemini CLI as supported runtime contexts.
The xChuCx/agent-memory MCP server exposes context retrieval, structured update proposals, and health reporting over MCP. Its broader CLI includes initialization, fetch, review, apply, rejection, status, synchronization, digest, and VTP operations. Memory is plain text, byte-preserving, Git-versioned, and usable without cloud access or a vector database.
This release is repository-local; the roadmap identifies system-level and multi-repository memory as future work. Durable knowledge requires an explicit review and apply workflow. The README also describes the retrieval evaluation as an offline benchmark, not as a guarantee for every repository or query. Homebrew, Scoop, and winget packages are listed as planned rather than available installation methods.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/xchucx-agent-memory)<a href="https://allmcps.com/mcp/xchucx-agent-memory"><img src="https://allmcps.com/api/badge/xchucx-agent-memory?style=directory" alt="Agent Memory on AllMCPs" /></a>