MCP Agent Memory logo

MCP Agent Memory

by tverney

Filesystem-backed MCP memory with read, append, search, and optional daemon-based consolidation.

Install MCP Agent Memory

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tverney-mcp-agent-memory": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-agent-memory"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio tverney-mcp-agent-memory -- npx -y mcp-agent-memory

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y mcp-agent-memory

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

tverney/mcp-agent-memory exposes persistent agent memory through MCP and stores it in a filesystem directory, typically ~/.agent-memory/. Its tools read the memory index, load selected topics, append session summaries, and search stored files. An optional agent-memory-daemon watches the same directory to extract durable memories and consolidate sessions. Use it when an MCP client needs shared, local memory that persists across conversations.

Use cases

  • Persist agent preferences and project facts between sessions
  • Append concise session decisions for later memory extraction
  • Search stored memory for a specific fact without loading every file
  • Share a local memory directory across supported MCP clients

Key features

  • Filesystem-backed persistent memory
  • Lightweight index reads with optional topic loading
  • Substring search across memory files
  • Session summary appending with source tags
  • Optional background consolidation daemon
  • Interactive client and service setup

Tools4

What MCP Agent Memory lets your agent do. Expand a tool for its parameters.

Verified live~382 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/18 checks healthy over the last 117d

What it can do

From the 4 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age173 days
Maintainers1

Observed 2026-10-16 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · mcp-agent-memory (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads395Package downloads in the last 30 days.
Last commit15d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Agent Memory works

What tverney/mcp-agent-memory does

tverney/mcp-agent-memory provides a filesystem bridge between MCP-compatible clients and an agent memory directory. It lets agents inspect an index, open selected topic files, search stored content, and save session summaries for later processing. The default directory is ~/.agent-memory/, although setup can configure another location.

The package is designed to work with Kiro, Claude Desktop, Cursor, and other MCP clients. Memory remains available without the consolidation daemon; the daemon adds automated extraction of durable information from saved sessions and consolidation of the memory files.

How it works

The MCP process and agent-memory-daemon communicate through files rather than a direct process connection. The MCP server reads and writes the configured memory directory, while the daemon watches that directory and performs consolidation and extraction passes in the background.

Calling memory_read without arguments returns only MEMORY.md, keeping the initial context small. Topic names can be supplied when an agent needs the complete contents of particular files. Session summaries are appended to the sessions directory, where the daemon can process them later. Focused summaries of durable findings and decisions are preferred over detailed activity logs.

The daemon is optional. Without it, agents can still read, write, and search memory, but session summaries are not automatically converted into durable memories.

Setup and configuration

Install the package globally with npm:

Terminal
npm install -g mcp-agent-memory

Run mcp-agent-memory --setup for the interactive configuration flow. It can create the memory directory, optionally install the consolidation daemon, configure an LLM backend, set consolidation parameters, create an auto-start service, configure logs and retention, and register the MCP server in Kiro, Claude Desktop, or Cursor. macOS uses a LaunchAgent for automatic startup; Linux uses a systemd user service when systemctl --user is available.

The package can also be run directly as an MCP server with mcp-agent-memory. --configure reruns configuration, while --remove removes the configured memory entry from client settings and backs up the memory directory by default.

For manual daemon setup, install agent-memory-daemon, create a configuration under the memory directory, and start the daemon with that configuration. Supported backend choices in the setup flow include Bedrock, OpenAI, and Kiro.

Tools and capabilities

  • memory_read returns the memory index and optionally selected topic files.
  • memory_append_session stores a Markdown session summary and accepts an optional source tag.
  • memory_search performs substring searches across memory files.
  • memory_daemon_status reports whether the consolidation daemon is running, installed, or unavailable on the platform.
  • CLI commands manage setup, configuration, removal, and daemon start, stop, restart, status, or removal operations.

Limitations and notes

The daemon is a separate optional component and requires its own installation and LLM configuration for automated consolidation. Linux hosts without a reachable user-level systemd manager cannot use the systemd run mode and must run the daemon standalone. The server itself provides file-based memory operations; consolidation happens asynchronously through the daemon.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Agent Memory

tverney/mcp-agent-memory is an MCP server that connects MCP clients to a filesystem-based agent memory directory and the optional agent-memory-daemon. Its main tools read memory, append session summaries, search memory files, and report daemon status, enabling persistent local context across agent sessions.

Install it globally with `npm install -g mcp-agent-memory`, then run `mcp-agent-memory --setup`. The wizard can create the memory directory, configure the optional daemon, set up services and logs, and register the server with supported client configurations.

Yes. The MCP server can read, append, and search files without the daemon. Automatic consolidation and extraction of durable memories from session summaries require a separate `agent-memory-daemon` installation and configuration.

Yes. Cursor is one of the clients supported by the setup flow. The wizard can register the MCP server in Cursor's configuration, or the server can be configured manually as an MCP process.

It stores memory as files in a configured directory, using `~/.agent-memory/` by default. The server reads and writes that directory, while the optional daemon watches it for consolidation and extraction.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Agent Memory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tverney-mcp-agent-memory?style=directory)](https://allmcps.com/mcp/tverney-mcp-agent-memory)
HTML Embed
<a href="https://allmcps.com/mcp/tverney-mcp-agent-memory"><img src="https://allmcps.com/api/badge/tverney-mcp-agent-memory?style=directory" alt="MCP Agent Memory on AllMCPs" /></a>