powerplan
powerplan
エージェント駆動開発の運用基盤としての PLAN.md。
powerplan は、コーディネーターエージェントとワーカーエージェントに、プロジェクトの PLAN.md に対する人間言語APIを提供する MCP サーバーです。進捗の表示、イテレーションの作成、タスクの完了、ヘッダーの正確な維持を、自由形式のファイル改変なしで行えます。
mcp-name: io.github.CynaCons/powerplan
MCP サーバー名 |
|
PyPI |
|
Registry |
|
ステータス | v0.7.0 — バッチ変更 (PLAN.md) |
サイト | |
連携 | PowerSpawn (任意) |
インストール
uv(uvx を提供)または Python 3.10+ が必要です。
uvx powerplan-mcpこれは stdio MCP サーバーです。クライアントにこのサーバーを指定してください:
Claude Code / Cursor / .mcp.json
{
"mcpServers": {
"powerplan": {
"command": "uvx",
"args": ["powerplan-mcp"],
"env": {
"PYTHONIOENCODING": "utf-8",
"PYTHONUNBUFFERED": "1"
}
}
}
}Claude Desktop
claude_desktop_config.json(mcpServers)にも同じブロックを追加します。
Grok(~/.grok/config.toml またはプロジェクト設定)
[mcp_servers.powerplan]
command = "uvx"
args = ["powerplan-mcp"]
env = { PYTHONUNBUFFERED = "1", PYTHONIOENCODING = "utf-8" }
enabled = truepip(uv なし)
pip install powerplan-mcp{
"mcpServers": {
"powerplan": {
"command": "python",
"args": ["-m", "powerplan"],
"env": {
"PYTHONIOENCODING": "utf-8",
"PYTHONUNBUFFERED": "1"
}
}
}
}Related MCP server: llm-backlog
エージェントガイド
スコープを絞ったツールを優先してください。何をすべきか把握するために PLAN.md 全体を読まないでください。
ツールが「no PLAN.md」で失敗した場合 → 最初に
create_planを実行します。get_current_iteration— 今何に取り組むか(JSON)。get_iteration(version)— 1つのイテレーションのタスクと進捗。add_task/add_tasks/complete_task(複数指定はindexes)/start_iteration/close_iterationで変更します。show_planは人間向けの概要表示であり、ダンプではありません。
すべてのツールはオプションの plan_path(相対パスまたは絶対パス)を受け付けます。デフォルト: カレントディレクトリから最も近い PLAN.md まで上方向に探索します。
変更系ツールのオプション agent は、操作した行の末尾に [agent: id] タグを書き込みます。
なぜ必要か
エージェントが PLAN.md を手動で編集することがよくあります。ヘッダーがずれたり、証拠もなく「COMPLETE」が押されたり、複数エージェントの群れが互いに干渉したりします。powerplan は単一の書き込み者です。寛容な読み取り、外科的な書き込み、オプションの [agent: …] タグを備えています。
ツール
ツール | 動作 |
| 存在しない場合に |
| エージェント推奨 — 現在の作業用にスコープされたJSON |
| 1つのバージョンのJSON(タスク、進捗) |
| ファイル全体を読まずにナビゲート |
| 外科的な変更(1回の書き込みでバッチ追加) |
| 1つまたは複数( |
| ACTIVE/current と COMPLETE のライフサイクル |
| 構造のlint |
| コンパクトな人間向け概要(完全なダンプではない) |
管理対象のプラン形式
構成要素 | パターン |
メジャー |
|
イテレーション |
|
ゴール |
|
タスク |
|
バックログ |
|
フェーズのようなヘッダーやその他の散文は不透明なブロックとして保持されます。
ソースから
クローン、編集可能インストール、または PowerSpawn サブモジュール — コントリビューター向け。
git clone https://github.com/CynaCons/powerplan.git
cd powerplan
pip install -e ".[dev]"
python -m powerplan # same stdio server
# or: powerplan-mcpPowerSpawn はこのリポジトリを git サブモジュールとしてベンダリングできます。両方の MCP サーバーを登録してください — それらはマージされません:
{
"mcpServers": {
"powerplan": {
"command": "uvx",
"args": ["powerplan-mcp"]
},
"powerspawn": {
"command": "python",
"args": ["-m", "powerspawn.mcp_server"]
}
}
}パスのみ(インストールなし): python /path/to/powerplan/powerplan_server.py
ランディングページ: cd site && npm ci && npm run dev
リリース(メンテナー向け)
完全な手順、ID、失敗履歴: docs/RELEASING.md。
エージェント用チェックリスト: プロジェクトスキル release-powerplan(/release-powerplan)。
短い手順: そのガイドに記載されているすべてのバージョンファイルを更新 → pytest -q → タグ vX.Y.Z を付ける → タグをプッシュします。.github/workflows/publish.yml が powerplan-mcp を PyPI にアップロードし、次に server.json を MCP Registry に io.github.CynaCons/powerplan としてアップロードします。
ライセンス
MIT — LICENSE を参照してください。
Available Tools
24 toolsadd_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
Scored across 24 tools
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.
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.
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.
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
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Minimal issue tracker: projects, objectives and trackable plans, written by agents over MCP.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- AlicenseCqualityDmaintenanceMCP server for Plane integration, enabling AI agents to interact with Plane APIs and services for project management tasks.100MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for managing a project backlog as Markdown files in Git, enabling AI agents to read, create, and update tasks programmatically.2MIT
- AlicenseBqualityAmaintenanceUnofficial MCP server for self-hosted Plane Community Edition, enabling project management tasks like managing work items, cycles, modules, and initiatives via natural language.1002MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that turns planning documents into structured SQLite data and exposes plan metadata to AI agents, with tools to list and delete saved plans.-