mcp-memories
mcp-memories
Ein MCP-Server, der Code-Build-Sitzungen erfasst und in einer gemeinsamen Team-Wissensdatenbank veröffentlicht, sodass vergangene Arbeiten per semantischer Suche auffindbar sind.
Was er macht:
Automatische Erfassung jeder Agentensitzung über IDE-Hooks (Cursor, Claude Code)
Wenn du
complete_sessionaufrufst, fasst er mit Grove AI zusammen und bettet mit Voyagevoyage-code-4einTeammitglieder suchen mit natürlicher Sprache – Vektorsuche + Voyage-Reranking liefern die relevantesten vergangenen Builds
Einrichtung
1. Installieren und bauen
npm install
npm run build2. Umgebung konfigurieren
cp .env.example .env
# Fill in MONGODB_URI, MDB_GROVE_API_KEY, GROVE_BASE_URL, VOYAGE_API_KEY, MEMORIES_AUTHOR3. MCP-Server registrieren
Füge die MCP-Konfiguration deiner IDE hinzu (z. B. ~/.cursor/mcp.json oder Claude Desktop config.json):
{
"mcpServers": {
"mcp-memories": {
"command": "node",
"args": ["/path/to/mcp-memories/dist/index.js"],
"env": {
"MONGODB_URI": "mongodb+srv://...",
"MEMORIES_DB": "mcp_memories",
"MDB_GROVE_API_KEY": "...",
"GROVE_BASE_URL": "...",
"GROVE_MODEL": "claude-3-7-sonnet",
"VOYAGE_API_KEY": "...",
"MEMORIES_AUTHOR": "your.name"
}
}
}
}4. Auto-Capture-Hooks einrichten
Cursor – hooks.json befindet sich bereits in .cursor/hooks.json. Es feuert das Erfassungsskript bei jedem stop-Ereignis automatisch aus.
Claude Code – füge den Ausschnitt in hooks/claude/settings-snippet.json in deine ~/.claude/settings.json ein und aktualisiere den Pfad, sodass er auf dieses Repository verweist.
Related MCP server: io.github.norrietaylor/distillery-mcp
Tools
Tool | Wann verwenden |
| Wird automatisch von Hooks aufgerufen oder manuell, um aufzuzeichnen, woran du arbeitest |
| Rufe diesen Befehl auf, wenn du fertig bist – löst Zusammenfassung + Einbettung aus und veröffentlicht im Team |
| Finde frühere Builds, die für das, was du beginnen möchtest, relevant sind |
| Zeige an, was das Team gebaut hat, nach Sprache / Tag / Repository |
| Durchsuche die zuletzt veröffentlichten Sitzungen |
Typischer Arbeitsablauf
# During a session — automatic (hook fires) or manual:
capture_activity(session_id="abc123", conversation_context="Built JWT auth middleware...")
# When done:
complete_session(session_id="abc123", final_notes="Ended up using RS256 instead of HS256 because...")
# Later, someone else starting similar work:
search_memories(query="JWT authentication middleware Node.js")MongoDB Atlas Einrichtung
Der Server erstellt beim Start seine eigenen Indizes, einschließlich des Atlas Vector Search Index (memories_vector_index, 1024 Dimensionen, Kosinus-Ähnlichkeit, voyage-code-4). Du benötigst einen Atlas-Cluster mit aktivierter Vektorsuche.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Shared memory for coding agents. Stop re-explaining your codebase every session.
One shared project memory for your AI coding tools: recall, save and brief decisions anywhere.
One searchable history across every AI coding tool, with secret scanning and a shared task board.
Shared, scoped, reviewable team memory for AI coding agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables cross-session memory and recall for AI coding assistants through a git-synced knowledge base, hybrid semantic and TF-IDF search across tool transcripts, and automatic distillation of insights with secrets scrubbing.6493 npm19MIT
- AlicenseAqualityBmaintenanceEnables teams to capture and distill knowledge from sessions, meetings, and feeds into a searchable, vector-embedded graph, then retrieve or synthesize it conversationally via semantic search and citations.1725Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides AI coding agents with persistent memory by recording sessions and normalizing them into a searchable knowledge graph, then delivering relevant context at the start of the next session.MIT
- AlicenseAqualityCmaintenanceEnables AI coding assistants to query and store a team's historical development experience through semantic search, so lessons and decisions persist across conversations.916 PyPI1MIT