Back to Home
prefrontal-systems icon

cortexgraph

Verified Safe

by prefrontal-systems

Overview

A Model Context Protocol (MCP) server providing AI assistants with ephemeral, local short-term memory, temporal decay, reinforcement, and automatic promotion to long-term storage.

Installation

Run Command
python -m cortexgraph.server

Environment Variables

  • CORTEXGRAPH_STORAGE_PATH
  • CORTEXGRAPH_ENABLE_EMBEDDINGS
  • CORTEXGRAPH_EMBED_MODEL
  • LTM_VAULT_PATH
  • LTM_PROMOTED_FOLDER
  • CORTEXGRAPH_STORAGE_BACKEND

Security Notes

The project demonstrates a very strong focus on security, with dedicated modules and features for input validation, path traversal prevention, file/directory permission hardening (0o600/0o700), and sensitive data detection. The `detect_secrets` module actively scans content and `.env` files for common secret patterns (API keys, tokens, passwords) and warns the user. Rate limiting is implemented for API endpoints. `subprocess.run` is used for external CLI (`bd` for Beads integration) but appears to be handled with care, using `--json` output and not `shell=True`. Overall, security is a core concern, making it robust against common vulnerabilities.

Similar Servers

Stats

Interest Score41
Security Score9
Cost ClassLow
Stars14
Forks5
Last Update2026-01-15

Tags

AI MemoryMCP ServerShort-Term MemoryTemporal DecaySpaced RepetitionKnowledge Graph