Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 12, 2026·2 min de lecture

Stash — Self-Hosted Memory + MCP SSE on Postgres/pgvector

Stash is a self-hosted memory layer for agents with an MCP SSE endpoint, backed by Postgres + pgvector and a consolidation pipeline for long-lived recall.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Needs Confirmation · 62/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Manual
Confiance
Confiance : Established
Point d'entrée
docker compose
Commande CLI universelle
npx tokrepo install 60253081-1173-5894-ad7f-36872d4afed4
Introduction

Stash is a self-hosted memory layer for agents with an MCP SSE endpoint, backed by Postgres + pgvector and a consolidation pipeline for long-lived recall.

  • Best for: teams that want persistent memory for agents without relying on a hosted SaaS, plus an MCP-compatible interface
  • Works with: Docker Compose, PostgreSQL + pgvector, MCP clients that support SSE (Cursor, Claude Desktop, Windsurf)
  • Setup time: 15-35 minutes

Practical Notes

  • Quant: the README highlights an 8-stage consolidation pipeline—treat that as a controllable knob for memory quality vs cost.
  • Quant: use one SSE endpoint per environment (dev/staging/prod) so memory doesn’t cross-contaminate across contexts.

Rollout pattern

  • Start with one agent and one project; define what counts as “write-worthy” memory (facts, decisions, constraints).
  • Add retention and consolidation schedules once you observe retrieval precision in real tasks.
  • Create a “memory schema” (tags, owners, environments) so retrieval stays scoped and predictable.

Watchouts

Memory is also a data-leak vector. Treat the store as sensitive: enforce auth, avoid storing secrets, and keep environments separated.

FAQ

Q: Is this only for Cursor? A: No. It works with any MCP client that supports SSE endpoints; the README lists multiple clients.

Q: How do I keep memory useful? A: Write only verified facts/decisions and enforce tags + scope per agent or per project.

Q: Can I run it in production? A: Yes, but add auth, backups, and monitoring; don’t leave it anonymously accessible on a network.

🙏

Source et remerciements

Source: https://github.com/alash3al/stash > License: Apache-2.0 > GitHub stars: 687 · forks: 30

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires