Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STORAGENoPath to the JSON snapshot storage file, provided via the `--storage` CLI flag. Defaults to `~/.cortex-mcp/memory.json`.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
memory_record_episodeB

Record an immutable engineering episode (ADR, bug_root_cause, invariant, session_note, migration, incident) with associated files and mentioned entities.

memory_upsert_factB

Record a structured entity-relationship fact (subject_id, predicate, object) with automatic bi-temporal conflict detection and supersession of stale facts.

memory_compile_contextA

Compile a token-budgeted, provenance-cited context bundle for a coding query, automatically suppressing superseded/stale facts.

memory_query_entityA

Inspect an entity's active facts, superseded historical facts, related episodes, and K-hop ego-graph neighborhood.

memory_time_travelA

Query the knowledge graph as of a specific ISO-8601 timestamp to inspect historical architecture state.

memory_verify_integrityA

Verify cryptographic SHA-256 hashes of all episodes and facts and compute the graph Merkle digest.

cortex_audit_contradictionsA

Scan active facts in the bi-temporal graph to detect unresolved logical contradictions (negation polarity inversions, antonym objects, predicate alias collisions, or unsuperseded multi-value drift) and recommend or apply supersession resolutions.

Prompts

Interactive templates invoked by user choice

NameDescription
architecture-briefingCompile a token-budgeted architectural context briefing for a module or service.
bug-investigation-contextRetrieve invariants, past bug root causes, and active dependencies for debugging.

Resources

Contextual data attached and managed by the client

NameDescription
Bi-Temporal Knowledge Graph SummaryOverview of entities, active vs superseded facts, and episodes.
Cryptographic Integrity ReportSHA-256 verification status and Merkle digest of the memory graph.
Recent Engineering EpisodesMost recent ADRs, bug root causes, and invariants recorded.

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

The write/read/verify tools are clearly split by resource and action: episode recording, fact upsert, entity inspection, context compilation, and time travel are distinguishable. Minor overlap exists between memory_query_entity and memory_compile_context (both retrieve graph data) and between memory_verify_integrity and cortex_audit_contradictions (both are 'check' operations), though descriptions clarify hash integrity vs. logical contradiction.

Naming Consistency4/5

Six tools follow a clean memory_<verb>_<noun> snake_case pattern with consistent imperative verbs. The single cortex_audit_contradictions breaks both the prefix and the verb_noun ordering, but it is still readable and semantically clear.

Tool Count5/5

Seven tools is a well-scoped surface for a bi-temporal engineering memory graph, with each tool covering a distinct phase of the lifecycle (write, read, compile, historical query, integrity, audit). No tool appears redundant or filler.

Completeness4/5

The surface covers the core lifecycle: recording episodes, upserting facts with supersession, querying entities, compiling context, time travel, integrity verification, and contradiction auditing. Gaps remain around explicit retraction/deletion of facts or episodes and full-text/episode search, forcing agents to rely on the audit tool or supersession to fix bad data.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues