Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MEMORIA_KEYYesYour Memoria API key used to authenticate the MCP server. Get a free key at https://memoria.kolivri.com/register.

Instructions

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

Memoria Cloud provides deterministic long-term memory and code intelligence across sessions. Set MEMORIA_API_KEY from https://memoria.kolivri.com/register. At session start, call build_context with the workspace namespace and a task query (plus health in parallel). Before re-reading files or assuming missing context, call recall_memories, search_code, or explain_code. Persist durable architectural decisions, root causes, and user rules via encode_memory or batch_encode, rate recalled items with feedback, and run consolidate periodically to merge duplicates.

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
encode_memoryC

Store a new memory with tier classification (episodic, semantic, buffer, core), salience weight, and key-value context metadata.

batch_encodeA

Encode multiple memories atomically in a single batch call.

recall_memoriesB

Retrieve relevant memories ranked deterministically by BM25, salience, tier weight, feedback utility, and temporal freshness.

build_contextA

Assemble a token-budgeted <memory_context> block combining Core rules, Semantic facts, and Episodic history for session grounding.

forget_memoryA

Delete a specific memory and its incident graph edges by ID.

delete_by_contextB

Delete all memories matching a specific context metadata [key, value] pair.

feedbackA

Record whether a recalled memory was useful and adjust its salience score.

consolidateB

Deduplicate memories within a namespace, link superseded records, and promote recurring high-salience episodic memories to Semantic tier.

healthA

Return Memoria engine health, storage status, tier distribution, and cloud sync mode.

statsB

Return detailed memory, edge, and tier statistics for a namespace.

search_codeA

Search indexed code definitions and workspace source files by symbol or query, returning ranked definitions with file and line numbers.

explain_codeA

Explain a code symbol: where it is defined, who references it across the workspace, related tests, and associated architectural memories.

list_agent_wingsA

List specialist multi-agent wings (architect, reviewer, qa, security, ops), their active memory counts, and recent handoffs.

handoff_to_agentB

Hand off task context, architectural findings, and selected memory IDs from one specialist agent wing to another.

Prompts

Interactive templates invoked by user choice

NameDescription
memoria-session-startLoad token-budgeted project context and check engine health at the start of an AI coding session.
memoria-wrap-upApply the Memoria write gate, encode session learnings, and consolidate duplicate memories.
memoria-handoffPrepare a structured context handoff between specialist agent wings (architect, reviewer, qa, security, ops).

Resources

Contextual data attached and managed by the client

NameDescription
Memoria Core & High-Salience RulesActive Core and high-salience Semantic rules, corrections, and invariants.
Memoria Recent MemoriesMost recently encoded episodic and semantic memories across active sessions.
Memoria Store & Graph StatisticsGlobal and per-namespace counts, tier distribution, and graph edge metrics.

TDQS

A3.5/5.0

Scored across 14 tools

Disambiguation4/5

Most tools map to distinct actions, but a few pairs sit close together: encode_memory vs batch_encode, forget_memory vs delete_by_context, and health vs stats (both report tier/storage metrics). Descriptions do enough to separate them, so misselection risk is moderate rather than severe.

Naming Consistency3/5

The dominant pattern is snake_case verb_noun (encode_memory, recall_memories, delete_by_context, list_agent_wings, handoff_to_agent), but several tools break it with bare verbs or nouns: feedback, consolidate, health, stats. Conventions are mixed, yet each name remains readable and self-explanatory.

Tool Count5/5

14 tools is well within a healthy range and each one covers a real capability: memory lifecycle, context assembly, maintenance, observability, code lookup, and multi-agent handoff. Nothing feels padded or redundant.

Completeness4/5

The memory lifecycle is largely covered (encode/batch, recall, build_context, delete, feedback, consolidate), plus code-intelligence and agent handoff extras. Minor gaps exist: no get_memory by ID, no edit/update of an existing memory's content or context metadata, and no browsing/listing of memories by namespace.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues