KrakenMCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Kraken delegates work to other headless coding agents. Each action is a "tentacle"; you are the head
(the agent the developer talks to) that sends work to them.
Runs are asynchronous: every start tool returns a run_id at once. Then call status the way its next says
(run_id, wait_seconds, since: 0), and on each later call pass the cursor it returned as since. Do not poll faster.
Cards: every start tool, resume and status reply carries "card", a small bordered box. Show it to the developer
as-is in a code block when you call a tentacle, and when a run or chain ends, pauses or asks a question.
While it runs, follow the status reply's next: when it says the developer sees live progress (a status line
under the pending call that updates in place), write nothing at all between status calls; otherwise show the
card with the new feed lines under it in the same code block, one per line, nothing added.
Never redraw, shorten or reword a card; add at most one short line of your own.
After every finished run or chain, follow its next:
"ask: …" show the result, suggest exactly that step, then stop and wait for the developer.
"auto: …" the developer allowed this step without asking (the tentacle's autonomy is auto): take it.
"stop: …" report to the developer and wait.
Usual order (not a script): discuss the feature with the developer yourself; you are the one who advises them. think only for hard logic (multi-system changes, state/timing/concurrency/networking/persistence, correctness arguments, or after a failed attempt), never for simple edits: it is slow and expensive; relay its recommendation in your own words and ask its open questions. Then plan(task + the developer's answers, context_runs: [think run_id]), execute(plan_id) (on branch kraken/<run_id> in a separate worktree), review(run_id) (VERDICT: approve | changes_requested), then merge. To fix things on the same branch use resume(run_id, instruction). merge(run_id) returns a preview. Show it to the developer and call merge(run_id, confirm) only after they explicitly approve. If merge reports auto: true it already landed (the review tentacle's autonomy is auto); tell the developer. discard(run_id) throws the work away: only with the developer's approval, always. If merge reports conflicts (or its preview predicts them), call update(run_id): it merges the current branch into the run's branch and, on conflicts, resumes the agent to resolve them.
Chains: chain(task, verify?) runs the developer's configured stage list (default: plan -> execute -> review, with fix rounds), pausing after each stage whose autonomy is ask; chain(name: …) runs another (tentacles() lists them). A chain that is "waiting" with a pause continues with resume(chain_id, their reply); one waiting on a question is answered through its stage run.
Session override: if the developer explicitly tells you to work in auto for this session, treat every "ask:" next as "auto:" until they say otherwise. It never covers questions, "stop:", verify_failed, discard or merge blockers: confirm a merge only when auto_merge_blocked_by is empty.
If status is "waiting", the agent asked a question only the developer can answer: ask them, then call resume(run_id, their reply). A run stopped as "over_budget" hit its max_cost_usd / max_tokens. Failures stop you: if a tool returns an error, or a run ends as "failed", "timeout" or "over_budget", do not retry it and do not switch agent, model or effort on your own. Report the error to the developer immediately and ask how to proceed. A "verify_failed" run keeps its commit; report the verify output. Use explain(area) instead of reading many files yourself. For questions that need current information from the web (APIs, versions, library choices), call run(tentacle: "research", input: question) instead of answering from memory. When a think, plan, review, explain or research run finishes, give the developer its result_file path so they can read the full text (or tell them: krakenmcp show <run_id>). Settings are the developer's: tentacle files in ~/.kraken/tentacles/ and chain files in ~/.kraken/chains/.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| thinkB | Escalate a hard reasoning problem to a stronger model (read-only). Returns analysis, options, a recommendation and open questions. |
| planC | Write a file-by-file implementation plan (read-only). |
| executeB | Implement a finished plan on branch kraken/<run_id> in a separate worktree. |
| reviewA | Review a run's branch (with its plan), or uncommitted changes when run_id is omitted. Starts with VERDICT: approve | changes_requested. |
| explainC | One-page map of how part of the codebase works (read-only). |
| runC | Run any tentacle by name, including custom ones. |
| chainA | Run a chain of tentacle stages (default: plan -> execute -> review, with fix rounds). Each stage's autonomy decides whether it continues or waits for the developer. Returns a chain_id for status, resume and cancel. |
| statusA | A run's or chain's status, progress, metrics and result. Blocks up to wait_seconds while it is in progress (sends progress notifications when the client asks for them). |
| resumeA | Continue a run in its own agent session and branch, as a new run id. On a "waiting" run, input is the developer's answer to its question; on a finished run, a follow-up instruction; on a paused chain, the developer's reply (the chain continues). |
| cancelC | Stop a queued or running run, or a chain. |
| updateB | Merge the current branch into a run's branch (when it is behind or merge conflicts). On conflicts the run's agent resolves them as a new run, unless resolve is false. |
| mergeA | Without confirm: a preview and confirm_token. With confirm: merge the run's branch into the current branch and clean up. Only confirm after the developer approves the preview. |
| discardA | Delete a run's branch and worktree (cannot be undone; ask the developer first). |
| sessionA | A session at a glance: what needs attention (running, waiting, ready to merge), recent runs and chains, and totals per tentacle/agent/model (outcomes, tokens, cost, duration, tool calls). |
| tentaclesC | Tentacles in this repo with resolved settings and where each comes from; installed agents and the tentacles that need them; chains; limits. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
The core lifecycle tools (run, chain, status, resume, cancel, update, merge, discard) have distinct roles, but generic run overlaps with the dedicated explain/plan/execute/review/think shortcuts because it can invoke any tentacle. update vs merge and status vs session are also close enough to need careful reading, though the descriptions clarify direction and scope.
All names are lowercase single words, giving a consistent CLI-like style. However, the set mixes imperative verbs (run, resume, merge, discard) with nouns or state queries (status, session, tentacles), so it is not a strict verb_noun convention.
Fifteen tools is within the reasonable range for a workflow orchestrator covering planning, execution, review, monitoring, and git lifecycle. The dedicated tentacle shortcuts add convenience but slightly duplicate what the generic run tool could do, making the set a bit redundant at the upper bound.
Core run and chain lifecycle is well covered: plan, execute, review, status, resume, cancel, update, merge, discard, plus session and tentacle listing. Gaps remain around full run listing/search (session only shows recent), deeper log/diff inspection beyond status and review, and creating or editing custom tentacles or chains.