MemoRepo turns multiple GitHub repos into one read-only MCP context for coding agents
Dreki__ · reddit · 2026-07-24
MemoRepo is a local-first, read-only MCP gateway that lets coding agents query multiple related GitHub repositories as if they were one codebase.
What it does
- Groups repositories into isolated Spaces.
- Pins each Space to exact commits and materializes an immutable, content-addressed snapshot.
- Indexes the repos with codebase-memory-mcp.
- Adds direct source-tree search for evidence the graph may miss.
- Exposes a single Space-scoped MCP connection with bounded, read-only tools.
Safety and workflow
The gateway does not allow arbitrary filesystem access or repo mutation. It validates scope, caps responses, redacts internal paths, rejects write-style Cypher, and keeps each connection tied to one active snapshot.
Suggested agent workflow
- Use graph search for structural discovery.
- Search the immutable source tree for exact or exhaustive literals.
- Check coverage and pagination before making negative claims.
- Read final source lines to verify the answer.
The project runs locally with Docker Compose, targets a single developer workstation, and is MIT licensed. The author is asking for feedback on the MCP surface, immutable snapshots, and whether the read-only boundary is narrow enough for real workflows.
More from coding & agent
- Grok 4.5 and Unity CLI can now revamp a 2D game without touching the editor — chongdashu · 2026-07-24
- MCP vs. A2A comparison says both protocols have a place, but neither covers everything — rseroter · 2026-07-24
- A follow-up reply adds links for the same @agnt_annie benchmark results — NathanWilbanks_ · 2026-07-24
- An AI agent posts strong benchmark results on graffiti, Keller maps and Erdős 835 — NathanWilbanks_ · 2026-07-24
- Agent Substrate targets sandboxed agents with Kubernetes-style orchestration — bibryam · 2026-07-24
- Truss: new single-user local AI agent harness with 3-tier security and MCP support — molbal · 2026-07-24