Skip to main content
Glama

powerplan

PLAN.md as the operational backbone of agentic development.

powerplan is an MCP server that gives coordinators and worker agents a human-language API over your project’s PLAN.md: show progress, create iterations, complete tasks, keep the header truthful — without freeform file thrash.

mcp-name: io.github.CynaCons/powerplan

MCP server name

powerplan

PyPI

powerplan-mcp (powerplan is a different, unrelated package)

Registry

io.github.CynaCons/powerplan

Status

v0.10.0 — miniplan turn report (PLAN.md)

Site

GitHub Pages

Pairs with

PowerSpawn (optional)


Install

You need uv (provides uvx) or Python 3.10+.

uvx powerplan-mcp

That is the stdio MCP server. Point your client at it:

Claude Code / Cursor / .mcp.json

{
  "mcpServers": {
    "powerplan": {
      "command": "uvx",
      "args": ["powerplan-mcp"],
      "env": {
        "PYTHONIOENCODING": "utf-8",
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}

Claude Desktop

Same block in claude_desktop_config.json (mcpServers).

Grok (~/.grok/config.toml or project config)

[mcp_servers.powerplan]
command = "uvx"
args = ["powerplan-mcp"]
env = { PYTHONUNBUFFERED = "1", PYTHONIOENCODING = "utf-8" }
enabled = true

pip (no uv)

pip install powerplan-mcp
{
  "mcpServers": {
    "powerplan": {
      "command": "python",
      "args": ["-m", "powerplan"],
      "env": {
        "PYTHONIOENCODING": "utf-8",
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}

Related MCP server: llm-backlog

Agent guide

Prefer scoped tools. Do not read all of PLAN.md to figure out what to do.

  1. If tools fail with “no PLAN.md” → create_plan first.

  2. show_miniplan — what to work on now, in the plan's own format: the current iteration verbatim with the neighbouring headers. Start every session here.

  3. get_current_iteration — the same, as JSON.

  4. get_iteration(version) — one iteration’s tasks and progress.

  5. Mutate with add_task / add_tasks / complete_task (indexes for several) / start_iteration / close_iteration.

  6. show_plan is a human skim, not a dump.

  7. End every major turn (files changed, tasks ticked or added, a check run, an iteration closed) with a miniplan in the chat, then show_current_iteration pasted verbatim in a code block, so the user sees status and progress at a glance. The server sends this rule to every client in its MCP instructions.

A miniplan is a turn-end task report in the plan's own format, printed in the reply and never written to a file: the show_miniplan block verbatim with its checkboxes flipped, plus an ## Off-plan section for quick items the turn is tracking that are not in PLAN.md yet, each marked → plan, → backlog or → drop. Format and example: docs/MINIPLAN.md. Ships as the miniplan skill for Claude Code, Cursor, Codex and Grok (.claude/skills/, .cursor/skills/, .codex/skills/, .grok/skills/).

Every tool accepts optional plan_path (relative or absolute). Default: walk up from cwd to the nearest PLAN.md.

Optional agent on mutations writes a trailing [agent: id] tag on the touched line.


Why

Agents often edit PLAN.md by hand. Headers drift, “COMPLETE” gets stamped without proof, and multi-agent swarms step on each other. powerplan is the single writer: tolerant reader, surgical writer, optional [agent: …] tags.


Tools

Tool

Behavior

create_plan

Bootstrap ./PLAN.md (or plan_path) when missing; force to overwrite

show_miniplan

Session opener — raw PLAN.md snippet: the current (or named) iteration byte-for-byte, neighbours collapsed to header lines (before/after). Also seeds the turn-end miniplan report

get_current_iteration

Preferred for agents — scoped JSON for current work

get_iteration

JSON for one version (tasks, progress)

list_iterations / find_task / get_backlog

Navigate without full-file reads

create_major / create_iteration / add_task / add_tasks

Surgical mutations (batch add in one write)

complete_task / reopen_task / remove_task / defer_task

One or many (indexes / tasks); optional [agent: id]

start_iteration / close_iteration

ACTIVE/current vs COMPLETE lifecycle

check_plan

Structure lint

show_current_iteration

Turn closer — status view (status, progress count, goal, tasks) to paste at the end of every major turn

show_plan

Compact human skim (not a full dump)


Managed plan format

Construct

Pattern

Major

## vX.Y — Title

Iteration

### vX.Y.Z — Title

Goal

**Goal:** …

Tasks

- [ ] / - [x]

Backlog

## Backlog

Phase-like headers and other prose are preserved as opaque blocks.


From source

Clone, editable install, or PowerSpawn submodule — for contributors.

git clone https://github.com/CynaCons/powerplan.git
cd powerplan
pip install -e ".[dev]"
python -m powerplan          # same stdio server
# or: powerplan-mcp

PowerSpawn can vendor this repo as a git submodule. Register both MCP servers — they do not merge:

{
  "mcpServers": {
    "powerplan": {
      "command": "uvx",
      "args": ["powerplan-mcp"]
    },
    "powerspawn": {
      "command": "python",
      "args": ["-m", "powerspawn.mcp_server"]
    }
  }
}

Path-only (no install): python /path/to/powerplan/powerplan_server.py

Landing page: cd site && npm ci && npm run dev


Releasing (maintainers)

Full procedure, identities, and failure history: docs/RELEASING.md. Agent checklist: project skill release-powerplan (/release-powerplan).

Short path: bump every version file listed in that guide → pytest -q → tag vX.Y.Z → push the tag. .github/workflows/publish.yml uploads powerplan-mcp to PyPI, then server.json to the MCP Registry as io.github.CynaCons/powerplan.


License

MIT — see LICENSE.

Available Tools

24 tools
add_taskC

Append a checkbox task to an iteration.

Inputs: text (required), version (required), done, agent, +1 more.

add_tasksA

Append several checkbox tasks in one write. Prefer this over repeated add_task. Shared done/agent apply to every item.

Inputs: tasks (required), version (required), done, agent, +1 more.

add_to_backlogB

Append one (text) or many (texts) items to Future (Backlog) in one write.

Inputs: text, agent, texts, checkbox, +1 more.

append_proseC

Append freeform markdown at top level.

Inputs: text (required), plan_path.

check_planC

Structure lint: duplicates, multiple current, complete-with-open-tasks.

Inputs: plan_path.

close_iterationB

Mark iteration COMPLETE. Requires force=true if open tasks remain. Optional stamp (e.g. date) appended to title.

Inputs: version (required), force, stamp, plan_path.

complete_taskA

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.

Inputs: version (required), task, agent, index, +4 more.

create_iterationD

Create ### vX.Y.Z — Title iteration.

Inputs: title (required), version (required), goal, agent, +4 more.

create_majorC

Create ## vX.Y — Title major section.

Inputs: title (required), version (required), plan_path, description.

create_planA

Bootstrap a new PLAN.md when none exists (powernote-style skeleton). Default path: ./PLAN.md in cwd. Refuses overwrite unless force=true.

Inputs: title (required), goal, force, plan_path, +2 more.

defer_taskA

Move one or many tasks to the backlog in one write. For several, pass indexes or tasks. Shared reason/agent apply to every item.

Inputs: version (required), task, agent, index, +5 more.

find_taskC

Locate tasks by substring match (JSON).

Inputs: text (required), plan_path.

get_backlogC

Backlog section items (JSON).

Inputs: plan_path.

get_current_iterationA

JSON for the current iteration (what to work on now). Preferred agent entry — avoids reading all of PLAN.md.

Inputs: plan_path.

get_iterationC

JSON for one iteration by version (goal, tasks, progress).

Inputs: version (required), plan_path.

list_iterationsB

List iterations filtered by open | complete | all.

Inputs: filter, plan_path.

remove_taskA

Delete one or many tasks in one write. For several, pass indexes or tasks. Resolve-all then drop (indexes do not shift).

Inputs: version (required), task, index, tasks, +3 more.

reopen_taskA

Untick one or many tasks in one write. For several, pass indexes or tasks. For exactly one, index or task still work.

Inputs: version (required), task, agent, index, +4 more.

set_iteration_goalC

Set/replace Goal: on an iteration.

Inputs: goal (required), version (required), plan_path.

show_current_iterationA

ASCII view of the resolved current iteration (humans/logs).

Inputs: plan_path.

show_miniplanA

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.

Inputs: after, before, version, plan_path.

show_planA

Compact index: counts + current iteration. Agents should prefer get_current_iteration / get_iteration over this or full PLAN.md.

Inputs: plan_path.

start_iterationA

Mark iteration ACTIVE / current; clears other current markers.

Inputs: version (required), plan_path.

update_taskB

Rewrite task text, preserving done state. One task: text + index/task. Several: changes[{text, index|task, expect?}].

Inputs: version (required), task, text, agent, +6 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 24 tools

    Disambiguation3/5

    Most tools target distinct resources, but there is notable overlap in the view/entry-point family: show_miniplan, show_current_iteration, show_plan, get_current_iteration, and get_iteration all retrieve current or selected plan state in different formats. Descriptions help, yet show_miniplan and get_current_iteration both claim to be the preferred entry, which creates ambiguity.

    Naming Consistency4/5

    The set mostly follows a clear verb_noun pattern: create_iteration, get_iteration, update_task, remove_task, close_iteration, etc. Minor inconsistencies exist, such as add_task vs add_tasks, append_prose, and show_miniplan, but overall the convention is predictable and readable.

    Tool Count3/5

    24 tools is on the heavy side for a plan-management server, and some operations could be consolidated (add_task/add_tasks, multiple show/get variants). The count is not extreme, but the surface feels larger than necessary for the domain.

    Completeness4/5

    The lifecycle coverage is strong: plans can be bootstrapped, majors and iterations created, tasks added/updated/completed/reopened/removed/deferred, and iterations started/closed. Minor gaps exist, such as no explicit way to delete an iteration or major section, but core workflows are well-covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers