Server data from the Official MCP Registry
Working memory for AI agents: digest-indexed episodes on a git shelf, recalled a section at a time.
Working memory for AI agents: digest-indexed episodes on a git shelf, recalled a section at a time.
memshelf-mcp is a well-structured MCP server for episodic memory management with sound security foundations. The codebase demonstrates careful attention to sensitive data handling (redaction, digest validation, policy patterns) and avoids dangerous patterns. Minor code quality issues and a subprocess invocation warrant attention, but no critical vulnerabilities were identified. Permissions align appropriately with the server's purpose as a local file/git-based memory shelf. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.
6 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ignatenkofi-memshelf-mcp": {
"args": [
"memshelf-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
Put your agent's memory on a shelf, hand it the index.
_ _ __
_ __ ___ ___ _ __ ___ ___| |__ ___| |/ _|
| '_ ` _ \ / _ \ '_ ` _ \/ __| '_ \ / _ \ | |_
| | | | | | __/ | | | | \__ \ | | | __/ | _|
|_| |_| |_|\___|_| |_| |_|___/_| |_|\___|_|_|
____________________________________________
| INDEX >> | E-01 | E-02 | E-03 | E-04 | ... |
|__________|______|______|______|______|_____|
memory shelves for AI agents
Status: M0 complete (Cases A + B), M1 tool surface shipped. The pattern
was validated with zero code on a live shelf — measured numbers in
docs/demo.md — and the M1 server/CLI now enforces it:
memshelf_shelve / recall / index / search / stats / doctor, plus a
Claude Code plugin (adapters/claude-code/). Sibling
project of docshelf-mcp,
which provides the storage/index layer.
Long-running agent sessions burn tokens re-sending history and lose detail to lossy auto-compaction. memshelf applies the docshelf pattern — tiny index in context, bodies fetched on demand — to the agent's own working memory:
INDEX.md (kilobytes) + digests in context and
recalls exact sections via INDEX → SUBINDEX navigation over MCP.Positioning in one sentence: claude-mem's loop, git's substrate, docshelf's navigation — episodic memory you can grep, diff, review, and carry between hosts. Private and local by default: the standard storage mode is a local git repo with no remote configured.
As an MCP server (tools memshelf_init / shelve / recall / index /
search / stats / doctor):
# Claude Code
claude mcp add memshelf -- uvx memshelf-mcp
// Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"memshelf": { "command": "uvx", "args": ["memshelf-mcp"] }
}
}
Or from the shell (pip install memshelf-mcp) — the same loop, no MCP:
memshelf init --shelf ~/my-shelf --name "My working memory"
memshelf shelve --shelf ~/my-shelf --slug 2026-07-23-topic --kind topic \
--digest "What was decided, what was rejected and why, what stays open." \
--section "Decisions=..."
memshelf recall --shelf ~/my-shelf --id 2026-07-23-topic --section Decisions --log
memshelf stats --shelf ~/my-shelf # claimed + realized savings
memshelf doctor --shelf ~/my-shelf # exit 1 on integrity errors
A rejected digest is a feature: the tool prints exactly what to fix and
writes nothing. Measured results from a week of dogfooding are in
docs/demo.md.
| Doc | What it covers |
|---|---|
docs/MANIFEST.md | Problem, the bet, hero scenarios, principles, non-goals |
docs/ARCHITECTURE.md | Episode format, digest contract, storage modes, triggers, MCP tool surface, portability model, privacy, failure modes |
docs/LANDSCAPE.md | Prior-art survey (2026-07), platform built-ins, positioning, risks |
docs/ROADMAP.md | Milestones M0–M3 with exit criteria |
docs/DECISIONS.md | Decision log |
docs/M0.md | M0 experiment protocol and results (complete): cases, token ledger, recall test |
docs/demo.md | Measured numbers from the dogfood shelf: compression, recall test, doctor findings |
docs/examples/ | A worked episode file and a memory-shelf INDEX |
adapters/claude-code/ | Claude Code plugin: /shelve skill + SessionStart/SessionEnd/PreCompact hooks |
Designed as RFC-0001 in the docshelf-mcp repo (#42, #43, #44); this repo is the project's home from 2026-07-13 on. The docshelf copy is frozen as a historical snapshot.
MIT — see LICENSE.
mcp-name: io.github.ignatenkofi/memshelf-mcp
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.