powerplan

v0.11.0
io.github.CynaCons/powerplan Checked 3 days ago Published 12 days ago

MCP 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.

ParameterTypeDescription
plan_pathstringOptional 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).

ParameterTypeDescription
version *string
plan_pathstringOptional 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.

ParameterTypeDescription
filterstring
plan_pathstringOptional 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).

ParameterTypeDescription
text *string
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.

get_backlog

Backlog section items (JSON).

ParameterTypeDescription
plan_pathstringOptional 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).

ParameterTypeDescription
afterintegerFollowing iterations shown as header lines only.
beforeintegerPreceding iterations shown as header lines only.
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
versionstringIteration 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.

ParameterTypeDescription
plan_pathstringOptional 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.

ParameterTypeDescription
plan_pathstringOptional 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.

ParameterTypeDescription
plan_pathstringOptional 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.

ParameterTypeDescription
title *string
forcebooleanOverwrite existing file if true.
goalstring
philosophystring
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
seed_majorbooleanInclude v0.1 / v0.1.0 starter shell (default true).

create_major

Create ## vX.Y — Title major section.

ParameterTypeDescription
title *string
version *string
descriptionstring
plan_pathstringOptional 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.

ParameterTypeDescription
title *string
version *string
agentstringOptional agent id tag written as [agent: id] on touched lines.
descriptionstring
goalstring
majorstring
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
statusstring

set_iteration_goal

Set/replace **Goal:** on an iteration.

ParameterTypeDescription
goal *string
version *string
plan_pathstringOptional 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.

ParameterTypeDescription
text *string
version *string
agentstringOptional agent id tag written as [agent: id] on touched lines.
doneboolean
plan_pathstringOptional 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.

ParameterTypeDescription
tasks *arrayTask texts to append, in order.
version *string
agentstringOptional agent id tag written as [agent: id] on touched lines.
donebooleanMark every added task done (default false).
plan_pathstringOptional 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.

ParameterTypeDescription
version *string
agentstringOptional agent id tag written as [agent: id] on touched lines.
expectstringOptional 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.
indexintegerOne 1-based position. One addressing mode.
indexesarraySeveral 1-based positions. Prefer this after get_iteration. One write. One addressing mode.
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
taskstringOne task (exact, else unique substring). One addressing mode.
tasksarraySeveral 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.

ParameterTypeDescription
version *string
agentstringOptional agent id tag written as [agent: id] on touched lines.
expectstringOptional 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.
indexintegerOne 1-based position. One addressing mode.
indexesarraySeveral 1-based positions. Prefer this after get_iteration. One write. One addressing mode.
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
taskstringOne task (exact, else unique substring). One addressing mode.
tasksarraySeveral 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?}].

ParameterTypeDescription
version *string
agentstringOptional agent id tag written as [agent: id] on touched lines.
changesarraySeveral rewrites in one write. Do not mix with the singular text + index/task shape.
expectstringOptional 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.
indexintegerOne 1-based position. One addressing mode.
indexesarraySeveral 1-based positions. Prefer this after get_iteration. One write. One addressing mode.
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
taskstringOne task (exact, else unique substring). One addressing mode.
tasksarraySeveral task texts (exact, else unique substring). One write. One addressing mode.
textstringNew 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).

ParameterTypeDescription
version *string
expectstringOptional 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.
indexintegerOne 1-based position. One addressing mode.
indexesarraySeveral 1-based positions. Prefer this after get_iteration. One write. One addressing mode.
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
taskstringOne task (exact, else unique substring). One addressing mode.
tasksarraySeveral 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.

ParameterTypeDescription
version *string
agentstringOptional agent id tag written as [agent: id] on touched lines.
expectstringOptional 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.
indexintegerOne 1-based position. One addressing mode.
indexesarraySeveral 1-based positions. Prefer this after get_iteration. One write. One addressing mode.
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
reasonstringOptional why, appended to the backlog entry.
taskstringOne task (exact, else unique substring). One addressing mode.
tasksarraySeveral 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.

ParameterTypeDescription
agentstringOptional agent id tag written as [agent: id] on touched lines.
checkboxboolean
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
textstringOne backlog item.
textsarraySeveral backlog items, in order. One write.

append_prose

Append freeform markdown at top level.

ParameterTypeDescription
text *string
plan_pathstringOptional 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.

ParameterTypeDescription
version *string
plan_pathstringOptional 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.

ParameterTypeDescription
version *string
forceboolean
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
stampstring

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…

ParameterTypeDescription
ops *arrayMutations to apply in order. Each item is an object with "op" plus that tool's arguments.
agentstringOptional agent id tag written as [agent: id] on touched lines.
dry_runbooleanValidate and apply in memory, report the outcome, write nothing. Raises everything a real call would.
plan_pathstringOptional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md.
versionstringDefault iteration for ops that address one and omit it. Resolved once up front; defaults to the current iteration.