section

Context Environment

Context Environment

Environment Configuration

  • Location: /opt/mcp-servers/context/mcp_context_server.py
  • Version: 1.6.0
  • Vault Port: 6620 (master, requires password)
  • Operational Port: 6621 (replica, no password)
  • Locker ID: l_e802

Purpose

Context, knowledge, protocols, summaries - isolated memory environment for AI recovery and knowledge management. Stores: - Boot protocols for AI recovery - Summary states for context preservation - Work notes with timestamps - Searchable memories with Quadfecta indexing (keyword, vector, graph, temporal)

Tools (14 total)

Tool Description Required Params
boot Get boot protocols for AI recovery protocol (enum)
boot_update Update boot protocols (admin) protocol, content
recall Recall memory from NexusDB key
learn Store new knowledge key, value
search Search Synaptic Index pattern
context Get full project context none
protocol Get established protocols topic
summary_state Create summary checkpoint summary (300-500 words)
summary_state_list List recent summary states limit, user_id
update_state Lightweight periodic state update focus, progress
notes Save timestamped work note content
notes_list List recent notes session_id, limit, type
notes_search Search notes by content query, artifact
init Universal init - all protocols none

Boot Protocol Types

  • recovery - Full recovery protocol
  • session - Session-specific context
  • voice - Voice interaction protocols
  • track - Project tracking protocols
  • tools - Tool usage protocols
  • all - All protocols combined

Architecture

Redis Configuration

  • Vault Redis (6620): Master for writes, password protected
  • Operational Redis (6621): Replica for reads, no password

Integrations

  • Credentials Helper: Password from Locker environment (l_e802)
  • Session Helper: Auto-links items to current session
  • Graph Helper: FalkorDB integration for Quadfecta Layer 3
  • Vector Indexing: sentence-transformers (all-MiniLM-L6-v2) for semantic search
  • User Helper: Stable ID resolution (u_XXXX format)

Security Assessment

✅ Password retrieved from credentials_helper (not hardcoded) ✅ No SQL injection risks (Redis-based) ✅ No command injection (no shell execution) ⚠️ Boot protocols readable by any AI with gateway access (by design for delegation)

Test Results

✅ Redis 6620 (vault): Responding ✅ Redis 6621 (operational): Responding ✅ All 14 tools operational

Status: WORKING

Context environment fully operational with secure credential management.

ID: 53a2d370 Path: Nexus 3.0 Complete Environment Reference > Context Environment Updated: 2026-01-06T12:29:15