Skip to main content
Glama

powerplan

PLAN.md como columna vertebral operativa del desarrollo agéntico.

powerplan es un servidor MCP que ofrece a los coordinadores y agentes trabajadores una API en lenguaje humano sobre el PLAN.md de tu proyecto: mostrar progreso, crear iteraciones, completar tareas, mantener la cabecera fiel a la realidad — sin modificaciones arbitrarias del archivo.

mcp-name: io.github.CynaCons/powerplan

Nombre del servidor MCP

powerplan

PyPI

powerplan-mcp (powerplan es un paquete diferente y no relacionado)

Registro

io.github.CynaCons/powerplan

Estado

v0.7.0 — mutaciones por lotes (PLAN.md)

Sitio

GitHub Pages

Se complementa con

PowerSpawn (opcional)


Instalación

Necesitas uv (proporciona uvx) o Python 3.10+.

uvx powerplan-mcp

Ese es el servidor MCP stdio. Apunta tu cliente a él:

Claude Code / Cursor / .mcp.json

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

Claude Desktop

El mismo bloque en claude_desktop_config.json (mcpServers).

Grok (~/.grok/config.toml o configuración del proyecto)

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

pip (sin uv)

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

Related MCP server: llm-backlog

Guía para agentes

Prefiere herramientas acotadas. No leas todo PLAN.md para averiguar qué hacer.

  1. Si las herramientas fallan con “no PLAN.md” → create_plan primero.

  2. get_current_iteration — en qué trabajar ahora (JSON).

  3. get_iteration(version) — tareas y progreso de una iteración.

  4. Muta con add_task / add_tasks / complete_task (indexes para varias) / start_iteration / close_iteration.

  5. show_plan es un vistazo humano, no un volcado.

Cada herramienta acepta un plan_path opcional (relativo o absoluto). Por defecto: sube desde cwd hasta el PLAN.md más cercano.

El agent opcional en las mutaciones escribe una etiqueta [agent: id] al final de la línea modificada.


Por qué

Los agentes suelen editar PLAN.md a mano. Las cabeceras se desvían, “COMPLETE” se estampa sin pruebas y los enjambres multiagente se pisan unos a otros. powerplan es el escritor único: lector tolerante, escritor quirúrgico, etiquetas [agent: …] opcionales.


Herramientas

Herramienta

Comportamiento

create_plan

Inicializa ./PLAN.md (o plan_path) cuando falta; force para sobrescribir

get_current_iteration

Preferida para agentes — JSON acotado para el trabajo actual

get_iteration

JSON para una versión (tareas, progreso)

list_iterations / find_task / get_backlog

Navega sin leer el archivo completo

create_major / create_iteration / add_task / add_tasks

Mutaciones quirúrgicas (añadido por lotes en una sola escritura)

complete_task / reopen_task / remove_task / defer_task

Una o varias (indexes / tasks); [agent: id] opcional

start_iteration / close_iteration

Ciclo de vida ACTIVE/current vs COMPLETE

check_plan

Lint de estructura

show_plan / show_current_iteration

Vistazo humano compacto (no un volcado completo)


Formato de plan gestionado

Construcción

Patrón

Mayor

## vX.Y — Title

Iteración

### vX.Y.Z — Title

Objetivo

**Goal:** …

Tareas

- [ ] / - [x]

Backlog

## Backlog

Las cabeceras tipo fase y otra prosa se conservan como bloques opacos.


Desde el código fuente

Clona, instalación editable o submódulo de PowerSpawn — para colaboradores.

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

PowerSpawn puede incorporar este repositorio como submódulo de git. Registra ambos servidores MCP — no se fusionan:

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

Solo ruta (sin instalación): python /path/to/powerplan/powerplan_server.py

Página de aterrizaje: cd site && npm ci && npm run dev


Lanzamiento (mantenedores)

Procedimiento completo, identidades e historial de fallos: docs/RELEASING.md. Lista de verificación para agentes: skill del proyecto release-powerplan (/release-powerplan).

Camino corto: incrementa el número de versión en cada archivo de versión indicado en esa guía → pytest -q → etiqueta vX.Y.Z → sube la etiqueta. .github/workflows/publish.yml sube powerplan-mcp a PyPI y luego server.json al MCP Registry como io.github.CynaCons/powerplan.


Licencia

MIT — consulta 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