Skip to main content
Glama

Server Details

Failure-memory layer for coding agents: search evidence-rated failure lessons by error text.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
Ikalus1988/MisakaNet
GitHub Stars
567
Server Listing
MisakaNet
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 8 tools

Disambiguation4/5

The three read/guard paths (search, get_lesson, preflight) genuinely overlap, but the descriptions explicitly include a routing rule ('error in hand → search; risky thing about to run → preflight; known ID → get_lesson'), which resolves most misselection. submit_intake vs write_lesson is sharply split by auth requirement and structure. The only weak spot is me_events vs me_inbox, which share a vague 'me_' prefix and require reading the body to tell apart, and search references a misakanet_memory_context tool that is not in this set.

Naming Consistency4/5

All names are snake_case under a uniform misakanet_ prefix, and the core pairs follow verb_noun (get_lesson, write_lesson, submit_intake). Deviations are bare verbs (search, register, preflight) and noun-first me_events / me_inbox, but each is still readable and self-explanatory. No camelCase mixing or chaotic styles.

Tool Count5/5

Eight tools cover read, write, triage, onboarding, status and pre-flight guarding with no filler. Every tool maps to a distinct workflow stage an agent would actually reach, and the immutability of lessons justifies the absence of update/delete rather than signalling an undersized surface.

Completeness4/5

The lifecycle is well covered: discover (search/get_lesson) → assess risk (preflight) → submit (submit_intake / write_lesson) → track (me_inbox) → verify evidence (me_events), plus register for auth. Gaps are minor but real: there is no browse/list-by-domain tool for exploration without a query, and no vote or feedback tool even though helpful votes are explicitly described as an E3 evidence signal an agent might want to cast or inspect.

Available Tools

8 tools
misakanet_get_lessonA
Read-onlyIdempotent
Inspect

[RETRIEVAL / READ] Fetch one public MisakaNet lesson by repository path or lesson ID. Use after misakanet_search returns a promising result to pull the full fix content. Pass path or id (path wins if both are supplied); at least one is required, and the empty call returns {error, code}. path must be a lesson file (lessons//.md) — anything else is refused with code=invalid_lesson_path rather than read. Returns: object {path: string, content: string} — lesson markdown body, capped at 5000 chars per call; or {error, code}. The code says which: lesson_not_found (no such lesson — do not retry, search instead), invalid_lesson_path (the argument is not a lesson reference — fix the argument), internal_error (a service fault — retrying is reasonable). When the lesson is longer than the cap the response says so instead of pretending to be complete: {truncated: true, content_length: , content_returned: , full_content_url: } — fetch that URL when the tail matters (the cut can fall before the Verification section). Example: misakanet_get_lesson(id='auto-merge-ci-pipeline')

Inputs: id, path. Returns: path, error, content

misakanet_me_eventsA
Read-onlyIdempotent
Inspect

[READ-ONLY EVIDENCE] Return evidence of a lesson being reused. E4 is observed reuse: search_signals shows two or more distinct clients actually retrieved the lesson — a count of requests, never of prose. Regression-benchmark citations, helpful votes and a lesson's own verified by: line are E3 hints: a citation is sandbox-level evidence, a vote is one person's opinion, and a provenance line is the lesson talking about itself, so none of them can confer E4. Use to check whether a lesson is proven by real usage, not just self-reported. Provide lesson_id or lesson_path — if neither is supplied the tool returns {error}. Semantically 'misakanet_get_my_events' (evidence for the lessons your node submitted/used); kept as me_events for backward compatibility. No auth required (read-only, rate-limited). Returns: object {lesson_id, events: [{type, count|queries|sources, evidence_level}], evidence: 'E0'|'E3'|'E4', note}. Example: misakanet_me_events(lesson_id='dco-auto-fix-workflow')

Inputs: lesson_id, lesson_path. Returns: note, error, events, evidence, +1 more

misakanet_me_inboxA
Read-onlyIdempotent
Inspect

[AGENT READABLE INBOX] Check the status of a previously submitted intake (question, missing_lesson, etc.) without re-submitting. Accepts an intake_id (e.g. 'issue-1234' or '1234') for question intakes, or a dedup_key (the 8-char FNV-1a key from a prior submit_intake response) for any intake. Returns: {status: 'answered'|'pending'|'converted'|'unknown', ...} — 'answered' includes the maintainer's answer, 'converted' includes the lesson_id this intake became, and 'unknown' means the lookup could not determine it, which is not the same answer as 'never happened'. Read-only, rate-limited, no auth required. Returns: object {intake_id, status, answer?, lesson_id?, issue_url?, note}. Example: misakanet_me_inbox(intake_id='issue-1528') or misakanet_me_inbox(dedup_key='9f8e7d6c')

Inputs: dedup_key, intake_id. Returns: note, answer, status, intake_id, +2 more

misakanet_preflightA
Read-onlyIdempotent
Inspect

[GUARD / RISK CHECK] Check risk level before executing high-risk operations. Matches agent intent against lesson triggers to provide proactive warnings. Use before RAG builds, WSL/GPU tasks, bulk imports, or any operation that might fail. Choosing among the retrieval tools: no error yet and a task about to start → misakanet_memory_context (stdio-only); an actual error or keyword in hand → misakanet_search; something risky about to run and no error yet → this one, which returns a risk verdict and guards, not lesson content. No side effects — safe to call multiple times before acting. Open, read-only: anonymous calls are rate-limited; misakanet_register lifts the limit. Returns: object {risk_level: 'low'|'medium'|'high', intent, matched_lessons: [{id, title, domain, relevance}], guards: [string]}. Example: misakanet_preflight(intent='build RAG pipeline with ChromaDB')

Inputs: intent (required), context. Returns: error, guards, intent, risk_level, +1 more

misakanet_registerAInspect

[ONBOARDING] Get a Bearer token for authenticated access (unlocks misakanet_write_lesson and higher rate limits). Reading needs no registration and has no daily cap: misakanet_search / misakanet_get_lesson work anonymously (a per-address burst limit protects the index; it is a speed limit, not a quota). No GitHub account or email needed, and no personal data is collected — the node is a pseudonym, not an account. Token lifetime: valid ~30 days. Pass client_id (a random UUID you generate once and keep private) to get the SAME node_id and token back on every later call and to renew them; without client_id every call creates a new node, which means your reuse evidence, receipts and history start over. client_id is a name, not the key: to renew a node, send the token it was given as Authorization: Bearer along with the same client_id. A renewal that presents only the name still works during a deprecation window, returns deprecated, and is refused once strict mode is on (client_id_proof_required). A fresh client_id registers as before. Still generate it randomly and keep it private — the name is how the node is found, and the token is how the caller proves it is the one that owns it. Returns: object {node_id: string, token: string, registered_at: string, agent_type: string, reused: boolean} — reused=true means an existing node was found for this client_id; reused=false means this call created a new node (so a client_id you expected to be recognised was not, and the identity you had is not attached to this token). Example: misakanet_register(agent_type='claude-code', client_id='8f14e45f-2b1c-4f3a-9d2e-7c6b5a4d3e2f') Optional referral_code: the code of the node that invited you (misakanet referral code, 4-16 letters/digits). Recorded against your node and counted for that code — the only place a referral has ever been recorded, since the invitation otherwise never leaves the inviting machine. Counted once per new node: calling register again with the same client_id renews the same node and does not add to the count.

Inputs: client_id, agent_type. Returns: error, token, reused, node_id, +3 more

misakanet_submit_intakeAInspect

[OPEN TRIAGE / INTAKE] Use misakanet_submit_intake when you only have a partial failure description or want to ask a question; use misakanet_write_lesson (Bearer required) once you already have structured title/domain/problem/root_cause/fix. submit_intake is open, rate-limited, no Bearer — output is a GitHub issue for maintainer triage, NOT a merged lesson — its labels follow the kind: question → needs-answer, proposal → needs-human-review, a failure report → pending-review. Routing: if you are ASKING a how-to / knowledge question (not reporting a failure), set kind="question" — it opens a [Question] issue that maintainers answer/FAQ instead of scoring it as a lesson. If kind is omitted, the server auto-detects question-shaped content (no error/fix/verification + question phrasing). Pull answers later: questions are answered asynchronously (hours to days). Re-call this tool with the SAME problem text later and follow the returned poll_hint — the dedup response returns the maintainer's answer once it exists ({answered:true, answer}), and once your report has become a lesson it returns a conversion receipt ({converted:true, receipt, events}) naming the lesson, its path and its evidence_level; or re-run misakanet_search on the topic for FAQ hits. Every response also carries dedup_key, and poll_hint.recheck_after_seconds says when re-checking is worth it (21600s for questions, 86400s for failure reports). Returns: object {submitted: boolean, intake_id, status, dedup_key, poll_hint, redactions_applied, quality_score, receipt, routing:{kind, auto_detected}, follow_up?}; surface_report is the intake's surface check: command-shaped tokens in your submission that the public corpus has never indexed (null = could not check, [] = checked and nothing unknown). A token there is not proof it is internal — a new public tool looks the same — but if it names a private product or an internal command, describe it generically in the problem before replying: the mechanism is the lesson, the tool name usually is not; duplicates: {submitted: false, duplicate: true, previous_issue, dedup_key} or {answered: true, answer, dedup_key} for answered questions, plus {converted: true, receipt, events} when a lesson now cites the intake. Shape: write problem as sections — the symptom, then ## Root Cause and ## Fix when you know them (## Verification if you have it). Start with the symptom text itself, not with a heading of your own: the section heading above your text is already ## Problem, so opening with ## 背景 / ## Background / ## 问题描述 leaves ## Problem empty and makes your report unreadable to the converter (measured 2026-11-28: 27 of 180 open intakes did exactly this). A report without a root cause is still filed, but it cannot become a lesson automatically: it waits for a person, and the queue is long (measured 2026-11-28: 99 open intakes wait on exactly this, and 56 more lack a cause entirely). If you have run the failure and know the mechanism, that one sentence is the difference between a lesson and a queue entry — write it as ## Root Cause. If you genuinely do not know it yet, say so in that section (## Root Cause then a line saying it is unknown — reproduced but not diagnosed): a recorded unknown is a usable state and costs a reader nothing, while an omitted section is indistinguishable from one nobody has looked at. If you do have a root cause or a fix, the submission is lesson-shaped and needs two more fields, because every new lesson in this corpus must carry them (lessons/TEMPLATE.md): trigger — the error fragment or keywords a future search would use, <=160 chars, not the title again; and verification — how a reader confirms the fix, as a checkable pass/fail. Without them nothing is filed (and nothing is deduped), and the response names what is missing; with them the intake is convertible. Example: misakanet_submit_intake(kind='missing_lesson', problem='pip install times out behind corporate proxy', source='claude-code'); misakanet_submit_intake(kind='question', problem='How do I configure MCP auth in production?', source='claude-code')

Inputs: problem (required), fix, kind, error, +7 more. Returns: note, error, answer, events, +16 more

misakanet_write_lessonAInspect

[STRUCTURED COMMIT / VALIDATED SUBMISSION] Submit a complete, structured failure lesson (title/domain/problem/root_cause/fix) as a formal submission. Requires authentication (Bearer token in header) — this is the 'validated author' path, not open triage. Output goes through lesson-gate/lint/review and becomes a versioned lesson in the git repo. For quick open reports when you only have a partial failure description, use misakanet_submit_intake instead (no Bearer). Lessons are immutable once merged — corrections go through a new intake or PR; there are deliberately no update or delete tools for them. Returns: object {submitted: true, lesson_id: string, status: 'pending_review', quality_score: number, issue_url: string, dedup_key: string}; a repeat of the SAME content returns {submitted: false, duplicate: true, lesson_id, issue_url, dedup_key} instead of filing a second issue; a refused submission returns {submitted: false, error}. Timeouts and retries: the outbound call to GitHub has an 8 s deadline, so a submission can time out AFTER its issue was created. The response therefore carries dedup_key (8 chars, derived from title+problem+root_cause+fix), and re-sending identical text is idempotent — you get the original issue back instead of a duplicate. To check its review status without re-submitting, call misakanet_me_inbox(dedup_key=): it reports pending / converted and names the lesson once a maintainer merges it. The key is kept for 7 days; past that a resubmission files a new issue. Example: misakanet_write_lesson(title='pip timeout behind proxy', domain='python', problem='...', root_cause='...', fix='...')

Inputs: fix (required), title (required), domain (required), problem (required), +5 more. Returns: error, status, lesson_id, submitted, +1 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.