MCP Tools
Complete reference for all ekkOS MCP tools available to AI agents.
These tools are available when you connect an AI agent (Claude Code, Cursor) to ekkOS via MCP. They appear in the agent's tool list with the prefix mcp__ekkos-memory__.
Available Tools
ekkoSearch your memory substrate for patterns, solutions, and context.
Parameters
querystringrequiredWhat to search for in your memorylimitnumberMax results to return (default: 10)Returns
Array of matching memories with relevance scores and source metadata.
Example Prompt
"Search my memory for how we handled authentication"crystallizeSave important decisions and patterns permanently to memory.
Parameters
titlestringrequiredClear, descriptive titleproblemstringrequiredWhat problem does this solve?solutionstringrequiredThe solution/pattern/approach that workstagsstring[]Tags for categorizationworks_whenstring[]Conditions when this pattern appliesanti_patternsstring[]What NOT to doReturns
Confirmation with pattern ID.
Example Prompt
"Remember that we always use Supabase for authentication"reflexValidate AI suggestions against your established patterns. The Hallucination Firewall.
Parameters
requeststringrequiredYour original question/requestproposed_answerstringrequiredThe AI's proposed response or codeuser_idstringOptional user ID for personalized checkingReturns
GROUNDED (safe), SPECULATIVE (no evidence), or CONFLICT (contradicts history) with explanation.
Example Prompt
"Before implementing this, check if it aligns with our patterns"forge_insightCreate new patterns from learnings. The creation side of the Golden Loop.
Parameters
titlestringrequiredClear, descriptive titleproblemstringrequiredWhat problem does this solve?solutionstringrequiredThe solution that workssourcestringWhere this insight came fromtagsstring[]Categorization tagsworks_whenstring[]When this pattern appliesanti_patternsstring[]Common mistakes to avoidReturns
Pattern ID and confirmation.
Example Prompt
"Forge pattern: RLS requires service role for admin operations"traceExplain why a suggestion was made. Show provenance of retrieved memories.
Parameters
retrieval_idstringrequiredRetrieval ID from an ekko searchmemory_idsstring[]Specific memory IDs to traceReturns
Detailed provenance with relevance scores and source information.
Example Prompt
"Show me which memories influenced this suggestion"get_directivesGet current MUST/NEVER/PREFER/AVOID behavioral rules.
Parameters
userIdstringUser ID (default: "system")windowHoursnumberHours of recent signals to include (default: 72)Returns
Active directives with priorities.
Example Prompt
"What rules should I follow for this project?"search_memorySearch across all memory layers with configurable sources.
Parameters
querystringrequiredSearch querylimitnumberMax results (default: 10)sourcesstring[]Which memory sources to search: patterns, graph, signals, allReturns
Search results with retrieval_id for outcome tracking.
Example Prompt
"Search memory for database connection patterns"recall_conversationsSearch past conversations semantically. Automatic memory recall.
Parameters
querystringrequiredWhat to search forknumberHow many results to return (default: 3)thresholdnumberMinimum similarity threshold 0-1 (default: 0.35)Returns
Relevant conversation excerpts.
Example Prompt
"What did we discuss about the API design yesterday?"track_memory_applicationTrack when memories are applied (Phase 2 of MCP lifecycle).
Parameters
retrieval_idstringrequiredRetrieval ID from search_memorymemory_idsstring[]requiredArray of memory IDs that were actually usedmodel_usedstringLLM model that applied the patternsReturns
Application ID for later outcome recording.
Example Prompt
Called after using retrieved memories to solve a problem.record_memory_outcomeRecord the outcome of applied memories (Phase 3 of MCP lifecycle).
Parameters
application_idstringrequiredApplication ID from track_memory_applicationsuccessbooleanrequiredWhether the applied memories were helpfulmetricsobjectOptional metrics: helpful, time_saved, user_ratingReturns
Confirmation. Triggers confidence score evolution.
Example Prompt
Called after determining if the retrieved patterns helped.