Memoreal MCP
Memoreal MCP is a deterministic long-term memory engine for AI agents that provides exact recall in 12.9ms with zero LLM token costs. It supports typed memory nodes, causal relationships, and automatic belief revision across 15 IDEs and multi-agent workflows.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://memoreal.kolivri.com/v1/mcpWhat its tools do
31 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (22)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Store and recall deterministic memories across AI agent sessions
- Execute sub-20ms synchronous writes with zero LLM extraction cost
- Manage shared memory namespaces for solo developers and teams
- Coordinate multi-agent workflows with causal and semantic edges
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- memoreal 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 31 advertised
- Resources
- 3 advertised
- Resource templates
- Sign-in required
- Prompts
- 5 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
31 advertised
encode_memory — Encode Memory
Store a single memory record in Memoreal Cloud (consumes 1 Write API call; non-idempotent: encoding identical text twice creates separate IDs until consolidate is run) and return { id, namespace, salience }. Defaults type to "episodic", salience to 0.5 (items >=0.7 or semantic/core surface in memory://rules), and namespace to "default" while rejecting reserved "org:" prefixes. Use when persisting one architectural decision, bug root cause, or user rule; use batch_encode instead for 2+ memories at once, or handoff_to_agent for cross-wing task handoffs.
{
"type": "object",
"required": [
"namespace",
"content"
],
"properties": {
"type": {
"enum": [
"episodic",
"semantic",
"buffer",
"core"
],
"type": "string",
"default": "episodic",
"description": "Memory tier classification (core and semantic receive 1.5x/1.25x recall boosts)."
},
"content": {
"type": "string",
"description": "Non-empty memory text to persist."
},
"context": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "Optional [key, value] string pairs (for example [[\"file\", \"src/auth.js\"]]) targetable by delete_by_context."
},
"salience": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"description": "Importance weight from 0.0 to 1.0 (use >=0.7 for durable team rules)."
},
"namespace": {
"type": "string",
"description": "Logical project or workspace namespace (defaults to \"default\"; never prefix with \"org:\")."
}
}
}{
"type": "object",
"required": [
"id",
"namespace",
"salience"
],
"properties": {
"id": {
"type": "string",
"description": "Newly created memory UUID."
},
"salience": {
"type": "number",
"description": "Stored salience weight (0.0-1.0)."
},
"namespace": {
"type": "string",
"description": "Resolved client namespace."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}batch_encode — Batch Encode Memories
Store multiple memories atomically in one request (consumes max(1, memories.length) Write API calls; non-idempotent) and return { ids, encoded }. Validates every item namespace before writing so any reserved "org:" prefix aborts the entire batch cleanly; items inherit top-level namespace and default to type="episodic" and salience=0.5. Use when checkpointing or importing 2+ memories together; use encode_memory instead for a single memory write.
{
"type": "object",
"required": [
"memories"
],
"properties": {
"memories": {
"type": "array",
"items": {
"type": "object",
"required": [
"content"
],
"properties": {
"type": {
"enum": [
"episodic",
"semantic",
"buffer",
"core"
],
"type": "string",
"default": "episodic",
"description": "Memory tier classification."
},
"content": {
"type": "string",
"description": "Memory text to persist."
},
"context": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "Optional [key, value] metadata pairs."
},
"salience": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"description": "Importance weight from 0.0 to 1.0."
},
"namespace": {
"type": "string",
"description": "Optional per-item logical namespace override (never prefix with \"org:\")."
}
}
},
"description": "Non-empty array of memory objects ({ content, type?, salience?, namespace?, context? })."
},
"namespace": {
"type": "string",
"description": "Fallback logical workspace namespace applied to batch items that omit namespace."
}
}
}{
"type": "object",
"required": [
"ids",
"encoded"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Created memory UUIDs in input order."
},
"encoded": {
"type": "integer",
"description": "Total number of memories stored."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}recall_memories — Recall Memories
Retrieve up to 20 deterministically ranked memory records for a query (read-only, idempotent; consumes 1 Read API call) and return { results, total_candidates } with per-item { memory, score }. Scores up to 500 candidates in namespace by lexical match (0.55), salience (0.30), and 30-day freshness (0.15) multiplied by tier boost (core=1.5x, semantic=1.25x), excluding items below min_salience. Use when you need individual memory IDs, metadata, or scores (for inspection, feedback, or forget_memory); use build_context instead for a ready-to-inject <memory_context> block, or search_code for code symbols.
{
"type": "object",
"required": [
"namespace",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Keywords or natural-language topic to match against stored memory content."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace to search (defaults to \"default\"; never prefix with \"org:\")."
},
"min_salience": {
"type": "number",
"default": 0,
"maximum": 1,
"minimum": 0,
"description": "Minimum salience filter (0.0-1.0); memories strictly below this value are excluded."
},
"token_budget": {
"type": "number",
"default": 4096,
"description": "Advisory token budget hint for downstream context sizing (default 4096)."
}
}
}{
"type": "object",
"required": [
"results",
"total_candidates"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object"
},
"description": "Ranked { memory, score } matches (max 20)."
},
"total_candidates": {
"type": "integer",
"description": "Total candidate memories evaluated in the namespace."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_context — Build Session Context
Assemble a token-budgeted <memory_context> XML/Markdown block from a namespace (read-only, idempotent; consumes 1 Read API call) and return { context, memories_used }. Ranks up to 500 namespace memories deterministically and packs lines greedily up to max(256, token_budget * 4) characters under "## Established Facts" (core/semantic) and "## Recent Context" (episodic/buffer). Use at session start or before planning a task to ground the model in one call; use recall_memories instead when you need raw memory objects and IDs.
{
"type": "object",
"required": [
"namespace",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Active task, feature, or session topic used to rank relevant facts and history."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace to ground context around (never prefix with \"org:\")."
},
"token_budget": {
"type": "number",
"default": 4096,
"description": "Maximum token budget (~4 characters per token, default 4096) before truncating lower-ranked items."
}
}
}{
"type": "object",
"required": [
"context",
"memories_used"
],
"properties": {
"context": {
"type": "string",
"description": "Formatted <memory_context>...</memory_context> block."
},
"memories_used": {
"type": "integer",
"description": "Number of memories packed within token_budget."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}forget_memory — Forget Memory
Permanently delete one memory and its incident graph edges by ID (destructive, idempotent; consumes 1 Write API call) and return { deleted }. Enforces organization ownership (returns JSON-RPC error -32003 on foreign IDs) and returns { deleted: false } when the ID is already absent. Use when removing a single known memory ID; use delete_by_context instead to bulk-delete memories by [key, value] metadata tag, or feedback (useful=false) to lower salience without deleting.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Exact memory UUID returned by encode_memory or recall_memories."
}
}
}{
"type": "object",
"required": [
"deleted"
],
"properties": {
"deleted": {
"type": "boolean",
"description": "True if an existing memory was removed, false if already absent."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}delete_by_context — Delete Memories by Context
Permanently bulk-delete all memories whose context array contains an exact [key, value] pair (destructive, idempotent; consumes 1 Write API call) and return { deleted_count }. Scopes deletion to namespace when provided, or across all namespaces in your organization when namespace is omitted (rejecting reserved "org:" prefixes). Use to purge memories tied to a deleted file, PR, or feature tag; use forget_memory instead when deleting a single memory by UUID.
{
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"description": "Exact context tuple key to match (for example \"file\" or \"pr\")."
},
"value": {
"type": "string",
"description": "Exact context tuple value to match (for example \"src/legacy.js\")."
},
"namespace": {
"type": "string",
"description": "Optional logical namespace filter; omit to match across the entire organization."
}
}
}{
"type": "object",
"required": [
"deleted_count"
],
"properties": {
"deleted_count": {
"type": "integer",
"description": "Number of matching memories deleted (0 if none matched)."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}feedback — Record Memory Feedback
Adjust a memory salience weight based on recall utility (consumes 1 Write API call; non-idempotent because repeated calls compound the salience delta) and return { updated }. Enforces organization ownership on id; useful=true boosts salience toward 1.0 while useful=false dampens noisy or outdated entries without deleting them. Use after recall_memories to tune future ranking quality; use forget_memory instead for permanent removal, or consolidate to merge duplicate records.
{
"type": "object",
"required": [
"id",
"useful"
],
"properties": {
"id": {
"type": "string",
"description": "Target memory UUID from recall_memories."
},
"useful": {
"type": "boolean",
"description": "True to boost salience when helpful; false to dampen salience when stale or noisy."
}
}
}{
"type": "object",
"required": [
"updated"
],
"properties": {
"updated": {
"type": "boolean",
"description": "True when the target memory existed and its salience was updated."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}consolidate — Consolidate Namespace Memories
Run an idempotent maintenance pass on a workspace namespace to deduplicate redundant records, link superseded state, and promote recurring high-salience episodic memories to Semantic tier (consumes 1 Write API call; non-destructive to unique facts) and return { namespace, consolidated }. Requires Write permission and a valid logical namespace (never prefixed with "org:"). Use at session wrap-up after multiple encode_memory calls; use feedback instead to rate one memory, or delete_by_context to purge obsolete tags.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"namespace": {
"type": "string",
"description": "Logical workspace namespace to consolidate (for example \"my-project\")."
}
}
}{
"type": "object",
"required": [
"namespace",
"consolidated"
],
"properties": {
"namespace": {
"type": "string",
"description": "Consolidated logical namespace."
},
"consolidated": {
"type": "boolean",
"description": "True once consolidation completes."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}health — Check Memoreal Health
Check Memoreal Cloud service status, total organization memory count across all namespaces, and rolling 30-day API quota usage (read-only, idempotent; consumes 1 Read API call on tools/call) and return { status, memory_count, used_calls_30d, api_call_limit }. Takes no parameters; api_call_limit is null on Unlimited plans. Use to verify connectivity and overall organization quota headroom; use stats instead when you need memory counts scoped to one specific project namespace.
{
"type": "object",
"properties": {}
}{
"type": "object",
"required": [
"status",
"memory_count"
],
"properties": {
"status": {
"type": "string",
"description": "Engine status (\"ok\" when healthy)."
},
"memory_count": {
"type": "integer",
"description": "Total memories across all organization namespaces."
},
"api_call_limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Rolling 30-day quota cap, or null for unlimited."
},
"used_calls_30d": {
"type": "integer",
"description": "Rolling 30-day billable API calls consumed."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}stats — Get Namespace Statistics
Retrieve the stored memory count for a single logical namespace alongside rolling 30-day organization quota metrics (read-only, idempotent; consumes 1 Read API call) and return { namespace, memory_count, used_calls_30d, api_call_limit }. Rejects reserved "org:" prefixes on namespace. Use when inspecting how many memories exist inside one specific project or wing namespace; use health instead for an organization-wide connectivity and total-memory check, or list_agent_wings for per-wing counts.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"namespace": {
"type": "string",
"description": "Logical workspace namespace to inspect (for example \"my-project\" or \"wing:qa\")."
}
}
}{
"type": "object",
"required": [
"namespace",
"memory_count"
],
"properties": {
"namespace": {
"type": "string",
"description": "Inspected logical namespace."
},
"memory_count": {
"type": "integer",
"description": "Number of memories stored in this namespace."
},
"api_call_limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Rolling 30-day API call quota, or null for unlimited."
},
"used_calls_30d": {
"type": "integer",
"description": "Rolling 30-day API calls used by the organization."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}search_code — Search Indexed Code Memories
Search indexed code symbol definitions, file paths, and reference memories within a namespace (read-only, idempotent; consumes 1 Read API call) and return { results, total_candidates } capped at 20 ranked { memory, score } hits. Requires code memories in namespace (populated via /memoreal-sync-code or encode_memory) and rejects reserved "org:" prefixes. Use to discover where functions, classes, or routes live by keyword; use explain_code instead to inspect callers and invariants of a known symbol, or recall_memories for general prose rules.
{
"type": "object",
"required": [
"namespace",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Function, class, route, or file keyword to locate."
},
"namespace": {
"type": "string",
"description": "Logical repository or workspace namespace to search (never prefix with \"org:\")."
}
}
}{
"type": "object",
"required": [
"results",
"total_candidates"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object"
},
"description": "Top ranked { memory, score } code hits (max 20)."
},
"total_candidates": {
"type": "integer",
"description": "Total candidate entries scanned in the namespace."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}explain_code — Explain Code Symbol
Synthesize definitions, caller/callee references, related tests, and architectural notes for a specific code symbol in a namespace (read-only, idempotent; consumes 1 Read API call) and return { results, total_candidates } (up to 20 ranked matches). Pass the identifier via symbol or its equivalent alias target (if both are supplied, symbol takes precedence). Use before editing a known function, class, or module to check its blast radius and invariants; use search_code instead when you only have keywords and need to find symbol names first.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"symbol": {
"type": "string",
"description": "Exact function, class, or module name to explain (preferred; equivalent to target)."
},
"target": {
"type": "string",
"description": "Alias for symbol accepted for client compatibility when symbol is omitted."
},
"namespace": {
"type": "string",
"description": "Logical repository or workspace namespace containing indexed code memories."
}
}
}{
"type": "object",
"required": [
"results",
"total_candidates"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object"
},
"description": "Ranked { memory, score } symbol definitions, callers, and architectural rules (max 20)."
},
"total_candidates": {
"type": "integer",
"description": "Total namespace candidates evaluated."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_agent_wings — List Specialist Agent Wings
List all five built-in specialist multi-agent wings (architect, reviewer, qa, security, ops), their isolated wing:<id> namespaces, and active memory counts (read-only, idempotent; consumes 1 Read API call) and return { wings }. Always returns all five wings even when memory_count is 0. Use to inspect wing responsibilities and queued handoff volume before delegating work; use handoff_to_agent to record a new cross-wing handoff, or stats to inspect a custom project namespace.
{
"type": "object",
"properties": {
"namespace": {
"type": "string",
"description": "Optional logical workspace namespace context (never prefix with \"org:\")."
}
}
}{
"type": "object",
"required": [
"wings"
],
"properties": {
"wings": {
"type": "array",
"items": {
"type": "object"
},
"description": "Array of { id, label, description, namespace, memory_count } wing descriptors."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}handoff_to_agent — Hand Off Context to Specialist Wing
Persist a high-salience (0.9) Semantic handoff memory into a target specialist wing namespace (wing:<target>) (consumes 1 Write API call; non-idempotent: repeated calls create distinct handoff records) and return { id, wing, namespace }. Accepts target wing via wing or alias to_wing (defaults to "architect") and sender via from_agent or alias from_wing (defaults to "agent"), attaching files and memory_ids as searchable context tuples. Use when delegating findings and next steps between architect, reviewer, qa, security, or ops agents; use encode_memory instead for general project memories.
{
"type": "object",
"required": [
"summary"
],
"properties": {
"task": {
"type": "string",
"description": "Optional concrete follow-up action appended for the receiving wing."
},
"wing": {
"enum": [
"architect",
"reviewer",
"qa",
"security",
"ops"
],
"type": "string",
"description": "Destination specialist wing (preferred; defaults to \"architect\" if both wing and to_wing are omitted)."
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional file paths attached as [\"file\", path] context tags."
},
"summary": {
"type": "string",
"description": "Required concise summary of architectural findings, constraints, and state."
},
"to_wing": {
"enum": [
"architect",
"reviewer",
"qa",
"security",
"ops"
],
"type": "string",
"description": "Alias for destination wing used when wing is omitted."
},
"from_wing": {
"type": "string",
"description": "Alias for sending specialist wing used when from_agent is omitted."
},
"from_agent": {
"type": "string",
"description": "Identifier of the sending agent or role (preferred; defaults to \"agent\")."
},
"memory_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional related memory UUIDs attached as [\"memory_id\", id] context tags."
}
}
}{
"type": "object",
"required": [
"id",
"wing",
"namespace"
],
"properties": {
"id": {
"type": "string",
"description": "Created handoff memory UUID."
},
"wing": {
"type": "string",
"description": "Resolved destination wing ID."
},
"namespace": {
"type": "string",
"description": "Target wing namespace (for example \"wing:qa\")."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}find_file — Find Indexed Files
Find indexed repository files matching a path pattern or keyword in a workspace namespace. Use when locating files by glob or substring before reading; use search_code instead for symbol keywords.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"query": {
"type": "string",
"description": "Optional keyword filter matching file paths."
},
"pattern": {
"type": "string",
"description": "Glob or substring path pattern to match (e.g. src/auth or *.test.js)."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace to search."
}
}
}{
"type": "object",
"required": [
"namespace",
"files",
"count"
],
"properties": {
"count": {
"type": "integer"
},
"files": {
"type": "array",
"items": {
"type": "string"
}
},
"namespace": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}find_references — Find Symbol References
Find all definitions, callers, and references for a specific code symbol across indexed memories. Use before refactoring or changing a function signature to trace every caller and reference.
{
"type": "object",
"required": [
"namespace",
"symbol"
],
"properties": {
"symbol": {
"type": "string",
"description": "Exact function, class, or method identifier to locate."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"symbol",
"definitions",
"references",
"total"
],
"properties": {
"total": {
"type": "integer"
},
"symbol": {
"type": "string"
},
"namespace": {
"type": "string"
},
"references": {
"type": "array",
"items": {
"type": "object"
}
},
"definitions": {
"type": "array",
"items": {
"type": "object"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}impact — Analyze Symbol Impact & Blast Radius
Compute upstream caller chain, affected files, related tests, and risk level before modifying a code symbol. Use before modifying a shared function or interface to evaluate blast radius and test needs.
{
"type": "object",
"required": [
"namespace",
"symbol"
],
"properties": {
"depth": {
"type": "integer",
"default": 3,
"description": "Maximum upstream BFS traversal depth (default 3)."
},
"symbol": {
"type": "string",
"description": "Identifier of the symbol to evaluate."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"symbol",
"direct_callers",
"transitive_callers",
"affected_files",
"related_tests",
"risk_level"
],
"properties": {
"symbol": {
"type": "string"
},
"namespace": {
"type": "string"
},
"risk_level": {
"enum": [
"low",
"medium",
"high"
],
"type": "string"
},
"related_tests": {
"type": "array",
"items": {
"type": "string"
}
},
"affected_files": {
"type": "array",
"items": {
"type": "string"
}
},
"direct_callers": {
"type": "array",
"items": {
"type": "string"
}
},
"transitive_callers": {
"type": "array",
"items": {
"type": "string"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}call_tree — Generate Call Tree
Generate upstream caller and downstream callee trees for a specific code symbol. Use when visualizing hierarchical call chains and understanding deep execution flows before code changes.
{
"type": "object",
"required": [
"namespace",
"symbol"
],
"properties": {
"depth": {
"type": "integer",
"default": 3,
"description": "Maximum traversal depth (default 3)."
},
"symbol": {
"type": "string",
"description": "Root symbol for the call tree."
},
"direction": {
"enum": [
"both",
"callers",
"callees"
],
"type": "string",
"default": "both",
"description": "Call tree direction."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"symbol",
"callers",
"callees"
],
"properties": {
"symbol": {
"type": "string"
},
"callees": {
"type": "array",
"items": {
"type": "object"
}
},
"callers": {
"type": "array",
"items": {
"type": "object"
}
},
"namespace": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}navigate — Navigate Codebase Hierarchy
Inspect directory children, parent directories, and symbol definitions at a specific path. Use when exploring directory structure and discovering symbols within a folder before deep reads.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"path": {
"type": "string",
"description": "Directory or file path to inspect (defaults to root)."
},
"action": {
"enum": [
"zoom_in",
"zoom_out",
"peek",
"list"
],
"type": "string",
"default": "peek",
"description": "Navigation action."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"path",
"children",
"symbols"
],
"properties": {
"path": {
"type": "string"
},
"parent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"symbols": {
"type": "array",
"items": {
"type": "object"
}
},
"children": {
"type": "array",
"items": {
"type": "string"
}
},
"namespace": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_hierarchy — Get Structural Code Hierarchy
Retrieve nested directory-to-file-to-symbol tree structure up to a specified depth. Use when constructing an overview of codebase layout and file organization across directory levels.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"root": {
"type": "string",
"description": "Starting directory root (defaults to repository root)."
},
"max_depth": {
"type": "integer",
"default": 4,
"description": "Maximum tree depth (default 4)."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"root",
"tree",
"file_count",
"symbol_count"
],
"properties": {
"root": {
"type": "string"
},
"tree": {
"type": "object"
},
"namespace": {
"type": "string"
},
"file_count": {
"type": "integer"
},
"symbol_count": {
"type": "integer"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}implementors — Find Interface or Trait Implementors
Find classes, structs, or components that implement or extend an interface or base class. Use when identifying polymorphic implementations or concrete classes implementing an interface.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"symbol": {
"type": "string",
"description": "Target interface or base class identifier."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
},
"interface_name": {
"type": "string",
"description": "Alias for symbol."
}
}
}{
"type": "object",
"required": [
"namespace",
"target",
"implementors",
"count"
],
"properties": {
"count": {
"type": "integer"
},
"target": {
"type": "string"
},
"namespace": {
"type": "string"
},
"implementors": {
"type": "array",
"items": {
"type": "object"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}dead_code — Detect Unreferenced Dead Code Candidates
Identify indexed symbols that have zero callers outside their own definition. Use when auditing repositories for unreferenced functions, orphaned classes, and cleanup candidates.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
},
"entrypoints": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional entrypoint file paths or symbol names to exclude."
}
}
}{
"type": "object",
"required": [
"namespace",
"candidates",
"count"
],
"properties": {
"count": {
"type": "integer"
},
"namespace": {
"type": "string"
},
"candidates": {
"type": "array",
"items": {
"type": "object"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}test_gaps — Identify Test Coverage Gaps
Find source files and symbols lacking corresponding test suites or test references. Use when prioritizing unit test creation and identifying untested source files across the codebase.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"path": {
"type": "string",
"description": "Optional subfolder path filter."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"untested_files",
"untested_symbols",
"coverage_ratio"
],
"properties": {
"namespace": {
"type": "string"
},
"coverage_ratio": {
"type": "number"
},
"untested_files": {
"type": "array",
"items": {
"type": "string"
}
},
"untested_symbols": {
"type": "array",
"items": {
"type": "object"
}
},
"total_source_files": {
"type": "integer"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}diff_risk — Assess Diff Risk & Caller Impact
Assess blast radius, caller impact, sensitive paths, and test gaps for a unified diff or changed file list. Use before creating pull requests or approving code changes to gauge risk scores.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"diff": {
"type": "string",
"description": "Unified git diff text."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
},
"changed_files": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of changed file paths if diff is omitted."
}
}
}{
"type": "object",
"required": [
"namespace",
"changed_files",
"touched_symbols",
"impacted_callers",
"risk_score",
"risk_level",
"warnings"
],
"properties": {
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"namespace": {
"type": "string"
},
"risk_level": {
"enum": [
"low",
"medium",
"high"
],
"type": "string"
},
"risk_score": {
"type": "integer"
},
"changed_files": {
"type": "array",
"items": {
"type": "string"
}
},
"touched_symbols": {
"type": "array",
"items": {
"type": "string"
}
},
"impacted_callers": {
"type": "array",
"items": {
"type": "string"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}downstream_effects — Analyze Downstream Callee Effects
Trace transitive downstream callees and dependent modules reachable from a symbol or file. Use when analyzing downstream dependencies and side effects before modifying low-level functions.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"file": {
"type": "string",
"description": "Source file path if symbol is omitted."
},
"symbol": {
"type": "string",
"description": "Source symbol identifier."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"target",
"downstream_symbols",
"downstream_files"
],
"properties": {
"target": {
"type": "string"
},
"namespace": {
"type": "string"
},
"downstream_files": {
"type": "array",
"items": {
"type": "string"
}
},
"downstream_symbols": {
"type": "array",
"items": {
"type": "string"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}root_cause — Find Error Root Cause Candidates
Match stack trace frames and error messages against indexed symbols and high-salience architectural memories. Use when diagnosing runtime exceptions, crash logs, and failing tests to isolate bugs.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"error": {
"type": "string",
"description": "Error message or exception text."
},
"query": {
"type": "string",
"description": "Diagnostic keywords."
},
"stack": {
"type": "string",
"description": "Full stack trace string."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"suspect_symbols",
"suspect_files",
"related_memories"
],
"properties": {
"namespace": {
"type": "string"
},
"suspect_files": {
"type": "array",
"items": {
"type": "string"
}
},
"suspect_symbols": {
"type": "array",
"items": {
"type": "string"
}
},
"related_memories": {
"type": "array",
"items": {
"type": "object"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}trace_provenance — Trace Memory Provenance & History
Retrieve chronological evolution, origin agent, and context tags for a memory UUID or code symbol. Use when investigating history, authorship, and architectural evolution of a symbol or memory.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"id": {
"type": "string",
"description": "Memory UUID to inspect."
},
"query": {
"type": "string",
"description": "Topic or keyword to trace."
},
"symbol": {
"type": "string",
"description": "Code symbol identifier."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"target",
"lineage",
"count"
],
"properties": {
"count": {
"type": "integer"
},
"target": {
"type": "string"
},
"lineage": {
"type": "array",
"items": {
"type": "object"
}
},
"namespace": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}explain_diff — Explain Diff Architectural Impact
Summarize modified files and symbols in a unified diff and match relevant team architectural rules. Use when reviewing code changes against documented team rules and architecture guidelines.
{
"type": "object",
"required": [
"namespace",
"diff"
],
"properties": {
"diff": {
"type": "string",
"description": "Unified git diff string to analyze."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"changed_files",
"affected_symbols",
"matching_rules",
"summary"
],
"properties": {
"summary": {
"type": "string"
},
"namespace": {
"type": "string"
},
"changed_files": {
"type": "array",
"items": {
"type": "string"
}
},
"matching_rules": {
"type": "array",
"items": {
"type": "string"
}
},
"affected_symbols": {
"type": "array",
"items": {
"type": "string"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}explain_error — Explain Error Diagnostic Context
Parse exception class and stack frames to connect the error with indexed symbols and documented bug patterns. Use when troubleshooting error messages to link stack frames with known bug fixes.
{
"type": "object",
"required": [
"namespace",
"error"
],
"properties": {
"error": {
"type": "string",
"description": "Error message or exception string."
},
"stack": {
"type": "string",
"description": "Optional stack trace string."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"error_type",
"extracted_frames",
"matching_memories",
"relevant_symbols"
],
"properties": {
"namespace": {
"type": "string"
},
"error_type": {
"type": "string"
},
"extracted_frames": {
"type": "array",
"items": {
"type": "object"
}
},
"relevant_symbols": {
"type": "array",
"items": {
"type": "string"
}
},
"matching_memories": {
"type": "array",
"items": {
"type": "object"
}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}rename — Rename Code Symbol
Locate all definitions and references of a symbol to produce a rename impact plan, optionally applying the update to stored memory tags. Use before renaming a function, class, or variable across codebase memories.
{
"type": "object",
"required": [
"namespace",
"symbol",
"new_name"
],
"properties": {
"apply": {
"type": "boolean",
"default": false,
"description": "True to update matching stored memory symbol tags."
},
"symbol": {
"type": "string",
"description": "Current symbol identifier."
},
"new_name": {
"type": "string",
"description": "New identifier name."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace."
}
}
}{
"type": "object",
"required": [
"namespace",
"symbol",
"new_name",
"valid_identifier",
"affected_files",
"matching_memory_ids",
"applied"
],
"properties": {
"symbol": {
"type": "string"
},
"applied": {
"type": "boolean"
},
"new_name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"affected_files": {
"type": "array",
"items": {
"type": "string"
}
},
"updated_memories": {
"type": "array",
"items": {
"type": "object"
}
},
"valid_identifier": {
"type": "boolean"
},
"matching_memory_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}bootstrap_project — Bootstrap Project Memory
Bootstrap a workspace namespace with durable rules, Markdown guidelines (CLAUDE.md, AGENTS.md, .cursorrules, README.md), and code symbol definitions in a single call. Accepts optional raw markdown content or an array of files ({ path, content }). Automatically parses rule headings and extracts function/class symbols and call relations. Use when onboarding a new project or empty workspace namespace to seed rules and symbols before running queries.
{
"type": "object",
"required": [
"namespace"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"description": "Relative file path (e.g. src/auth.js)."
},
"content": {
"type": "string",
"description": "Full text content of the file."
}
}
},
"description": "Array of project files ({ path, content }) to index."
},
"content": {
"type": "string",
"description": "Optional raw markdown or text content (e.g. concatenated CLAUDE.md / AGENTS.md)."
},
"namespace": {
"type": "string",
"description": "Logical workspace namespace to seed (never prefix with \"org:\")."
}
}
}{
"type": "object",
"required": [
"imported",
"ids",
"namespace"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "UUIDs of seeded memories."
},
"imported": {
"type": "integer",
"description": "Total memory records created."
},
"ide_rules": {
"type": "object",
"description": "Generated rule templates for AGENTS.md and .cursor/rules."
},
"namespace": {
"type": "string",
"description": "Client workspace namespace."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}Prompts
5 advertised
session_start
Load session context and recent decisions for a workspace namespace.
- namespace
- Target logical workspace namespace.
memoreal-session-start
Start an agent session with full long-term memory context and health verification.
- namespace
- Target logical workspace namespace.
memoreal-bootstrap
Bootstrap memory for a new project repository by extracting conventions and code symbols.
- namespace
- Target logical workspace namespace.
memoreal-wrap-up
Wrap up an agent session by summarizing durable outcomes and triggering consolidation.
- namespace
- Target logical workspace namespace.
memoreal-handoff
Record a structured cross-wing specialist handoff memory.
- namespace
- Target logical workspace namespace.
- from_wing
- Sending specialist wing ID (e.g. architect, reviewer, qa, security, ops).
- to_wing
- Receiving specialist wing ID.
- task
- Specific follow-up action or task description.
Resources
3 advertised
Project & Organization Rules
High-salience semantic and core rules stored in Memoreal.
memory://rulesRecent Session Memories
Most recent episodic and semantic memories in this organization.
memory://recentNamespace & Quota Statistics
Memory count and 30-day API call quota status.
memory://stats30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1915 ms
- 95th percentile latency
- 1915 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1915 ms · metadata changed · refuses unauthenticated resources/templates/list (HTTP 401)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http memoreal-mcp https://memoreal.kolivri.com/v1/mcpCodex
codex mcp add memoreal-mcp --url https://memoreal.kolivri.com/v1/mcpCursor
{
"mcpServers": {
"memoreal-mcp": {
"url": "https://memoreal.kolivri.com/v1/mcp"
}
}
}Cline
{
"mcpServers": {
"memoreal-mcp": {
"type": "streamableHttp",
"url": "https://memoreal.kolivri.com/v1/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"memoreal-mcp": {
"type": "http",
"url": "https://memoreal.kolivri.com/v1/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http memoreal-mcp https://memoreal.kolivri.com/v1/mcpClaude Desktop
https://memoreal.kolivri.com/v1/mcpWindsurf
{
"mcpServers": {
"memoreal-mcp": {
"serverUrl": "https://memoreal.kolivri.com/v1/mcp"
}
}
}Let your agent find its tools
Find servers like Memoreal MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.