r/MCPservers • • 1d ago

Shared memory MCP server for Claude Code, Codex and OpenCode, with decay and provenance

https://github.com/joexk1/JoeBro

Part of JoeBro (free, GPLv3 Mac app), but the memory is a plain MCP server any MCP-capable agent can use. Tools: memory_remember, memory_recall, memory_supersede, memory_forget, memory_project_brief.

  • One SQLite store per project, on your disk.
  • Every fact records the agent, model and host that wrote it.
  • Strength grows on recall and decays with a half-life, so unused facts fade.
  • Writing the same fact again reinforces it instead of duplicating.
  • Recall is lexical (rare-word weighted), no embeddings and no model calls.

Disclosure: I built it. Happy to answer questions about the design.

2 Upvotes

7 comments sorted by

•

u/AutoModerator 1d ago

Weekly MCP news in one short email: spec changes, SDK security fixes, new servers. Free, from the r/MCPservers team.

Subscribe: https://mcpnewsletter.com/join?utm_source=reddit_automod&utm_medium=social

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/kantorcodes1 1d ago

Every fact in the store names the agent, model and host that wrote it, so provenance is covered. What I cannot tell from the post is the write side: memory_forget and memory_supersede sit in the same tool set, so can any connected agent forget or supersede a fact another agent wrote, or is a fact only removable by the agent that wrote it?

1

u/JoeBro121211 1d ago

Any connected agent can supersede or forget any fact in that project, there's no per-author ownership. The safety net is that nothing is destructive: forget archives a fact and supersede archives the old version with a pointer to the new one, and both actions are logged with the agent that did them. So a bad write from one agent can be traced and restored rather than lost. Per-author write rules would be a reasonable option for setups where you trust some agents less.

1

u/kantorcodes1 1d ago

That archive-and-log design is exactly the boundary. memory_supersede and memory_forget change state that every connected agent reads, and today any agent can run them on another agent's facts. That fits the HOL Guard MCP route: one descriptor, contributions/mcp-servers/mcp.joebro.json, with memory_remember, memory_supersede and memory_forget on review and memory_recall left to inherit. mcp.instapods.json is already in the catalog in the same one-file shape. First step is the descriptor plus the trust binding from python scripts/refresh_extension_artifacts.py --trust-only, then a supersede run by a second agent as the first test. Guide: https://github.com/hashgraph-online/hol-guard/blob/main/docs/guard/mcp-server-contributions.md Want to author it?

1

u/JoeBro121211 1d ago

Thanks, that's a sensible split: reads inherit, and the three tools that change shared state go behind review. I'll take a look at how HOL Guard descriptors work before deciding whether to submit one. For now the archive-and-log trail is the safety net, and per-agent write rules are something I'm still weighing.

1

u/Yoshiko_Medina 1d ago

recording which agent and model wrote each fact is useful when two of them disagree later

1

u/JoeBro121211 1d ago

That's exactly when it earns its keep. If a small local model and a frontier model disagree about something, seeing who wrote which fact makes it easy to decide which one to trust.