{"report":"{\"v\":1,\"package\":\"@cachly-dev/mcp-server\",\"version\":\"0.10.253\",\"ranAt\":\"2026-11-16T11:29:08.185Z\",\"install\":{\"ok\":true,\"integrity\":\"sha512-zTVkv8vEYWTO/t6tKC+CgjH1bOXKe5vOeNHw1DV34HsBDT96k/5pdBONFUS+Cy7ImgMiaHy2vH+Qh6pUw3O6rw==\",\"deps\":102,\"scripts\":[\"@cachly-dev/mcp-server\"],\"bins\":[\"cachly-mcp\"],\"license\":\"Apache-2.0\",\"engines\":\"node >=20\",\"repository\":\"git+https://github.com/cachly-dev/cachly-mcp.git\",\"bin\":\"cachly-mcp\"},\"start\":{\"ok\":true,\"ms\":290,\"serverName\":\"cachly-mcp\",\"serverVersion\":\"0.10.253\",\"protocol\":\"2025-06-18\",\"stderr\":\"\\n🧠 cachly: no API key yet — the first cachly tool call creates a test Brain on EU servers, no sign-up.\\n   (Own account: npx @cachly-dev/mcp-server@latest autopilot)\\n\\n\\ncachly: could not open a browser (ENOENT).\\ncachly: open this yourself to finish signing in:\\ncachly:   https://cachly.dev/device?code=329Q-LARL\\ncachly:   code 329Q-LARL\\n\\n\"},\"tools\":[{\"name\":\"cache_get\",\"description\":\"Get a value from a running cache instance by key. Returns the stored value (string or deserialized JSON object) or null if the key does not exist or has expired. Read-only — no side effects. Use cache_mget when you need multiple keys in one round-trip. Use cache_exists to check existence without retrieving the value. Use semantic_search when you need fuzzy/vector search across stored values.\",\"params\":[\"instance_id\",\"key\",\"org_id\"]},{\"name\":\"cache_set\",\"description\":\"Set a key-value pair in a running cache instance. Overwrites any existing value at the key — not idempotent for new data. Returns \\\"OK\\\" on success; returns an error if the instance_id is invalid or the instance is paused. Value can be a string or a JSON-serialized object. Optionally set a TTL in seconds (omit for no expiry). Use cache_mset instead for setting multiple keys in a single pipeline round-trip. Use cache_stream_set instead for caching LLM token streams (ordered string chunks).\",\"params\":[\"instance_id\",\"key\",\"value\",\"ttl\",\"org_id\"]},{\"name\":\"semantic_search\",\"description\":\"Find cached entries that are semantically similar to a natural-language query. Read-only — no side effects. Returns an array of objects, each with: key, value, similarity_score (0–1), and namespace. Returns an empty array if no entries meet the similarity threshold. Requires OPENAI_API_KEY (or compatible provider) and CACHLY_VECTOR_URL; every tier includes a vector token. Embeddings are computed server-side and never leave Germany (pgvector HNSW index). Example: \\\"find all cached responses about password reset\\\" or \\\"what did we answer about pricing?\\\". Use cache_get for exact key lookup; use smart_recall for brain lessons.\",\"params\":[\"instance_id\",\"query\",\"threshold\",\"namespace\",\"top_k\",\"use_hybrid\",\"auto_namespace\"]},{\"name\":\"index_project\",\"description\":\"Index local source files into the cachly semantic cache so AI assistants can use semantic_search to find relevant files instead of re-reading the whole codebase every time. Walks a directory recursively, reads each matching file, and stores a summary + path as a semantic cache entry (prompt = file path + content excerpt, value = relative path). Requires an embedding provider (OPENAI_API_KEY or CACHLY_EMBED_PROVIDER + key). Run once, then re-run after major refactors. TTL=86400 (24h) keeps entries fresh.\",\"params\":[\"instance_id\",\"dir\",\"extensions\",\"max_files\",\"ttl\",\"summary_chars\",\"namespace\"]},{\"name\":\"remember_context\",\"description\":\"Save context information to the cache so you can recall it later without re-computing. Perfect for caching: codebase overviews, file summaries, project structure, frequently-accessed data, or \\\"thinking\\\" results like dependency analysis. The AI assistant can use this to avoid re-reading the entire codebase every time. Overwrites any existing value stored under the same key. Returns { key, stored_at, ttl } confirming the saved context. Example: remember_context(\\\"project overview\\\", \\\"This is a Next.js app with...\\\") then later: recall_context(\\\"project overview\\\"). Use recall_context to retrieve; use list_remembered to see all stored keys.\",\"params\":[\"instance_id\",\"key\",\"content\",\"category\",\"ttl\"]},{\"name\":\"recall_context\",\"description\":\"Retrieve previously saved context from the cache. Returns the saved content or null if not found. Use this at the START of any task to check if you already have relevant context cached, before doing expensive operations like reading many files. Supports glob patterns: \\\"file:*\\\" matches all file summaries, \\\"arch*\\\" matches architecture-related keys.\",\"params\":[\"instance_id\",\"key\"]},{\"name\":\"list_remembered\",\"description\":\"List all cached context entries for this project. Shows what knowledge the AI assistant has already cached, so you can decide whether to recall existing context or refresh it. Returns: key, category, size, TTL remaining, and a content preview.\",\"params\":[\"instance_id\",\"category\",\"limit\"]},{\"name\":\"forget_context\",\"description\":\"Delete one or more cached context entries. Use when context is stale or you want to force a fresh analysis. Supports glob patterns: \\\"file:*\\\" deletes all file summaries.\",\"params\":[\"instance_id\",\"keys\"]},{\"name\":\"learn_from_attempts\",\"description\":\"Store a lesson AFTER any non-trivial task (deploy, debug, fix, decision); future sessions recall it. instance_id may be omitted; the configured instance is used — never guess one. If the topic already exists, the write is an UPDATE and REQUIRES `grund` (one line: WHY the previous version was wrong) — without it the update is rejected. A conflicting outcome triggers a contradiction warning. Example: learn_from_attempts(topic=\\\"deploy:api\\\", outcome=\\\"success\\\", what_worked=\\\"PORT 3095 SERVES WHISPER — nohup docker compose up -d\\\", severity=\\\"critical\\\")\",\"params\":[\"instance_id\",\"topic\",\"outcome\",\"what_worked\",\"what_failed\",\"context\",\"severity\",\"file_paths\",\"commands\",\"tags\",\"depends_on\",\"author\",\"grund\",\"ersetzt\",\"gilt_ab\",\"gilt_fuer\",\"visibility\",\"service\",\"service_kind\",\"group\"]},{\"name\":\"recall_best_solution\",\"description\":\"Recall the best known solution for a topic from past lessons. Call this BEFORE attempting any task that might have been done before. Returns the most recent successful lesson for the topic, with confidence indicator. ⚠️ badge = lesson is >5d old (verify before applying). 🔴 = >10d old (likely stale!). Recalling a lesson resets its confidence clock to 1.0 (marks as recently verified). A superseded lesson shows a banner naming its successor; if the successor was deleted, the banner says so and the lesson counts as the best remaining answer. Example: recall_best_solution(topic=\\\"deploy:web\\\") → returns the working deploy command.\",\"params\":[\"instance_id\",\"topic\",\"author\"]},{\"name\":\"smart_recall\",\"description\":\"Returns the fixes, decisions and pitfalls this team already learned for the task at hand. Call it FIRST at the start of every coding task — before reading files or editing — with one line about the task, e.g. smart_recall(\\\"fix login redirect loop\\\"). Finds lessons by meaning, not exact words. instance_id may be omitted; the configured instance is used — never guess one. Falls back to remember_context keys if no semantic match is found.\",\"params\":[\"instance_id\",\"query\",\"threshold\",\"author\",\"context_files\",\"limit\"]},{\"name\":\"session_start\",\"description\":\"Single-call session briefing for the START of a session: last summary, recent lessons, health. It does not replace smart_recall for a concrete task. Returns: last session summary, recent lessons sorted by recency, relevant lessons for your focus area, brain health stats (counts of open failures and stale lessons), team telepathy (what teammates learned this week), predictive pre-warnings (if your focus area has known failure patterns), and memory crystals (compressed wisdom from old sessions). Also saves a session start marker so session_end can compute duration.\",\"params\":[\"instance_id\",\"focus\",\"author\",\"provider\",\"workspace_path\"]},{\"name\":\"session_end\",\"description\":\"Save a session summary when you finish working. Records what was accomplished, files changed, and lesson count. The next session_start will show this summary as \\\"Last session\\\". Call this when ending a work session, before going idle, or before summarizing. Ambient Learning: if workspace_path is provided, reads git log since session start and auto-learns from commits.\",\"params\":[\"instance_id\",\"summary\",\"files_changed\",\"lessons_learned\",\"workspace_path\"]},{\"name\":\"session_handoff\",\"description\":\"Save a detailed handoff for the NEXT chat window / session. Stores: current progress, TODO list (done + remaining), changed files with descriptions, instructions for the next assistant, and any incomplete work. The next session_start automatically includes this handoff so the new window knows EXACTLY what happened and what remains. Call this BEFORE closing a chat window, especially if work is incomplete. This prevents the \\\"continue\\\" problem where new windows lose context, skip tasks, or produce broken code.\",\"params\":[\"instance_id\",\"completed_tasks\",\"remaining_tasks\",\"files_changed\",\"instructions\",\"context_summary\",\"blocked_on\"]},{\"name\":\"team_learn\",\"description\":\"Store a lesson in a shared team brain so all team members benefit. Like learn_from_attempts, but REQUIRES an author name for attribution. Shows up in team_recall with \\\"by <author>\\\" so the team knows who learned it.\",\"params\":[\"instance_id\",\"author\",\"topic\",\"outcome\",\"what_worked\",\"what_failed\",\"severity\",\"file_paths\",\"commands\",\"tags\"]},{\"name\":\"team_recall\",\"description\":\"Recall lessons from a shared team brain, showing who learned what. Works on any shared instance (all team members using the same instance_id). Shows author, recency, and severity for each lesson. Use this to onboard new team members or find who knows about a topic.\",\"params\":[\"instance_id\",\"topic\",\"author\",\"limit\"]},{\"name\":\"roadmap_add\",\"description\":\"Add a new item to the persistent project roadmap stored in the Brain. Items survive across sessions and editors — the roadmap is always up to date. Use for features, bugs, refactors, or any planned work. Call roadmap_list to see all open items, roadmap_next to get the next actionable item.\",\"params\":[\"instance_id\",\"title\",\"description\",\"priority\",\"tags\",\"milestone\"]},{\"name\":\"roadmap_update\",\"description\":\"Update the status, priority, or details of a roadmap item. Use to move items through the lifecycle: planned → in-progress → done (or blocked/cancelled). Also use to add notes/findings while working on an item.\",\"params\":[\"instance_id\",\"id\",\"status\",\"priority\",\"notes\",\"title\",\"description\"]},{\"name\":\"roadmap_list\",\"description\":\"List all roadmap items, optionally filtered by status, priority, tag, or milestone. Returns items sorted by priority then creation date. Called automatically by session_start to show open work.\",\"params\":[\"instance_id\",\"status\",\"tag\",\"milestone\",\"priority\"]},{\"name\":\"roadmap_next\",\"description\":\"Get the single most important next actionable roadmap item. Returns the highest-priority in-progress item first, then planned items, sorted by priority. Call at session start to immediately know what to work on next.\",\"params\":[\"instance_id\",\"tag\"]},{\"name\":\"brain_doctor\",\"description\":\"Check the health of your AI Brain and get actionable recommendations. Reports: lesson count, context entries, last session age, open failures, quality score, effective IQ boost, stale index. Returns a prioritized list of issues with fix instructions.\",\"params\":[\"instance_id\",\"workspace_path\"]},{\"name\":\"causal_trace\",\"description\":\"Root Cause Analysis through memory: given a problem description, traces the causal chain from root cause through intermediate failures to the current symptom, then surfaces the exact solution that worked before. Read-only — does not modify any stored data. Requires prior learning: brain must have lessons stored via learn_from_attempts or brain_from_git. Returns an ordered chain of concepts with confidence scores plus the matching solution; returns an empty chain with a message if no causal path is found. Example: causal_trace(problem=\\\"auth breaks after restart\\\") → \\\"Root: k8s:namespace-terminating → keycloak:jwks-race → Solution: PollUntilContextTimeout 3min\\\". Use recall_best_solution for direct topic lookup, syndicate_search for community patterns, and causal_trace when you have a symptom and need the full root-cause chain.\",\"params\":[\"instance_id\",\"problem\",\"max_depth\",\"tags\"]},{\"name\":\"autopilot\",\"description\":\"Generate a CLAUDE.md / copilot-instructions.md that makes any AI self-managing forever. Writes a configuration file to disk — will overwrite an existing file at the target path. No auth required beyond a valid instance_id. The generated file instructs Claude, Cursor, Copilot, Windsurf, or Gemini to automatically call session_start at window open, learn_from_attempts after every fix, and session_end before closing — without being asked. Returns the generated file content as a string and the path where it was written. Use style=\\\"minimal\\\" for just the three hooks; style=\\\"full\\\" for the complete ruleset with examples. One command. Every AI. Always on. Use setup_ai_memory instead if you want an interactive one-shot setup that also creates an instance.\",\"params\":[\"instance_id\",\"editor\",\"project_name\",\"style\"]},{\"name\":\"brain_search\",\"description\":\"BM25+ full-text search over ALL brain data: lessons, context entries, session history, CKG nodes, roadmap items. Unlike smart_recall (which focuses on lessons + context), brain_search casts a wider net. Use when smart_recall returns nothing or when you want to find anything the brain knows about a topic.\",\"params\":[\"instance_id\",\"query\",\"limit\"]},{\"name\":\"brain_predict\",\"description\":\"READ-ONLY — no side effects, no writes, no external network calls. Predictive Pre-fetch Engine (PPE): given your current context, reads the CKG in your Redis instance to predict likely failures and return the highest-confidence fixes. \\\"Pre-load\\\" means results are returned inline — nothing is cached or persisted. Requires a valid instance_id (your Redis brain). No rate limits. Call at session start when working on a specific feature or debugging area. Set scope=\\\"org\\\" to widen prediction across your whole organisation — surfaces cross-team risks (\\\"failed 3× across 2 other teams\\\") from the Org Knowledge Graph, so an incident in one team becomes a vaccine for yours.\",\"params\":[\"instance_id\",\"context\",\"top_k\",\"scope\"]},{\"name\":\"brain_from_git\",\"description\":\"Bootstrap brain lessons from git history. Parses commit messages and infers fix/feature/refactor lessons automatically. Great for onboarding an existing codebase — run once and the brain instantly knows your team's accumulated patterns. Incremental by default: only processes new commits since the last run, so repeated calls are fast. Emits progress updates to stderr during long scans.\",\"params\":[\"instance_id\",\"repo_path\",\"limit\",\"branch\",\"since\",\"incremental\"]},{\"name\":\"cachly_tool\",\"description\":\"Run any of cachly's specialist tools by name.\\n\\nThe most-used tools are listed separately above. This one reaches the\\nother 98 without their schemas taking up room in every request.\\n\\nWhen: compact_recover (after a context limit); brain_predict_failures (before a risky step, with odds); brain_plan (plan a task from past lessons); brain_conflicts (lessons contradict); memory_crystalize (condense lessons).\\n\\nUnsure about a tool's arguments? Call it with describe:true first — that\\nreturns its input schema instead of running it.\\n\\nAvailable: list_instances, create_instance, get_instance, get_connection_string, delete_instance, cache_delete, cache_exists, cache_ttl, cache_keys, cache_stats, detect_namespace, cache_warmup, cache_mset, cache_mget, cache_lock_acquire, cache_lock_release, get_api_status, recall_feedback, lesson_verified, session_start_summary, session_ping, auto_learn_session, brain_who_knows, brain_file_map, team_expertise_map, brain_collab_pairs, brain_portability, skill_gaps, brain_coverage, brain_metrics, brain_changelog, brain_service_map, sync_file_changes, team_confirm, team_assign_role, team_whoami, team_roster, team_audit, team_grant_scope, team_scopes, team_synthesize, memory_crystalize, team_crystallize, brain_hygiene, global_learn, global_recall, publish_lesson, import_public_brain, recall_at, trace_dependency, list_orgs, create_org, invite_member, get_org_plan, setup_ai_memory, cache_stream_set, cache_stream_get, cache_org_stats, set_cost_per_call, memory_consolidate, brain_diff, knowledge_decay, syndicate, syndicate_search, syndicate_stats, syndicate_trending, brain_marketplace, brain_install, ckg_inspect, brain_plan, brain_conflicts, brain_resolve_conflict, brain_confirm_ci, brain_briefing, brain_contribute_signal, brain_import_meta, madc_deliberate, cls_ingest, cls_install_hooks, fedbrain_contribute, fedbrain_search, fedbrain_confirm, fedbrain_status, brain_federate, crystal_view, compact_recover, brain_from_ci, brain_watch, brain_predict_failures, brain_share, brain_import, brain_share_list, brain_unshare, brain_discover, brain_seed_starter, brain_graph, brain_set_pref, brain_get_pref\",\"params\":[\"tool\",\"arguments\",\"describe\"]}],\"toolsHash\":\"ade4bf75d12dc0302a205b4a33c8970427361edc0f02cfb4f335ad7958ce475c\",\"wrote\":[\"/tmp/.cachly/anlegen.fehler\",\"/tmp/.cachly/update-check.json\"],\"callsAt\":\"2026-11-16T11:29:14.876Z\",\"calls\":[{\"tool\":\"list_remembered\",\"ok\":true,\"ms\":384,\"bytes\":816},{\"tool\":\"roadmap_list\",\"ok\":false,\"ms\":539,\"bytes\":187,\"error\":\"replied, but asks for setup: ⏳ **Signing you in…**\\n\\nFinish in your browser: **https://cachly.dev/device?code=329Q-LARL**\\nCode: **329Q-LARL**\\n\\nThis completes automatically once you sign in — no need to come back here.\"}],\"host\":{\"commit\":\"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c\",\"run\":\"https://github.com/itsHaddad/bragproof/actions/runs/43857070216\"},\"network\":{\"names\":[\"api.cachly.dev\",\"registry.npmjs.org\"],\"conns\":[],\"callNames\":[],\"callConns\":[]}}","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJhY3RvciI6Iml0c0hhZGRhZCIsImFjdG9yX2lkIjoiMTE0NzMyNjEiLCJhdWQiOiJicmFncHJvb2YtcmVwb3J0OjU5NTBlYjVlYjdiNDYxMTUyZTIzM2Q5MzM4M2I5NGMyMDAzMGZhN2Y3MmJjMWY4NGUyOGU3OTU0MTgyMWU5NzIiLCJiYXNlX3JlZiI6IiIsImNoZWNrX3J1bl9pZCI6IjEzMzI2Mzk5NTM3MyIsImV2ZW50X25hbWUiOiJzY2hlZHVsZSIsImV4cCI6MTc5NDgyODg2MSwiaGVhZF9yZWYiOiIiLCJpYXQiOjE3OTQ4Mjg1NjEsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2Jfd29ya2Zsb3dfcmVmIjoiaXRzSGFkZGFkL2JyYWdwcm9vZi8uZ2l0aHViL3dvcmtmbG93cy9yZXBvcnQueW1sQHJlZnMvaGVhZHMvbWFpbiIsImpvYl93b3JrZ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