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

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 17/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Mcp Config
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande de staging sûr
npx -y tokrepo@latest install 60253081-1173-5894-ad7f-36872d4afed4 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

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