{"apiVersion":"v1","directorySlug":"ternlang-mcp-3031bc868c","title":"Ternlang","description":null,"pageUrl":"https://www.mcpbundles.com/skills/ternlang-mcp-3031bc868c","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://ternlang.com/mcp","hostedMcpUrl":null,"toolCount":40,"toolInventoryStatus":"observed","refreshedAt":"2026-11-27T13:31:41.321780+00:00","registryName":"com.ternlang/ternlang-mcp-3031bc868c","registryVersion":"2026.11.27","registryEligible":true,"tools":[{"name":"trit_decide","description":"Convert float evidence into a ternary decision (-1 conflict / 0 hold / +1 affirm) with confidence score and human-readable interpretation. The core ternary reasoning primitive.","inputSchema":{"type":"object","required":["evidence"],"properties":{"evidence":{"type":"array","items":{"type":"number"}},"threshold":{"type":"number"}}},"title":"Trit Decide — Scalar Evidence → Ternary Decision","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_decide","displayName":"Trit Decide — Scalar Evidence → Ternary Decision"},{"name":"trit_consensus","description":"Balanced ternary consensus of two trit values: +1 if both affirm, -1 if both conflict, 0 (hold) for any disagreement. Use to merge two independent ternary judgements.","inputSchema":{"type":"object","required":["a","b"],"properties":{"a":{"type":"number"},"b":{"type":"number"}}},"title":"Trit Consensus — Balanced Ternary Addition","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_consensus","displayName":"Trit Consensus — Balanced Ternary Addition"},{"name":"trit_eval","description":"Evaluate a single ternlang expression on the live BET (Balanced Execution Trit) VM. Returns the trit result. Good for quick expression testing without writing a full program.","inputSchema":{"type":"object","required":["expression"],"properties":{"expression":{"type":"string"}}},"title":"Trit Eval — BET VM Expression Evaluator","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_eval","displayName":"Trit Eval — BET VM Expression Evaluator"},{"name":"ternlang_run","description":"Compile and run a complete .tern source program on the BET VM. Use for multi-statement programs, function definitions, struct usage, agent spawning, and tensor operations.","inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}},"title":"Ternlang Run — Execute .tern Programs on BET VM","logicalName":"ternlang_run","displayName":"Ternlang Run — Execute .tern Programs on BET VM","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"quantize_weights","description":"Quantize f32 neural network weights to ternary {-1, 0, +1} using BitNet-style absolute-mean thresholding. Returns quantized weights, sparsity ratio, and effective compute savings.","inputSchema":{"type":"object","required":["weights"],"properties":{"weights":{"type":"array","items":{"type":"number"}},"threshold":{"type":"number"}}},"title":"Quantize Weights — Float → Ternary (BitNet)","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"quantize_weights","displayName":"Quantize Weights — Float → Ternary (BitNet)"},{"name":"sparse_benchmark","description":"Benchmark sparse vs dense ternary matrix multiplication. Reports sparsity ratio, multiply-op count for both methods, and speedup factor. Demonstrates the @sparseskip efficiency gain.","inputSchema":{"type":"object","properties":{"size":{"type":"integer"},"threshold":{"type":"number"}}},"title":"Sparse Benchmark — Ternary Matmul Efficiency","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"sparse_benchmark","displayName":"Sparse Benchmark — Ternary Matmul Efficiency"},{"name":"moe_orchestrate","description":"MoE-13 deliberation — routes your query through 13 specialised expert agents (deductive, inductive, safety, fact-check, causal, ambiguity, math, context, meta-safety, and more) with dual-key synergistic routing and a hard safety veto. FREE preview: returns the real trit verdict + top-3 expert voices. Full 13-expert response with triad field, routing pair, synergy scores, and SSE streaming available via REST API (X-Ternlang-Key, Tier 2). Call trit_upgrade to see what unlocks.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"evidence":{"type":"array","items":{"type":"number"}}}},"title":"MoE Orchestrate — Full 13-Expert Ternary Reasoning","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"moe_orchestrate","displayName":"MoE Orchestrate — Full 13-Expert Ternary Reasoning"},{"name":"moe_deliberate","description":"EMA-based iterative deliberation engine. Feeds evidence round by round, applying exponential moving average smoothing, until the target confidence is reached or max_rounds is exhausted. Returns per-round trace and final trit verdict.","inputSchema":{"type":"object","required":["target_confidence","rounds_evidence"],"properties":{"alpha":{"type":"number"},"max_rounds":{"type":"integer"},"rounds_evidence":{"type":"array","items":{"type":"array","items":{"type":"number"}}},"target_confidence":{"type":"number"}}},"title":"MoE Deliberate — EMA Iterative Convergence Engine","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"moe_deliberate","displayName":"MoE Deliberate — EMA Iterative Convergence Engine"},{"name":"trit_action_gate","description":"Multi-dimensional safety gate for action authorisation. Each dimension contributes weighted evidence; any dimension marked hard_block:true with negative evidence immediately vetoes the action and returns trit=-1. Returns aggregate trit, per-dimension breakdown, and veto reason if blocked.","inputSchema":{"type":"object","required":["dimensions"],"properties":{"dimensions":{"type":"array","items":{"type":"object","required":["name","evidence","weight"],"properties":{"name":{"type":"string"},"weight":{"type":"number"},"evidence":{"type":"number"},"hard_block":{"type":"boolean"}}}}}},"title":"Trit Action Gate — Safety Veto + Weighted Vote","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_action_gate","displayName":"Trit Action Gate — Safety Veto + Weighted Vote"},{"name":"trit_upgrade","description":"Returns a structured map of what is available free via MCP vs what unlocks with a paid API key: Tier 2 €24.99/mo (10k calls/mo), Tier 3 €49.99/mo (20k calls/mo), Tier 4 Enterprise (contact us). Unlocks include full MoE-13 experts, SSE streaming, server-side three-layer memory, ternary context compression, and production SLA. Call this tool when a user asks 'what can I do with ternlang?' or 'how do I get more out of this?'","inputSchema":{"type":"object","properties":{}},"title":"Trit Upgrade — Feature Map (Free vs Premium)","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_upgrade","displayName":"Trit Upgrade — Feature Map (Free vs Premium)"},{"name":"trit_mem_write","description":"Write a memory entry to one of three layers: working (hot context, TTL 1h), session (flow patterns, TTL 24h), or core (identity anchors, never evicted). Annotate each entry with a trit confidence score (+1 affirm / 0 tend / -1 reject). Session and core writes are automatically compressed via ternary sparsity (low-information sentences stripped). Premium: memory is stored server-side — no state blob required.","inputSchema":{"type":"object","required":["layer","key","value"],"properties":{"key":{"type":"string"},"trit":{"enum":[-1,0,1],"type":"integer"},"layer":{"enum":["working","session","core"],"type":"string"},"value":{"type":"string"},"ttl_secs":{"type":"integer"}}},"title":"Trit Mem Write — Three-Layer Memory Write","logicalName":"trit_mem_write","displayName":"Trit Mem Write — Three-Layer Memory Write","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"trit_mem_read","description":"Read from three-layer memory using ternary attention. Each entry is scored: attention = key_overlap×0.35 + value_overlap×0.55 + trit_bias×0.10. Returns entries sorted by relevance. Attention trit: >0.45=affirm (highly relevant), 0.20–0.45=tend (partial match). Expired entries are automatically excluded. Premium: reads from server-side store keyed to your API key.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"layers":{"type":"array","items":{"enum":["working","session","core"],"type":"string"}}}},"title":"Trit Mem Read — Ternary Attention Memory Read","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_mem_read","displayName":"Trit Mem Read — Ternary Attention Memory Read"},{"name":"trit_mem_consolidate","description":"Run the three-layer memory consolidation cycle: (1) evict expired working entries; (2) promote affirm working entries to session with ternary compression; (3) promote long-lived affirm session entries to core with MoE-13 trit resolution; (4) upsert into core. Returns promotion counts and updated layer sizes. Call periodically (e.g. end of conversation turn) to maintain memory hygiene.","inputSchema":{"type":"object","properties":{}},"title":"Trit Mem Consolidate — Memory Promotion Cycle","logicalName":"trit_mem_consolidate","displayName":"Trit Mem Consolidate — Memory Promotion Cycle","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"trit_mem_stats","description":"Return statistics for all three memory layers: entry counts, trit distribution (affirm/tend/reject), expired-but-not-yet-evicted entries, oldest and newest entry ages. Useful for debugging memory health and deciding when to consolidate.","inputSchema":{"type":"object","properties":{}},"title":"Trit Mem Stats — Memory Layer Health Report","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_mem_stats","displayName":"Trit Mem Stats — Memory Layer Health Report"},{"name":"trit_mem_compress","description":"Apply ternary sparsity compression to an entire memory layer in-place. Strips low-information sentences (density < 0.25) from every entry's value, keeps high-signal sentences verbatim, and truncates medium-density sentences to their first phrase. Optionally drops all reject-trit entries. Returns original vs compressed byte counts and compression ratio.","inputSchema":{"type":"object","required":["layer"],"properties":{"layer":{"enum":["working","session","core"],"type":"string"},"drop_reject":{"type":"boolean"}}},"title":"Trit Mem Compress — Ternary Sparsity Compression","logicalName":"trit_mem_compress","displayName":"Trit Mem Compress — Ternary Sparsity Compression","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"trit_debate","description":"Route two claims through MoE-13, compare their ternary verdicts, and return a tension score, synthesis, and AGREEMENT/CONFLICT/HOLD verdict. Useful for due-diligence, legal review, and argumentation analysis.","inputSchema":{"type":"object","required":["claim_a","claim_b"],"properties":{"claim_a":{"type":"string"},"claim_b":{"type":"string"},"context":{"type":"string"}}},"title":"Trit Debate — Structured 3-Way Verdict on Competing Claims","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_debate","displayName":"Trit Debate — Structured 3-Way Verdict on Competing Claims"},{"name":"trit_uncertainty_map","description":"Annotate every sentence (or paragraph) in a text with a trit value: +1 affirm (confident language), 0 tend (hedging language), -1 reject (contradicting language). Returns an uncertainty ratio and per-claim breakdown.","inputSchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"granularity":{"enum":["sentence","paragraph"],"type":"string"}}},"title":"Trit Uncertainty Map — Text Annotation by Confidence","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_uncertainty_map","displayName":"Trit Uncertainty Map — Text Annotation by Confidence"},{"name":"trit_calibrate","description":"Analyse an AI agent's recent decision log for binary habituation. Detects how often the agent forced YES/NO when the evidence called for hold (tend). Returns a calibration score trit, binary ratio, and flagged decisions.","inputSchema":{"type":"object","required":["decisions"],"properties":{"decisions":{"type":"array","items":{"type":"object","required":["input","output"],"properties":{"input":{"type":"string"},"output":{"type":"string"},"confidence":{"type":"number"}}}}}},"title":"Trit Calibrate — Binary Habituation Detector","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_calibrate","displayName":"Trit Calibrate — Binary Habituation Detector"},{"name":"trit_translate","description":"Convert binary control-flow code (Python if/elif/else, SQL CASE WHEN, JSON rule arrays) into equivalent .tern code with explicit tend arms injected wherever the original code had no coverage. Returns generated .tern code + count of hold zones added.","inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"},"language":{"enum":["python","sql","json_rules"],"type":"string"}}},"title":"Trit Translate — Binary Code → Ternary .tern Programs","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_translate","displayName":"Trit Translate — Binary Code → Ternary .tern Programs"},{"name":"trit_eco_check","description":"Evaluate a proposed action along two axes: human-optimal (via MoE-13) and eco-optimal (keyword heuristic). When they diverge, synthesis returns tend — a signal to find a path that serves both. Scoped to local, regional, or global impact.","inputSchema":{"type":"object","required":["action"],"properties":{"scope":{"enum":["local","regional","global"],"type":"string"},"action":{"type":"string"},"context":{"type":"string"}}},"title":"Trit Eco Check — Human + Ecocentric Dual Perspective","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_eco_check","displayName":"Trit Eco Check — Human + Ecocentric Dual Perspective"},{"name":"trit_audit","description":"Full TernAudit of an AI decision log. Returns binary habituation ratio, EU AI Act Article 13 (transparency) and Article 14 (human oversight) heuristic assessment, calibration score, and flagged decisions that should have been held.","inputSchema":{"type":"object","required":["decisions"],"properties":{"decisions":{"type":"array","items":{"type":"object","required":["input","output"],"properties":{"input":{"type":"string"},"output":{"type":"string"},"confidence":{"type":"number"}}}}}},"title":"Trit Audit — EU AI Act Compliance Report","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_audit","displayName":"Trit Audit — EU AI Act Compliance Report"},{"name":"trit_vector","description":"Multi-dimensional ternary evidence aggregation — the full agent reasoning tool. Provide named evidence dimensions each with a scalar value [-1.0, +1.0] and importance weight. Computes weighted-mean aggregate TritScalar and returns: aggregate (trit+confidence+is_actionable), per-dimension breakdown, dominant dimension, and plain-language recommendation.","inputSchema":{"type":"object","required":["dimensions"],"properties":{"dimensions":{"type":"array","items":{"type":"object","required":["label","value"],"properties":{"label":{"type":"string"},"value":{"type":"number"},"weight":{"type":"number"}}}},"min_confidence":{"type":"number"}}},"title":"Trit Vector — Multi-Dimensional Evidence Aggregation","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_vector","displayName":"Trit Vector — Multi-Dimensional Evidence Aggregation"},{"name":"tsql_join","description":"Ternary SQL Join. Unlike binary SQL (MATCH / NO-MATCH), a T-Join routes partial matches into a Deliberative Hold (State 0) for escrow audit — guaranteeing 100% data retention. Computes cosine similarity between two numeric record vectors: ≥0.70 similarity → affirm (MATCH), 0.35–0.70 → tend (HOLD / escrow), <0.35 → reject (NO-MATCH). Eliminates data loss from binary join discards.","inputSchema":{"type":"object","required":["record_a","record_b"],"properties":{"record_a":{"type":"array","items":{"type":"number"}},"record_b":{"type":"array","items":{"type":"number"}}}},"title":"T-SQL Join — Ternary Triadic Database Join","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"tsql_join","displayName":"T-SQL Join — Ternary Triadic Database Join"},{"name":"audit_ternary_logic","description":"Static code compliance audit. Detects Binary Habituation — over-reliance on true/false, bool types, and binary else branches — and returns a ternary calibration score with line-by-line Deliberation Injection recommendations. Also reports sparsity potential (what % of logic could benefit from a ternary hold zone).","inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}},"title":"Audit Ternary Logic — Triadic Code Compliance Check","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"audit_ternary_logic","displayName":"Audit Ternary Logic — Triadic Code Compliance Check"},{"name":"get_industrial_standards","description":"Returns the current triadic industrial standards published by RFI-IRFOS: T-TOKEN-v1.0 (tokenization), T-KV-CACHE-v1.0 (memory), T-Fi-v1.0 (compute billing), T-HAL-v1.0 (hardware abstraction), T-BIO-v1.0 (neural encoding), T-AUDIT-v1.0 (EU AI Act compliance). Use to determine compliance requirements before deploying ternary AI systems.","inputSchema":{"type":"object","properties":{}},"title":"Get Industrial Standards — RFI-IRFOS Triadic Standards","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_industrial_standards","displayName":"Get Industrial Standards — RFI-IRFOS Triadic Standards"},{"name":"trit_compress","description":"Ternary context compression. Score each text chunk by information density: high-signal chunks are kept verbatim (+1), medium-signal chunks are truncated to their first sentence (0/tend), low-signal chunks are dropped (-1). Returns a manifest with actions and estimated token savings.","inputSchema":{"type":"object","required":["chunks"],"properties":{"query":{"type":"string"},"chunks":{"type":"array","items":{"type":"string"}}}},"title":"Trit Compress — Ternary Context Compression","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_compress","displayName":"Trit Compress — Ternary Context Compression"},{"name":"trit_triage","description":"Ternary triage and prioritisation. Score an array of text chunks against a query by word overlap, then sort: affirm (+1) = highly relevant, tend (0) = partially relevant, reject (-1) = not relevant. Returns sorted manifest with relevance trit and score.","inputSchema":{"type":"object","required":["chunks","query"],"properties":{"query":{"type":"string"},"chunks":{"type":"array","items":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string"},"text":{"type":"string"}}}}}},"title":"Trit Triage — Ternary Relevance Prioritisation","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_triage","displayName":"Trit Triage — Ternary Relevance Prioritisation"},{"name":"trit_plan","description":"Ternary task planner. Decomposes a goal into subtasks, scores each subtask by confidence and feasibility, and routes uncertain tasks into a deliberation queue. Returns an ordered plan with trit verdicts and a hold queue for tasks needing more context.","inputSchema":{"type":"object","required":["goal"],"properties":{"goal":{"type":"string"},"context":{"type":"string"},"max_steps":{"type":"integer"}}},"title":"Trit Plan — Ternary Task Decomposition","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_plan","displayName":"Trit Plan — Ternary Task Decomposition"},{"name":"trit_factcheck","description":"Ternary fact-check engine. Decomposes a claim into sub-claims, scores each against an optional evidence corpus using word overlap, and returns an overall verdict: affirm (claim supported), tend (partially supported — needs more evidence), reject (claim contradicted).","inputSchema":{"type":"object","required":["claim"],"properties":{"claim":{"type":"string"},"evidence":{"type":"array","items":{"type":"string"}}}},"title":"Trit Factcheck — Ternary Claim Verification","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"trit_factcheck","displayName":"Trit Factcheck — Ternary Claim Verification"},{"name":"moe_full","description":"Full 13-expert MoE orchestration with complete triad field, routing pair, per-expert verdicts, synergy scores, and deliberation trace. Returns the complete response including all expert voices and the emergent triad field computation.","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"evidence":{"type":"array","items":{"type":"number"}}}},"title":"MoE Full — Complete 13-Expert Orchestration","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"moe_full","displayName":"MoE Full — Complete 13-Expert Orchestration"},{"name":"llb_check","description":"Last Look Back — blacklist check. Returns whether a path is protected by the LLB permanent blacklist (system paths, credential directories, kernel interfaces). Read-only — no disk mutation.","inputSchema":{"type":"object","required":["path"],"properties":{"path":{"type":"string"}}},"title":"LLB Check — Blacklist Path Guard","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"llb_check","displayName":"LLB Check — Blacklist Path Guard"},{"name":"llb_classify","description":"Last Look Back — safety tier classification. Classifies a path + operation into LLB safety tiers: T0/READ (low) → T1/CREATE (moderate) → T2/MODIFY (high) → T3/DELETE (critical). Each tier requires additional gates. Use before any filesystem mutation.","inputSchema":{"type":"object","required":["path","operation"],"properties":{"path":{"type":"string"},"operation":{"enum":["READ","CREATE","OVERWRITE","DELETE","CHMOD"],"type":"string"}}},"title":"LLB Classify — Safety Tier Classification","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"llb_classify","displayName":"LLB Classify — Safety Tier Classification"},{"name":"llb_validate","description":"Last Look Back — Gate 1 preflight. Validates a structured mutation request: checks blacklist, resolves path, assesses tier, and issues an authorisation verdict. No disk mutation occurs — this is the pre-flight check only.","inputSchema":{"type":"object","required":["path","operation","goal","justification"],"properties":{"goal":{"type":"string"},"path":{"type":"string"},"fallback":{"type":"string"},"operation":{"enum":["CREATE","OVERWRITE","DELETE","CHMOD"],"type":"string"},"justification":{"type":"string"}}},"title":"LLB Validate — Gate 1 Preflight","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"llb_validate","displayName":"LLB Validate — Gate 1 Preflight"},{"name":"llb_write_safe","description":"Last Look Back — Safe Atomic Write advisory. Runs the full LLB preflight (Gate 1: blacklist + tier classification + intent validation) and returns a ternary verdict: +1 allow / 0 hold (local-only) / -1 veto. Note: actual filesystem writes require local stdio installation (cargo install ternlang-mcp) — this HTTP endpoint returns the pre-flight verdict only.","inputSchema":{"type":"object","required":["path","content","goal","justification","fallback"],"properties":{"goal":{"type":"string"},"path":{"type":"string"},"content":{"type":"string"},"fallback":{"type":"string"},"operation":{"enum":["CREATE","OVERWRITE"],"type":"string"},"justification":{"type":"string"}}},"title":"LLB Write Safe — Atomic Write Advisory","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"llb_write_safe","displayName":"LLB Write Safe — Atomic Write Advisory"},{"name":"engram_remember","description":"Store an episode in your PRIVATE, durable episodic memory (ternlang-engram), namespaced to your X-Ternlang-Key and persisted on the server. Each memory is time-stamped and embedded with a ternary TritFloat vector whose confidence field carries the episode's salience. The episode id IS the timestamp (unix ms). Requires a valid key — your memories are isolated from every other user's.","inputSchema":{"type":"object","required":["content"],"properties":{"iso":{"type":"string"},"t_ms":{"type":"integer"},"tags":{"type":"array","items":{"type":"string"}},"source":{"type":"string"},"content":{"type":"string"},"importance":{"type":"number"}}},"title":"Engram Remember — Store a Durable Episodic Memory","logicalName":"engram_remember","displayName":"Engram Remember — Store a Durable Episodic Memory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"engram_recall","description":"Recall your most relevant private memories, ranked like human episodic retrieval: relevance × recency × salience × frequency. Recalled episodes are reinforced. Each hit carries a native propagated TritFloat confidence and a human age ('3d 4h ago', or future 'in 14d'). Requires a valid key.","inputSchema":{"type":"object","required":["query"],"properties":{"iso":{"type":"string"},"t_ms":{"type":"integer"},"query":{"type":"string"},"top_k":{"type":"integer"}}},"title":"Engram Recall — Composite Episodic Retrieval","logicalName":"engram_recall","displayName":"Engram Recall — Composite Episodic Retrieval","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"engram_timeline","description":"Return your memories whose timestamp falls within [from, to], in chronological order — the episodic-specific query a vector store cannot answer. Requires a valid key.","inputSchema":{"type":"object","properties":{"to_ms":{"type":"integer"},"to_iso":{"type":"string"},"from_ms":{"type":"integer"},"from_iso":{"type":"string"}}},"title":"Engram Timeline — Chronological Memory Slice","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"engram_timeline","displayName":"Engram Timeline — Chronological Memory Slice"},{"name":"engram_consolidate","description":"Run one consolidation pass on your memory: decay salience along a forgetting curve (vivid, frequently-recalled memories decay far slower) and evict memories below 'floor' that are older than 'min_age_ms'. Requires a valid key.","inputSchema":{"type":"object","properties":{"iso":{"type":"string"},"t_ms":{"type":"integer"},"floor":{"type":"number"},"min_age_ms":{"type":"integer"}}},"title":"Engram Consolidate — Decay & Forget","logicalName":"engram_consolidate","displayName":"Engram Consolidate — Decay & Forget","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"engram_forget","description":"Delete your memories — a GDPR right-to-erasure primitive. Provide 'id' for one episode, or 'before_ms' for everything older. Requires a valid key.","inputSchema":{"type":"object","properties":{"id":{"type":"integer"},"before_ms":{"type":"integer"}}},"title":"Engram Forget — Right-to-Erasure","logicalName":"engram_forget","displayName":"Engram Forget — Right-to-Erasure","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"engram_stats","description":"Health snapshot of your private episodic store: episode count, salience, native confidence, ternary sparsity, time anchor/latest/span, total recalls. Requires a valid key.","inputSchema":{"type":"object","properties":{}},"title":"Engram Stats — Memory Health","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"engram_stats","displayName":"Engram Stats — Memory Health"}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=Ternlang&config=eyJ1cmwiOiAiaHR0cHM6Ly90ZXJubGFuZy5jb20vbWNwIn0%3D"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22Ternlang%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fternlang.com%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22Ternlang%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fternlang.com%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Ternlang&connectorUrl=https%3A%2F%2Fternlang.com%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"Ternlang\" --url \"https://ternlang.com/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/ternlang-mcp-3031bc868c","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/ternlang-mcp-3031bc868c/tools/{tool}","mcpServerUrl":"https://ternlang.com/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/ternlang-mcp-3031bc868c?live=1"}