KrakenMCP
Summary: KrakenMCP is an MCP server that lets your coding agent hand tasks off to other headless coding agents ("tentacles"), so planning, coding, review, and research happen outside your chat and only short summaries come back.
Read-only tentacles:
think(second opinion/options),plan(file-by-file plan),review(approve or request changes),explain(codebase map).Write tentacles:
executeimplements a finished plan on branchkraken/<run_id>in a separate worktree, optionally running averifycommand.Custom tentacles:
runinvokes any tentacle by name, including ones you define in~/.kraken/tentacles/.Chains:
chainruns staged workflows (default plan → execute → review) with per-stage autonomy,overrides, andmax_fix_rounds.Per-call control: pick
agent(OpenCode, Claude Code, Codex, Cursor, Aider),model,effort,cwd, group runs under asession, and pass up to 5 finishedcontext_runs.Monitor:
status(blocking wait up to 55s, progress cursor, full result),session(what needs attention, recent runs, token/cost totals),tentacles(resolved settings, installed agents, chains, limits).Steer:
resume(answer a waiting run's question or send a follow-up; continue a paused chain) andcancel.Git lifecycle:
update(merge current branch into the run's branch, auto-resolving conflicts),merge(preview + confirm token, then merge and clean up),discard(delete branch and worktree).
Integrates with OpenAI Codex as a headless coding agent, allowing delegated tasks to run on GPT models; Codex support is listed as untested.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@KrakenMCP delegate a plan for dark mode to Opus, then execute and review it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
KrakenMCP
Get more out of every AI subscription you pay for.
KrakenMCP lets your coding agent hand work off to other headless coding agents.
What: an MCP server that lets your agent delegate tasks to the other coding agents on your machine.
Why: save usage and context: spread the work efficiently across all your agent subscriptions, outside your chat.
How: your agent coordinates the session over MCP, and Kraken runs the other agents in headless mode for each task.
You keep talking to one agent, the "head", for example OpenCode running DeepSeek Flash. When a task needs planning, coding, a review or research, the head gives it to a "tentacle": another agent CLI that Kraken starts with the model you chose for that job, for example Claude Code running Opus. A strong model can plan and review while a cheap one writes the code. Only short summaries come back, so your chat stays small. Code is written on its own git branch, and nothing reaches your checkout until you approve the merge.
you <-> head: OpenCode + DeepSeek Flash
| MCP
v
KrakenMCP --> tentacle runs headless on, for example
think, plan Claude Code + Opus (read-only)
review Codex + GPT (read-only)
execute OpenCode + a cheap model (own git branch)
research Claude Code + Sonnet (web, cites sources)
your own Cursor, Aider, ...The head
The head is any coding agent on your machine that has Kraken connected as an MCP server: OpenCode, Claude Code, Codex, Cursor or any other MCP client. It's the one you chat with; it decides what to hand off and brings the results back to you. Use a cheap, fast model here and let the tentacles do the heavy work. To connect one, see Install.
Related MCP server: Roundtable AI MCP Server
Tentacles
Out of the box:
Tentacle | Does | Runs on (default) |
| Second opinion on a hard problem: options and a recommendation | Claude Code + Opus |
| Implementation plan, file by file | Claude Code + Opus |
| Writes the code on its own git branch | OpenCode |
| Reviews the change: approve or request changes | Claude Code + Opus |
| One-page map of part of the codebase | OpenCode |
| Searches the web, cites sources | Claude Code + Sonnet |
Long plans run in stages. A plan with ## Stage 1, ## Stage 2, … headings (the format the
plan tentacle writes) runs one fresh agent session per stage and commits after each, so the cheap
model's context stays small and a stop loses at most one stage. Keep plans in your repo? Run them
directly with execute(plan_file: "docs/plan.md", section: "Part a"), no plan run needed.
Details: Staged runs.
Add your own with krakenmcp edit <name>: it creates ~/.kraken/tentacles/<name>.md, a short
settings header and a prompt, and the head can use it right away:
---
description: Audit dependencies for known problems
access: read
agent: claude
model: sonnet
---
You are the AUDITOR. Check the dependencies of this repository: {{task}}
List each problem as "[severity] package - problem - fix".Supported agents: Claude Code, OpenCode, Codex (untested), Cursor CLI (untested), Aider (untested).
Chains
A chain runs a list of tentacle stages by itself: chain(task). The built-in default chain is
plan → execute → review. After each stage whose autonomy is ask the chain pauses and the head asks
you whether to go on, so on a fresh install it pauses after plan and after execute. When a review
requests changes or verify fails, the chain sends the work back to the agent ("fix rounds") without
pausing, up to max_fix_rounds (default 1; 0 turns them off).
Write your own in ~/.kraken/chains/<name>.md:
---
description: Plan and implement on my own, then let me look before the review
stages: [{"tentacle": "plan", "autonomy": "auto"}, {"tentacle": "execute"}, {"tentacle": "review"}]
max_fix_rounds: 2
---krakenmcp chain list # every chain, its stages and their autonomy
krakenmcp chain edit <name> # open your file for it (created if missing), then check it
krakenmcp chain remove <name> # delete your file; a built-in goes back to its defaultsInstall
You need Node.js 22.13+, git, and at least one supported agent CLI, installed and logged in.
npm install -g github:gateniomer/krakenmcp
krakenmcp doctor # optional: check which agents Kraken findsThe same command installs and updates Kraken: it installs straight from GitHub and adds the
krakenmcp command, and running it again fetches the latest main. A global install can run
krakenmcp update instead. Restart your MCP client afterwards, since the server starts with the
client.
Then connect it to your head. For OpenCode, add this to ~/.config/opencode/opencode.json:
{ "mcp": { "kraken": { "type": "local", "command": ["krakenmcp"], "enabled": true } } }For Claude Code: claude mcp add kraken -- krakenmcp. Other clients:
docs/reference.md.
Use it
Just ask the head. It knows when and how to use Kraken:
you: Add a dark mode toggle to the settings page.
head: → plan("add a dark mode toggle") runs on Claude Code + Opus
← a plan: theme setting, toggle, CSS variables
head: Plan ready: theme setting, toggle, CSS variables. Execute it?
you: Yes.
head: → execute(plan) runs on OpenCode, on branch kraken/execute_7f3a
← done, tests pass
head: Done: 3 files changed, tests pass. Review it?
you: Yes.
head: → review(run) runs on Claude Code + Opus
← approve
head: Approved. Merge it?
you: Yes.
head: → merge(run)
head: Merged into main.→ is a tool call the head makes, ← is what comes back. Each call, each progress update and each
result also shows up as a small card:
╭─ 🦑 execute › opencode deepseek-v4.1-flash ────── ● running ─╮
│ run execute_7f3a │
│ time 1m 12s · $0.04 · 9 tools │
│ now using edit │
╰──────────────────────────────────────────────────────────────╯ The head stops after each step because
every tentacle's autonomy is ask by default. Set autonomy: auto on a tentacle to let the head take
the next step by itself, or tell the head "work in auto this session".
To read what an agent wrote in full:
krakenmcp show # the newest result (a plan, a review, research)
krakenmcp show <run_id> --log # the agent's raw outputConfigure tentacles
Your tentacle files live in ~/.kraken/tentacles/.
krakenmcp list # every tentacle, its settings, and where each value came from
krakenmcp edit <name> # open your file for it (created with the current values), then check it
krakenmcp remove <name> # delete your file; a built-in goes back to its defaultsChange a built-in: write only what you want to change. For example
~/.kraken/tentacles/execute.md, to run your tests after every code change:
---
verify: npm test
---All fields are in docs/reference.md.
Autonomy
Every tentacle has autonomy: ask | auto (default ask). It decides what happens after the
tentacle finishes successfully:
ask: the head shows the result, suggests one next step, and waits for you.auto: the head (or a chain) takes that step without asking.
Merging is the step after review, so the review tentacle's autonomy decides it. With
autonomy: auto in ~/.kraken/tentacles/review.md, an approved branch merges at once, but only
when verify passed (a command from your files, not one the head passed in the call), nothing
conflicts and nothing is uncommitted. Anything less shows the preview and waits.
Some things always stop, whatever the autonomy: a question for you, a failed, timed-out or
over-budget run, a failed verify, and discard. "Work in auto this session" only changes how
the head behaves until you say otherwise; nothing is stored, and it never gets past these stops or
the merge checks.
Other settings
krakenmcp limit 3 # how many runs may work at once
krakenmcp poll 25 # seconds each status check waits; longer = fewer tool calls in the chat
krakenmcp wait <run_id> # block until a run or chain needs attention (heads run it in the background)
krakenmcp prune # delete old logs and resultsSecurity
Code-writing agents auto-approve their own edits inside their worktree, verify runs shell
commands, and merge changes your checkout. Read SECURITY.md before using Kraken
on code you care about.
More
docs/reference.md: every tool, field, CLI command and agent adapter
CONTRIBUTING.md: code layout, tests, how to add an agent
npm install && npm test # development: unit + end-to-end tests (no tokens, about 2 minutes)Runs on macOS and Linux. Runs, messages and results live in a local SQLite database in
~/.kraken, so work survives restarts and Kraken itself sends nothing anywhere.
License
Available Tools
15 toolscancelC
Stop a queued or running run, or a chain.
Inputs: run_id (required).
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.
Inputs: task (required), cwd, name, verify, +4 more.
discardA
Delete a run's branch and worktree (cannot be undone; ask the developer first).
Inputs: run_id (required).
executeB
Implement a finished plan on branch kraken/<run_id> in a separate worktree.
Inputs: plan_id (required), agent, model, effort, +2 more.
explainC
One-page map of how part of the codebase works (read-only).
Inputs: area (required), cwd, agent, model, +2 more.
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.
Inputs: run_id (required), confirm.
planC
Write a file-by-file implementation plan (read-only).
Inputs: task (required), cwd, agent, model, +3 more.
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).
Inputs: input (required), run_id (required).
reviewA
Review a run's branch (with its plan), or uncommitted changes when run_id is omitted. Starts with VERDICT: approve | changes_requested.
Inputs: cwd, agent, focus, model, +4 more.
runC
Run any tentacle by name, including custom ones.
Inputs: tentacle (required), cwd, agent, input, +5 more.
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).
Inputs: session.
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).
Inputs: run_id (required), full, since, wait_seconds.
tentaclesC
Tentacles in this repo with resolved settings and where each comes from; installed agents and the tentacles that need them; chains; limits.
Inputs: cwd, check_agents, show_prompts.
thinkB
Escalate a hard reasoning problem to a stronger model (read-only). Returns analysis, options, a recommendation and open questions.
Inputs: problem (required), cwd, agent, model, +3 more.
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.
Inputs: run_id (required), resolve.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
Multiplayer for the coding agents your team already uses: shared tasks, decisions, skills and tools.
One shared project for a team's coding agents: decisions, a task board and handoffs.
Command center for developers coordinating AI coding agents across projects.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to delegate specific tasks to specialized sub-agents (e.g., test-writer, code-reviewer). Supports both Cursor and Claude Code with custom agent definitions.1127 npm97MIT
- FlicenseNot gradedqualityAmaintenanceEnables a primary coding assistant to delegate tasks in parallel to specialized local sub-agents, sharing project context and synthesizing their responses into a single result.-
- FlicenseNot gradedqualityAmaintenanceEnables a primary AI assistant to delegate tasks to specialized local AI sub-agents in parallel, share project context, and synthesize their responses from within an IDE.-
- FlicenseNot gradedqualityAmaintenanceEnables a primary AI assistant to delegate tasks to multiple specialized coding sub-agents, run them in parallel with shared project context, and synthesize their responses from within the IDE.-