KnowledgeMay 12, 2026·2 min read

Ogham MCP — Shared Persistent Agent Memory

Ogham MCP provides persistent, searchable shared memory for AI coding agents across clients, with a CLI wizard (`ogham init`) and stdio/SSE transports.

Agent ready

Review-first install path

This asset needs a review step. The copied prompt tells the agent to dry-run, show the writes, then proceed only after confirmation.

Needs Confirmation · 64/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Knowledge
Install
Single
Trust
Trust: Established
Entrypoint
Asset
Review-first command
npx -y tokrepo@latest install 62458fd8-014f-5989-8a34-3ff7b3ed5126 --target codex

Dry-run first, confirm the writes, then run this command.

Intro

Ogham MCP provides persistent, searchable shared memory for AI coding agents across clients, with a CLI wizard (ogham init) and stdio/SSE transports.

  • Best for: Long-lived memory for multi-client/multi-agent coding workflows
  • Works with: Python + uv/uvx; Supabase or Postgres; Claude Code / Cursor / OpenCode configs (per README)
  • Setup time: 15–40 minutes

Practical Notes

  • GitHub: 97 stars · 19 forks; pushed 2026-05-05 (verified via GitHub API).
  • README quick start uses uvx --from ogham-mcp ogham init to write client configs and migrate schemas.
  • README documents SSE mode with ogham serve --transport sse --port 8742 for multi-agent sharing.

Main

How to use memory without turning it into noise:

  1. Decide what is “stable knowledge” (architecture decisions, conventions, runbooks) vs “ephemeral state”.
  2. Only persist stable knowledge, and enforce a simple schema (component, decision, rationale, date).
  3. When a task finishes, have the agent write a short memory entry, then validate retrieval by asking a new agent to solve a similar task.

If you have multiple agents running, prefer SSE mode so they share one server instance and database pool.

FAQ

Q: Do I need Supabase? A: No—README supports Supabase or Postgres (Neon/self-hosted).

Q: How do I connect different clients? A: Run the init wizard; it prints/writes client config snippets for common MCP clients.

Q: What transport should I use? A: stdio is simplest; use SSE when multiple agents should share one running server.

🙏

Source & Thanks

Source: https://github.com/ogham-mcp/ogham-mcp > License: MIT > GitHub stars: 97 · forks: 19

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets