Engram logo

Engram

by rwnalds

Git-backed Markdown memory for MCP agents, with authority-aware search, scoped access tokens, audit history, and a dashboard.

Install Engram

Run the project’s own setup commands, in order.

Setup steps from the project

rwnalds/engram installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    bun dev
    
  2. 2. Install
    bun install
    
  3. 3. Start the server
    bun dev            # http://localhost:3000 — runs against ./sample-vault
    
  4. 4. Start the server
    VAULT_DIR=/path/to/your/obsidian-or-markdown/vault bun dev
    
  5. 5. Start the server
    bun run mcp:stdio /path/to/your/vault      # defaults to ./sample-vault
    
  6. 6. Add to Claude Code
    claude mcp add --transport http engram https://<host>/api/mcp \
      --header "Authorization: Bearer <token>"
    

Overview

The rwnalds/engram MCP server gives MCP agents shared long-term memory through a self-hosted, git-backed Markdown vault. It exposes 15 `brain_*` tools over bearer-authenticated streamable HTTP at `/api/mcp`, while an in-memory index supports full-text search and a wikilink knowledge graph. Authority metadata, expiration, and supersession help search prefer current notes and explain excluded results. Reach for it when multiple agents need to read and write the same Obsidian-compatible vault with per-agent permissions and Git-based change history.

Use cases

  • Share project memory across multiple coding agents
  • Retire outdated pricing or API notes
  • Review agent changes with Git diffs
  • Search an Obsidian-compatible Markdown vault
  • Control read and write access per agent

Key features

  • Git-backed Markdown vault storage
  • Authority-aware full-text search
  • Supersession and expiration handling
  • Per-agent read/write bearer tokens
  • Dashboard with diffs and knowledge graph
  • Obsidian-compatible notes and wikilinks

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.

16/20 checks healthy over the last 111d

Adoption & maintenance

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

GitHub stars23Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Engram works

What rwnalds/engram MCP server does

The rwnalds/engram MCP server connects MCP-compatible agents to a folder of Markdown files that serves as shared, persistent memory. The files remain human-readable and are stored in Git, so the vault itself is the source of truth rather than a separate database. Existing Obsidian vaults can be used without an import step.

Its main distinction is that search considers whether a note is still authoritative. Notes can be marked as superseded or given an end date, allowing the server to withhold outdated results and return an explanation for each exclusion. Authority levels are derived from folder placement and frontmatter. A supersession operation can retire one fact and link its replacement in a single commit.

The dashboard provides a human view of the same vault. It supports search, file browsing, note viewing and editing, recent activity, per-file diffs, Obsidian callouts, wikilinks, backlinks, and a force-directed knowledge graph.

How it works

Agents connect through one bearer-authenticated HTTP endpoint using streamable HTTP JSON-RPC. The server indexes the Markdown vault in memory for full-text search and graph relationships; Git supplies durable storage and the audit trail. Each write is attributed through Git, and the dashboard can show the resulting file changes.

Access is controlled with per-agent tokens. A token may be read-only or allow writing, and a read-only token does not expose write tools. This model is intended for several agents sharing one vault while retaining distinct permissions.

Setup and configuration

The project is self-hosted and can run against a fresh repository or an existing Markdown vault. The README includes deployment paths for Railway and Render, as well as a local development command using bun dev. Connect an MCP client to the server's /api/mcp endpoint and provide the appropriate bearer token.

The material provided does not specify required environment variable names, token-generation commands, or the complete deployment configuration. Those details should be taken from the repository's current setup instructions rather than inferred here.

Tools and capabilities

The rwnalds/engram MCP server exposes 15 tools whose names use the brain_* prefix. The documented brain_supersede operation replaces an older fact and links the new note atomically. The tool set is served from one MCP endpoint, with write tools hidden from read-only credentials.

Other supported capabilities include authority-aware search, temporal validity through superseded_by and valid_until, explainable exclusions, contradiction checks during writes, Markdown note access, and knowledge-graph relationships based on wikilinks. The dashboard adds human-oriented editing, search, navigation, and change review.

Limitations and notes

Storage is intentionally limited to Git-backed Markdown rather than a database or vector store. The server is self-hosted, so operators manage the vault, Git repository, endpoint, and access tokens themselves.

Hermes is mentioned in the README, but it is not included in the supported client-slug vocabulary for this listing. The project is licensed under MIT.

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 Engram

rwnalds/engram is an MCP server that connects agents to a self-hosted, Git-backed Markdown vault. Its 15 `brain_*` tools support shared memory, authority-aware search, note writes, and supersession, while bearer tokens control read or write access. A dashboard provides search, editing, diffs, and a wikilink knowledge graph.

Use the repository's self-hosting instructions and connect an MCP client to `/api/mcp` with a bearer token.

Yes, Cursor is explicitly listed as a supported client. Connect it to the server's streamable HTTP MCP endpoint and authenticate with a bearer token; the token scope determines whether the client can only read or can also write.

Yes, it can point at an existing Obsidian vault without an import step. The vault remains a folder of Markdown files, and the dashboard supports Obsidian callouts, wikilinks, and backlinks.

It marks notes as superseded or expired and withholds them from search by default, returning an exclusion reason. The `brain_supersede` operation can retire an old note and link its replacement in one atomic commit.

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