Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Kawa Code

NPM · @KAWACODE/MCP · SCANNED SEP 24

Team-aware memory: intent, decisions, real-time conflicts for AI coding assistants.

Available components

0 this week 80 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security98
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 31 of 96 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency32
Schema Quality & AI Usability77
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 6430 tokens (~306/item across 21 items; 20 tools + 1 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management87
  • Stability observed for 26 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 20 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 21 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the Kawa Code MCP server?

Kawa Code runs locally as an npm package, launched with npx -y @kawacode/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · @kawacode/mcp

# add to Claude Code
claude mcp add ai-kawacode-mcp -- npx -y @kawacode/mcp
// .cursor/mcp.json
{
  "mcpServers": {
    "ai-kawacode-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kawacode/mcp"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "ai-kawacode-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kawacode/mcp"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add ai-kawacode-mcp -- npx -y @kawacode/mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ai-kawacode-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@kawacode/mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add ai-kawacode-mcp --command npx --arg -y --arg @kawacode/mcp
# ~/.hermes/config.yaml
mcp_servers:
  ai-kawacode-mcp:
    command: "npx"
    args: ["-y", "@kawacode/mcp"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "ai-kawacode-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@kawacode/mcp"
      ]
    }
  }
}
# add to Vellum
assistant mcp add ai-kawacode-mcp -t stdio -c npx -a -y @kawacode/mcp
// mcp.json
{
  "mcpServers": {
    "ai-kawacode-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kawacode/mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 24 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.

  • 22 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 21 Sept 26 +1
    • Stability: 0.97 → pass security
  • 19 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.

  • 17 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.

  • 15 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 14 Sept 26 +2
    • Stability: fail → pass ▲ security
  • 12 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 80 to 88.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 24 Sept 2026 · Analysed npm/@kawacode/mcp@8.1.0

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm

Background: How many MCP packages publish verified provenance →

Dependencies 96 packages
Packages resolved 96
Stale 31
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 20 exposed · ~6,416 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
activate_intent ~312

Activate an existing intent by ID — sets it as THIS session's current focus. Use this to: - Switch your current focus to a different intent found via list_team_intents or get_relevant_context - Re-activate an intent that was deactivated (e.g., to complete it) - Resume work on a previously created intent - Resume an "abandoned" intent (see below) Accepts both cloud IDs (from get_relevant_context / API) and local UUIDs (from list_team_intents). Multi-active model: activating an intent only moves YOUR session's current pointer. Many intents can be active on a repo at once (one current per session/teammate), so this never blocks on or displaces another session's active intent — there is no lock to take over. Resuming abandoned intents: - Abandoned intents have their decisions soft-deleted (invisible to recall and get_relevant_context). Activating one transparently restores them — single-intent decisions for this intent get their soft-delete cleared so the prior reasoning becomes visible again. Multi-intent decisions stay visible throughout (they were never soft-deleted).

NameTypeReqDescription
intentIdstringyesThe cloud ID (preferred) or local UUID of the existing intent to activate.
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

arbiter_apply ~263

Resolve live code overlaps and AUTO-APPLY the safe tier. Kawa judges → adversarially verifies → and, for the trivial tier only (high-confidence single-range merge that passes verify), writes the merge to your worktree, records a decision, and republishes. Writes happen ONLY in an agent-owned worktree (a linked git worktree); on a human checkout — or when a peer holds the file-set lock — it behaves like arbiter_resolve (suggest-only, no writes). Returns per-overlap outcomes { tier, applied, announcement, verifyIssue?, verdict }. Call it when you are ready to incorporate the result, then RE-READ any file it applied to (it changed on disk). For surfaced (not-applied) overlaps, use get_resolution_context to see the peer code and resolve manually.

NameTypeReqDescription
intentIdstring–Active intent ID (advisory; the auto-resolution decision is recorded under it).
overlapsarrayyesThe overlaps to resolve — each { peerUid, filePath, ranges } from the Stop collision report.
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

arbiter_resolve ~246

Get Kawa Code's AI verdict for live code overlaps with peers — SUGGEST-ONLY, never writes. For each overlap ({peerUid, filePath, ranges} from the Stop collision report), Kawa decrypts the peer's version locally (zero-knowledge) and judges it compatible / auto_resolvable / conflict, with confidence, a perf/security risk read, and a tier (0 no-op · 1 trivially auto-appliable · 2 draft-and-confirm · 3 conflict). Use it to understand a forming conflict before acting. For a surfaced tier-2/3 overlap, call get_resolution_context to read the peer's actual code. To actually apply the safe tier, use arbiter_apply.

NameTypeReqDescription
intentIdstring–Active intent ID (advisory). Auto-detected by Kawa Code when omitted.
overlapsarrayyesThe overlaps to judge — each { peerUid, filePath, ranges } from the Stop collision report.
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

check_active_intent ~152

REQUIRED before writing any code. Returns this session's current intent; if there is none, confirm the details with the user and call create_and_activate_intent. Intents are active PER SESSION — many can be active on one repo at once. hasActiveIntent reflects only YOUR session, while activeIntents lists every session's current intent (yours and teammates') and may be non-empty when you have none. A stale intent stays "active"; terminal states are committed / pushed / done / abandoned / superseded.

NameTypeReqDescription
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

complete_intent ~488

Mark the active intent completed and clear it. Call after a successful git commit, passing commitSha so code blocks are captured. status: committed (default, local commit) | pushed | done | abandoned. You MUST inspect the response: - success === true — done. If committedDecisionCount > 0, say N decisions were recorded; do NOT list them. If apiSyncDeferred, say the sync was deferred and will replay. If collisions is non-empty, relay it as an advisory coordination heads-up (collisions[].label + files) — the completion still succeeded. If deferredConflicts is non-empty, the completion ALSO succeeded; say "N decision(s) need a disposition in the Kawa Code panel" and do NOT re-run this tool. - success === false && reason === "transient-failure" — the intent stays active and nothing was lost. Report failedStage plus the error; retry once the cause clears, or abandon if it persists. Autonomous sessions: deferredConflicts is not a blocking state — log and continue.

NameTypeReqDescription
commitShastring–The git commit SHA to associate with this intent (if already committed)
humanApprovedboolean–Set to true ONLY when the human has explicitly confirmed closing an intent created by ANOTHER team member. Required for that cross-author case; ignored for your own intents. NEVER set this on your ow…
intentIdstring–Target intent to complete/abandon. When omitted, completes THIS session's current intent. When provided, targets that specific intent directly — this is how you force-close an intent that is not your…
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root
statusstring–The new status for the intent. Use "committed" after git commit, "done" when work is complete, "abandoned" to discard, "superseded" when another intent replaces this one.
supersededBystring–Intent ID that supersedes this one. Required when status is "superseded".

No output schema declared.

No examples provided.

create_and_activate_intent ~327

Create a new intent from the user's request and mark it as active for THIS session. Call this when check_active_intent returns no active intent for your session. Before calling: 1. Summarize what the user is asking for 2. Ask the user to confirm the intent details (title, description, type) 3. Then call this tool with the confirmed details This ensures all AI-generated code gets properly tracked and attributed. Multi-active model: many intents can be active on a repo at once (one per session/teammate). Creating + activating one only sets YOUR session's current focus — it never blocks or displaces another session's active intent, so there is no lock conflict to resolve. If the tool returns conflicts (action="conflict"), it found an existing team-member intent that overlaps semantically or in files. Present the conflict details to the user and ask whether to proceed. If yes, retry with force=true to bypass conflict detection.

NameTypeReqDescription
constraintsarray–Requirements or constraints for this work
descriptionstringyesWhat this intent accomplishes
forceboolean–Bypass conflict detection. Set to true after the user has reviewed detected conflicts and chosen to proceed anyway.
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root
templateTypestring–Type of work
titlestringyesShort, descriptive title for the intent

No output schema declared.

No examples provided.

detect_intent_conflicts ~222

Find intents from other team members that potentially conflict with the active intent. When to use: - Before committing, to surface overlapping team work so the user can coordinate before merging. Inputs of note: - `intentId`: the active intent to check against. - `minScore` (optional): minimum match score to include in results. Returns scored conflict candidates with: - `score`: how strongly the candidate matches (higher = more likely conflict). - `overlappingFiles`: files affected by both intents. - `decisions`: decisions attached to the conflicting intent. - `author`: who is working on the conflicting intent. The list is informational — review candidates and their decisions to decide whether coordination is needed.

NameTypeReqDescription
intentIdstringyesThe active intent ID
minScorenumber–Minimum similarity score threshold (default: 0.5)
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

edit_session_decision ~215

Edit or delete a decision in the current session. Use this when reviewing decisions before commit: - action: "update" - Modify the decision fields - action: "delete" - Remove the decision entirely Only ephemeral (in-flight) session decisions are editable. Once a decision is synced to Kawa Code, it is immutable — refine it instead by recording a new decision with `supersedes: [<id>]`. This allows users to curate their decision history before it's persisted.

NameTypeReqDescription
actionstringyesAction to perform: update modifies the decision, delete removes it
decisionIdstringyesThe decision ID to edit or delete
intentIdstringyesThe intent ID the decision belongs to
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root
updatesobject–Partial fields to update (only for action=update)

No output schema declared.

No examples provided.

get_decision_detail ~350

Expand one decision to its full detail. Recall surfaces (get_relevant_context, get_project_decisions, get_session_decisions) return decisions summary-only to keep context lean. Use this to pull the full reasoning for a single decision you want to open — pay for detail only where you ask for it. Inputs: - `decisionId`: the decision to expand (the `id` / `decisionId` from a recall result). Returns the decision's `rationale`, `context`, `consequences`, `alternatives`, `symptom`, `appliesWhen`, `surface`, and related metadata. `found: false` when the id is unknown in this repo. References come pre-resolved, so describe them by name and never by ID alone: - `supersededDecisions` — the supersession chain, nearest first. Each carries `summary` and a `depth` (1 = directly superseded by this decision, 2 = what *that* one superseded). Use `depth` to render the chain correctly: with two entries at depth 1 this decision replaced both, whereas depth 1 then 2 is a lineage. `supersededOlderCount` > 0 means older ancestors exist beyond the cap — say "+N older". - `intents` — the intent(s) that produced this decision, with titles.

NameTypeReqDescription
decisionIdstringyesThe decision ID to expand (from a recall result, e.g. get_relevant_context)
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

get_intents_for_file ~166

Intents with code blocks in a file, so you can see in-progress work and team conflicts before editing. Pass startLine + endLine to narrow to a range; the result then reports the exact overlap and warns when it hits a teammate's active intent.

NameTypeReqDescription
endLinenumber–End line (1-based, inclusive). Provide with startLine to narrow to a range.
filePathstringyesPath to the file (relative to repo root)
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root
startLinenumber–Start line (1-based). Provide with endLine to narrow to a range.

No output schema declared.

No examples provided.

get_project_decisions ~223

Get all decisions recorded for a project across all intents. Use this to review the project's decision history: - See what architectural decisions have been made - Understand past trade-offs and their rationale - Find decisions affecting specific files - Review constraint violations that were avoided Returns: - decisions: Array of decisions with their intent context - count: Total number of decisions Each decision includes (summary-only, to keep context lean — call get_decision_detail(decisionId) for full rationale/context/consequences/alternatives): - intentIds: The intents this decision belongs to (array — a decision can span multiple intents) - type: fork, abandoned, discovery, constraint, tradeoff, or dependency - summary: Brief description of the decision - relatedFiles: Files affected by this decision - constraintViolations: Options that were rejected due to constraints

NameTypeReqDescription
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

get_relevant_context ~396

Find past intents and decisions relevant to the current user request. When to use: - After you have done a quick initial exploration of the user's request and know which files are involved. Calling earlier with only a vague prompt gives weak results. - To pull task-specific context instead of dumping all recent activity — preferred for large projects. Inputs of note: - `prompt`: the user request, in their words or your paraphrase. - `activeFiles` (recommended): files you have identified as relevant to the request. Significantly improves relevance. - `maxIntents`, `maxDecisions`, `minRelevance`: result-shaping caps and threshold. Returns: - `relevantIntents`: past work units (intents) related to the task, scored by relevance. - `relevantDecisions`: prior decisions related to the task — both intent-scoped and repo-scoped. Summary-only (no inline rationale, to keep context lean); call `get_decision_detail(decisionId)` for the full rationale/context/consequences of any decision you want to open. Recommended sequence: 1. `check_active_intent` at session start to resume any existing work. 2. Briefly explore the user's request to identify involved files. 3. `get_relevant_context` with the prompt and `activeFiles` to inform the approach.

NameTypeReqDescription
activeFilesarray–Files currently being discussed or recently opened
maxDecisionsnumber–Maximum number of decisions to return
maxIntentsnumber–Maximum number of intents to return
minRelevancenumber–Minimum relevance score (0-1)
promptstringyesThe user request to find relevant context for
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

get_resolution_context ~403

Resolve a live code collision with a peer BEFORE you write (Layer C resolution handoff). Call this when the Stop hook's collision report (or complete_intent's resolution_required gate) surfaced a live peer (a teammate or AI agent editing the same lines). Pass that collision's uid as peerUid and its overlapping ranges. You get back: - peerSnippet — the peer's actual (decrypted) code at the overlapping lines, so you can see what they wrote. - decisions — recorded reasoning attached to this file (region context). - guardrail — the policy you must follow when resolving: • Never overwrite a peer's COMMITTED work — yield or merge. Only override an uncommitted live diff, and only with a recorded rationale. • Your resolution is an ordinary git edit (revert/diff is the undo) — stay in your own working tree; build no bespoke undo. • Before completing, record_decision(type=fork|tradeoff, …) explaining how you resolved (and supersedes the peer's decision if you overrode it). • Choose or synthesize ONE coherent result — never blindly interleave both diffs. This is advisory and proactive (no lock). Use it to adapt your edit and avoid the conflict.

NameTypeReqDescription
filePathstringyesPath to the file being edited (relative to repoPath)
intentIdstring–Active intent ID (advisory). Auto-detected by Kawa Code when omitted.
peerUidstringyesThe peer HAI whose live edits overlap — the `uid` of a collision from the Stop hook collision report.
rangesarrayyesOverlapping [start, end] line ranges (from the collision) to fetch the peer code for.
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

get_session_decisions ~157

Get all decisions recorded in the current session for an intent. Use this before committing to review what decisions were captured during development. Decisions are presented for user review and can be edited or removed before being persisted. Returns: - intentId: The intent these decisions belong to - decisions: Array of decision points (summary-only — call get_decision_detail(decisionId) for full rationale/context/consequences/alternatives) - count: Number of decisions recorded

NameTypeReqDescription
intentIdstringyesThe intent ID to get decisions for
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

infer_history ~602

One-time-ish bootstrap: mine a repo's git history into intents and decisions. Rare — use it to seed a repo that has no recorded history yet, or to extend coverage after many new commits. NOT part of the per-turn workflow. Costs real money and time, so it is a two-step call: run with estimateOnly (the default) to preview tokens/cost, show the user, then re-call with estimateOnly: false only if they agree. The run is asynchronous and reports progress in the Kawa Code app; it resumes automatically if interrupted. Re-run guard — do not defeat this casually. If the repo already has intents and the run cannot cleanly resume, or HEAD is not on the default branch, the call STOPS and returns needsDecision rather than running, because re-running blind risks duplicate intents. Show the user the reason and only re-call with force: true if they confirm. Prefer running on main/master. Omit commits to resume from the last run. See the README for the full parameter list.

NameTypeReqDescription
allowCommitSplittingboolean–Allow splitting a single commit into multiple stories when it contains unrelated changes (recommended for repos with messy commit history)
commitRangestring–Optional git revspec to process a specific commit range instead of the N most recent (e.g. "sha1..sha2", "branch1..branch2", "sha1^!" for a single commit). Useful for recovering from dropped batches…
commitsnumber–Number of recent commits to analyze. If omitted, the server resumes from the last commit infer_history processed for this repo (or falls back to 50 on first run). Mutually exclusive with `commitRange…
contextIssuesboolean–Include context issues from commit date range (requires gh/glab CLI)
estimateOnlyboolean–If true (default), only estimate token cost without running the pipeline. Set to false to run the full pipeline.
forceboolean–Override the re-run guard. When the repo already has intents and infer_history cannot cleanly resume (missing/unreachable cursor), or when HEAD is not on the default branch, the run is stopped and a…
maxStoriesnumber–Maximum number of stories to analyze in this run (0 = unlimited).
modelstring–Model slug used for the token/cost estimate only. It does NOT select the model the run uses — that is configured in the Kawa Code app.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

list_team_intents ~250

List intents from team members for this repository. Use this to: - See what your team is working on - Check for potential overlapping work before starting a new task - Review the status of various features/refactors in progress Filtering (status, author, date range) and pagination are applied server-side across the full result set (default: 50 per page; use limit/offset to page). `count` is the total number of matching intents, not just the returned page.

NameTypeReqDescription
authorstring–Filter by author name or ID
limitnumber–Maximum number of intents to return (default: 50)
offsetnumber–Number of intents to skip for pagination (default: 0)
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root
sincestring–Filter intents updated after this ISO8601 date (e.g. "2026-04-01")
statusstring–Filter by intent status.
untilstring–Filter intents updated before this ISO8601 date

No output schema declared.

No examples provided.

log_work ~135

DEPRECATED — trivial changes (typos, one-line fixes, obvious bugs, doc updates, config changes) should skip the intent workflow entirely: just make the change and commit, no intent needed. Do not call this tool. Kept available for backwards compatibility only and will be removed in a future release.

NameTypeReqDescription
filesarray–File paths modified (relative to repo root)
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to repository root
titlestringyesShort description of the work done

No output schema declared.

No examples provided.

record_decision ~984

Silently record a decision point during development. Call this tool when you: - Choose between multiple alternatives (type: fork) - Try an approach that fails or is rejected (type: abandoned) - Find unexpected behavior or limitations (type: discovery) - Identify a hard constraint that must be respected (type: constraint) - Make an explicit trade-off between competing concerns (type: tradeoff) - Select an external library or dependency (type: dependency) Decisions can be **intent-scoped** (tied to a specific work unit) or **repo-scoped** (general knowledge like discoveries and constraints). Omit intentId for repo-scoped decisions. Decisions are accumulated silently during the session and presented for review before commit. This creates a "reasoning changelog" that captures not just what was done, but why. IMPORTANT: Include constraintViolations when alternatives are rejected due to architectural constraints.

NameTypeReqDescription
alternativesarray–Other options that were considered
appliesWhenstring–Trigger condition / "How to apply" — populate ONLY when the decision is plainly conditional (e.g. "language is Go", "when running in production", "when working in module X", "when the error is ECONNR…
confidencestring–Self-rated confidence in the decision. Meaningful only for extractor and infer_history sources — leave null for deliberate recordings.
consequencesstring–Downstream implications of this decision
constraintViolationsarray–Alternatives that were rejected due to constraint violations
constraintsCheckedarray–Which architectural constraints were verified before this decision
contextstring–What we were trying to accomplish when this decision was made
intentIdstring–The intent ID this decision belongs to. Omit for repo-scoped decisions (discoveries, constraints) not tied to a specific work unit
rationalestringyesWhy this decision was made
relatedFilesarray–File paths affected by this decision
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root (enables offline sync)
resolvedCollisionobject–Layer C audit — set ONLY when this decision records how you resolved a completion-time code collision (i.e. after complete_intent returned resolution_required). Links the decision to the live peer yo…
sourcestring–Provenance: user (human-recorded), agent (AI deliberately recorded via this tool — the default), extractor (from thought-chain extraction), infer_history (from commit-history extraction). Most caller…
sourceThoughtIdsarray–Thought-chain entry IDs this record was extracted from. Only set by the extractor path.
summarystringyesBrief summary of the decision (< 100 chars recommended)
supersedesarray–Decision IDs that this one replaces. When a later decision supersedes an earlier one, pass the earlier decisionId(s) here so the evolve pipeline can track the lineage. Pass FULL decision IDs (36-char…
surfacearray–Which ceremony(ies) this decision should be surfaced at, controlling when it interrupts future work. Values: "pre-edit" (per-edit block via pre_edit_decision_check — for correctness/security constrai…
symptomstring–Observable symptom that indicates this decision is relevant (e.g., error messages, runtime panics, unexpected behavior). Useful for discovery and constraint decisions.
typestringyesType of decision: fork (chose between alternatives), abandoned (tried and rejected), discovery (found unexpected behavior), constraint (identified hard requirement), tradeoff (made explicit trade-off…

No output schema declared.

No examples provided.

resume_intent ~304

Resume an existing intent by ID in one call — activate it AND load its recorded decisions. Use this to pick up a handoff. When a prompt says "follow up on intent <id>" (or you otherwise want to continue a specific existing intent), call resume_intent(<id>) instead of creating a new one. It: - activates the intent as THIS session's current focus (multi-active — never displaces a teammate's active intent), and - returns the intent's title/description/status plus its recorded decisions (summary-only; call get_decision_detail(id) for full rationale on any one). This is the fast path for cross-developer handoff without a session or transcript export: the reasoning lives in Kawa Code, so a teammate resumes the thread from just the intent id. For the code itself, the intent's owner should have committed or pushed first (a prompt carries reasoning, not an uncommitted working tree). Returns { resumed, intentId, intent?, decisions[], count, message }. resumed=false with a message when the id can't be activated.

NameTypeReqDescription
intentIdstringyesThe cloud ID (preferred) or local UUID of the intent to resume — e.g. the id from a "follow up on intent <id>" handoff.
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root

No output schema declared.

No examples provided.

update_intent ~221

Update an active intent's title, description, scope, or constraints. Use this to reformulate an intent as understanding evolves during work. Intents are living documents — they should be updated to reflect what the work actually became, not left as the initial guess. Common triggers for reformulation: - The real problem turned out to be different from the initial hypothesis - Scope expanded or narrowed during investigation - The approach changed after discovering constraints If no intentId is provided, the currently active intent is updated.

NameTypeReqDescription
constraintsarray–Updated constraints for this work
descriptionstring–Updated description for the intent
intentIdstring–ID of the intent to update. If omitted, updates the currently active intent.
repoOriginstring–Git remote origin URL. Auto-detected from repoPath via git if not provided.
repoPathstringyesLocal path to the repository root
scopeobject–Updated scope for the intent
titlestring–Updated title for the intent

No output schema declared.

No examples provided.

Common questions

What is the Kawa Code MCP server?

Kawa Code is an MCP server listed in the public MCP registry as ai.kawacode/mcp. Team-aware memory: intent, decisions, real-time conflicts for AI coding assistants. This page covers its npm package (@kawacode/mcp).

Is the Kawa Code MCP server safe to use?

Kawa Code scores 80 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the Kawa Code MCP server expose?

Kawa Code exposes 20 tools: get_relevant_context, check_active_intent, create_and_activate_intent, activate_intent, resume_intent, and 15 more. Their descriptions and schemas cost roughly 6,416 tokens of context every time the server is loaded.

Is the Kawa Code MCP server still maintained?

Kawa Code is still listed as active in the MCP registry. We last reached this channel on 24 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.