powerplan
v0.11.0MCP server that makes PLAN.md the operational backbone of agentic development
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_current_iteration
JSON for the *current* iteration (what to work on now). Preferred agent entry — avoids reading all of PLAN.md.
| Parameter | Type | Description |
|---|---|---|
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
get_iteration
JSON for one iteration by version (goal, tasks, progress).
| Parameter | Type | Description |
|---|---|---|
version * | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
list_iterations
List iterations filtered by open | complete | all.
| Parameter | Type | Description |
|---|---|---|
filter | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
find_task
Locate tasks by substring match (JSON).
| Parameter | Type | Description |
|---|---|---|
text * | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
get_backlog
Backlog section items (JSON).
| Parameter | Type | Description |
|---|---|---|
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
show_miniplan
Raw PLAN.md snippet: the current (or named) iteration byte-for-byte under its major header, with the neighbouring iterations collapsed to their header lines. The plan's own format is the view — start every session here instead of reading the whole file, and seed the turn-end miniplan report from this block (verbatim, checkboxes flipped, plus an "## Off-plan" section for items not in PLAN.md).
| Parameter | Type | Description |
|---|---|---|
after | integer | Following iterations shown as header lines only. |
before | integer | Preceding iterations shown as header lines only. |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
version | string | Iteration to show; default = the current iteration. |
show_current_iteration
Status view of the current iteration: status, progress count, goal and tasks. Paste it verbatim in a ``` code block at the end of every major turn so the user sees the plan's state at a glance.
| Parameter | Type | Description |
|---|---|---|
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
show_plan
Compact index: counts + current iteration. Agents should prefer get_current_iteration / get_iteration over this or full PLAN.md.
| Parameter | Type | Description |
|---|---|---|
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
check_plan
Structure lint: duplicates, multiple current, complete-with-open-tasks.
| Parameter | Type | Description |
|---|---|---|
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
create_plan
Bootstrap a new PLAN.md when none exists (powernote-style skeleton). Default path: ./PLAN.md in cwd. Refuses overwrite unless force=true.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
force | boolean | Overwrite existing file if true. |
goal | string | |
philosophy | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
seed_major | boolean | Include v0.1 / v0.1.0 starter shell (default true). |
create_major
Create ## vX.Y — Title major section.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
version * | string | |
description | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
create_iteration
Create ### vX.Y.Z — Title iteration.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
version * | string | |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
description | string | |
goal | string | |
major | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
status | string |
set_iteration_goal
Set/replace **Goal:** on an iteration.
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
version * | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
add_task
Append a checkbox task to an iteration.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
version * | string | |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
done | boolean | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
add_tasks
Append several checkbox tasks in one write. Prefer this over repeated add_task. Shared done/agent apply to every item.
| Parameter | Type | Description |
|---|---|---|
tasks * | array | Task texts to append, in order. |
version * | string | |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
done | boolean | Mark every added task done (default false). |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
complete_task
Tick one or many tasks in one write. For several, pass indexes (preferred after get_iteration) or tasks. For exactly one, index or task still work.
| Parameter | Type | Description |
|---|---|---|
version * | string | |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
expect | string | Optional guard for a single task: current text must match or the edit is refused. Ignored/rejected with tasks/indexes. Agent tags are ignored in the comparison. |
index | integer | One 1-based position. One addressing mode. |
indexes | array | Several 1-based positions. Prefer this after get_iteration. One write. One addressing mode. |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
task | string | One task (exact, else unique substring). One addressing mode. |
tasks | array | Several task texts (exact, else unique substring). One write. One addressing mode. |
reopen_task
Untick one or many tasks in one write. For several, pass indexes or tasks. For exactly one, index or task still work.
| Parameter | Type | Description |
|---|---|---|
version * | string | |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
expect | string | Optional guard for a single task: current text must match or the edit is refused. Ignored/rejected with tasks/indexes. Agent tags are ignored in the comparison. |
index | integer | One 1-based position. One addressing mode. |
indexes | array | Several 1-based positions. Prefer this after get_iteration. One write. One addressing mode. |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
task | string | One task (exact, else unique substring). One addressing mode. |
tasks | array | Several task texts (exact, else unique substring). One write. One addressing mode. |
update_task
Rewrite task text, preserving done state. One task: text + index/task. Several: changes[{text, index|task, expect?}].
| Parameter | Type | Description |
|---|---|---|
version * | string | |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
changes | array | Several rewrites in one write. Do not mix with the singular text + index/task shape. |
expect | string | Optional guard for a single task: current text must match or the edit is refused. Ignored/rejected with tasks/indexes. Agent tags are ignored in the comparison. |
index | integer | One 1-based position. One addressing mode. |
indexes | array | Several 1-based positions. Prefer this after get_iteration. One write. One addressing mode. |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
task | string | One task (exact, else unique substring). One addressing mode. |
tasks | array | Several task texts (exact, else unique substring). One write. One addressing mode. |
text | string | New text for a single task. |
remove_task
Delete one or many tasks in one write. For several, pass indexes or tasks. Resolve-all then drop (indexes do not shift).
| Parameter | Type | Description |
|---|---|---|
version * | string | |
expect | string | Optional guard for a single task: current text must match or the edit is refused. Ignored/rejected with tasks/indexes. Agent tags are ignored in the comparison. |
index | integer | One 1-based position. One addressing mode. |
indexes | array | Several 1-based positions. Prefer this after get_iteration. One write. One addressing mode. |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
task | string | One task (exact, else unique substring). One addressing mode. |
tasks | array | Several task texts (exact, else unique substring). One write. One addressing mode. |
defer_task
Move one or many tasks to the backlog in one write. For several, pass indexes or tasks. Shared reason/agent apply to every item.
| Parameter | Type | Description |
|---|---|---|
version * | string | |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
expect | string | Optional guard for a single task: current text must match or the edit is refused. Ignored/rejected with tasks/indexes. Agent tags are ignored in the comparison. |
index | integer | One 1-based position. One addressing mode. |
indexes | array | Several 1-based positions. Prefer this after get_iteration. One write. One addressing mode. |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
reason | string | Optional why, appended to the backlog entry. |
task | string | One task (exact, else unique substring). One addressing mode. |
tasks | array | Several task texts (exact, else unique substring). One write. One addressing mode. |
add_to_backlog
Append one (text) or many (texts) items to Future (Backlog) in one write.
| Parameter | Type | Description |
|---|---|---|
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
checkbox | boolean | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
text | string | One backlog item. |
texts | array | Several backlog items, in order. One write. |
append_prose
Append freeform markdown at top level.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
start_iteration
Mark iteration ACTIVE / current; clears other current markers.
| Parameter | Type | Description |
|---|---|---|
version * | string | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
close_iteration
Mark iteration COMPLETE. Requires force=true if open tasks remain. Optional stamp (e.g. date) appended to title.
| Parameter | Type | Description |
|---|---|---|
version * | string | |
force | boolean | |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
stamp | string |
apply_ops
Apply several DIFFERENT mutations in one atomic write. Prefer this for turn-end bookkeeping (tick, add, backlog, close) and for any multi-step edit: one load/normalize/write, and if any op fails NOTHING is written, so PLAN.md is never left half-updated. Ops run in order and see earlier ops' changes, so create-then-populate-then-close works in one call. Each op is {"op": "<tool name>", ...that tool's own arguments}. version is inherited by ops that address an existing iteration and omit it (resolved once, before the first op); create_major / create_iteration always need their own, and add_to_ba…
| Parameter | Type | Description |
|---|---|---|
ops * | array | Mutations to apply in order. Each item is an object with "op" plus that tool's arguments. |
agent | string | Optional agent id tag written as [agent: id] on touched lines. |
dry_run | boolean | Validate and apply in memory, report the outcome, write nothing. Raises everything a real call would. |
plan_path | string | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |
version | string | Default iteration for ops that address one and omit it. Resolved once up front; defaults to the current iteration. |