nocturne_memory
Verified Safeby KomuDhara
Overview
Provides AI agents with a persistent, structured, and rollback-capable long-term memory system based on a Neo4j knowledge graph.
Installation
python path/to/nocturne_memory/backend/mcp_server.pyEnvironment Variables
- NEO4J_URI
- dbuser
- dbpassword
Security Notes
The project uses environment variables for sensitive Neo4j credentials, preventing hardcoding. Neo4j queries use parameterized statements (`$variable`), mitigating Cypher injection risks. Input sanitization is applied for resource IDs used in file paths for snapshots. The `mcp_wrapper.py` uses `subprocess.Popen` but targets an internal script, not arbitrary user commands. The overall design prioritizes a human-in-the-loop review process, which acts as a safeguard against AI-induced malicious or erroneous modifications.
Similar Servers
mcp-memory-service
A Model Context Protocol (MCP) server providing persistent, semantic memory storage and retrieval capabilities for AI agents. It supports lightweight semantic reasoning (contradiction, causal inference), content chunking, multi-backend storage (SQLite-vec, Cloudflare, Hybrid), autonomous memory consolidation (decay, association, clustering, compression, forgetting), and real-time updates via SSE. It's designed for token-efficient interaction with LLMs.
mcp-neo4j
The MCP Neo4j Cypher server enables AI models to interact with a Neo4j graph database, execute Cypher queries (read and write), explore the graph schema, and manage query performance and response sizes.
memory-graph
A graph-based MCP server that provides intelligent memory capabilities for Claude Code, enabling persistent knowledge tracking, relationship mapping, and contextual development assistance.
memory-mcp-server-go
A Model Context Protocol server providing knowledge graph management capabilities for LLMs to maintain memory across conversations.