MemoFS MCP Server logo

MemoFS MCP Server

File-first MCP memory runtime that stores agent context in inspectable Markdown and JSONL files with optional cloud synchronization.

Install MemoFS MCP Server

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": {
    "memofs-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@memofs/cli"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio memofs-mcp-server -- npx -y @memofs/cli

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 @memofs/cli

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

MemoFS MCP Server MCP server gives AI agents persistent memory and a virtual filesystem backed by a local `.memofs/` directory. It stores core memory, notes, events, graph data, archives, and snapshots as Markdown, JSONL, and JSON files that can be inspected and versioned. Local mode works without a cloud account, while hybrid mode can synchronize with MemoFS Cloud. Reach for it when an agent needs durable, project-scoped memory across sessions or a file-based memory store for custom Node.js runtimes.

Use cases

  • Persist project facts across agent sessions
  • Recall notes from a local memory workspace
  • Embed file-backed memory in a Node.js agent
  • Create and restore memory snapshots
  • Synchronize memory across environments with MemoFS Cloud

Key features

  • File-backed Markdown, JSONL, and JSON memory
  • Local, hybrid, and in-memory runtime modes
  • Offline BM25 and fuzzy recall
  • Virtual AgentFS paths and lease-locking
  • Versioned snapshots and restore
  • Optional semantic embedding adapters

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.

21/21 checks healthy over the last 101d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @memofs/cli (npm)

Adoption & maintenance

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

GitHub stars5Stargazers on the source repository.
npm downloads563Package downloads in the last 30 days.
Last commit23d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How MemoFS MCP Server works

What MemoFS MCP Server MCP server does

MemoFS MCP Server MCP server exposes the MemoFS memory runtime to AI agents through the Model Context Protocol. Its storage model is file-first: project memory is kept beneath .memofs/ rather than hidden inside a database. Markdown files hold durable facts and notes, while JSONL and JSON files record events, graph data, manifests, archives, and restore snapshots.

The runtime supports project-wide core memory, timestamped notes, recall, virtual paths, snapshots, and restore operations. It can also maintain relationships between extracted entities and preserve action or session information described by the broader MemoFS runtime. The repository labels the project beta.

How it works

A local filesystem store is the default operating mode. MemoFS resolves settings from constructor options, environment variables, and .memofs/config.json, in that order. The documented modes are local, which uses only the filesystem; hybrid, which combines local storage with cloud synchronization policies; and memory, which keeps data volatile for tests.

Recall works offline with lexical BM25 and fuzzy matching. Applications can add semantic retrieval through OpenAI or Voyage AI adapters, or use the Transformers.js ONNX adapter for in-process vector search without an API key. Memory can be anchored to project files, schemas, byte hashes, and symbol paths, with drift detection affecting stale knowledge during queries.

Setup and configuration

For an existing AI-agent project, run npx @memofs/cli init. The CLI creates the .memofs/ directory, adds project rules, prepares platform lifecycle hooks, and configures the local MCP server.

Developers embedding the runtime in a Node.js or TypeScript application can install @memofs/core and create a filesystem-backed store with createNodeFsMemoryStore. The runtime is then initialized with a project identifier and a selected mode. The repository also publishes @memofs/mcp-server as the MCP server package.

Tools and capabilities

The documented runtime operations include:

  • Reading and writing core memory and notes.
  • Recording durable notes with content and a memory kind.
  • Recalling relevant stored information.
  • Creating and restoring versioned snapshots.
  • Using virtual AgentFS paths with lease-locking.
  • Synchronizing local data with MemoFS Cloud in hybrid deployments.
  • Running a memory linter for broken references, contradictions, and provenance links.
  • Tracking causal lineage through action receipts and task references.

Limitations and notes

MemoFS MCP Server MCP server is local-first and does not require a cloud account for local operation. Team workspaces, access control, a memory dashboard, and a hosted managed MCP endpoint belong to MemoFS Cloud rather than the open-source local setup. Cloud synchronization is available as a client capability, while hosted services are separate offerings.

Semantic search is not the default described path: offline lexical and fuzzy recall works without configuration, while vector search requires a selected adapter. The source identifies the project as beta, so developers should evaluate its behavior against their agent workflow before adopting it for production-critical memory.

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 MemoFS MCP Server

MemoFS MCP Server is an MCP server that connects AI agents to a local `.memofs/` filesystem for persistent memory. Its main tools and runtime operations support reading and writing memory, recording notes, recalling stored information, and creating or restoring snapshots, with optional synchronization through MemoFS Cloud.

Run `npx @memofs/cli init` in an agent project to create `.memofs/`, configure project rules and lifecycle hooks, and set up the local MCP server. Developers embedding MemoFS directly can install `@memofs/core` with npm instead.

Running `npx @memofs/cli init` configures the local MCP server and related project setup for an existing project.

Yes, local operation works without a cloud account. The default `local` mode stores memory on the filesystem, while `hybrid` mode adds optional synchronization with MemoFS Cloud.

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 PreviewMemoFS MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/memofs-mcp-server?style=directory)](https://allmcps.com/mcp/memofs-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/memofs-mcp-server"><img src="https://allmcps.com/api/badge/memofs-mcp-server?style=directory" alt="MemoFS MCP Server on AllMCPs" /></a>