Back to Home
Dataojitori icon

nocturne_memory

Verified Safe

by Dataojitori

Overview

Provides a persistent, structured long-term memory and dynamic knowledge graph system for AI agents, designed for human-AI collaboration.

Installation

Run Command
python path/to/nocturne_memory/backend/mcp_server.py

Environment Variables

  • NEO4J_URI
  • dbuser
  • dbpassword
  • PORT
  • HOST

Security Notes

The backend utilizes parameterized Cypher queries for database interactions, significantly mitigating injection risks. Neo4j credentials are managed via environment variables. File system operations for snapshots (`db/snapshot.py`) include basic path sanitization and hashing, reducing direct path traversal vulnerabilities. The `mcp_wrapper.py` workaround for Antigravity uses `subprocess.Popen` with explicit executable and script paths, limiting command injection. Frontend rendering of user-generated content (e.g., entity descriptions) might pose an XSS risk if not properly escaped, although the current UI primarily uses `whitespace-pre-wrap` styling, implying plain text. Deletion logic for states and entities incorporates checks for dependencies, preventing accidental deletion of referenced nodes.

Similar Servers

Stats

Interest Score66
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars26
Forks4
Last Update2026-01-18

Tags

Long-term MemoryKnowledge GraphAI AgentsNeo4jHuman-in-the-Loop