cli

v8.13.1
@planu/cli Checked 3 days ago Published 20 hours ago

Planu — MCP server for Spec Driven Development.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

sdd_init_workspace

Initializes the SDD workspace creating .sdd/ directory and decoupled skills.

ParameterTypeDescription
scope *string
forceboolean

sdd_list_features

Lists executable Planu v8 FEAT-* features from .sdd/features only.

ParameterTypeDescription
cursorstring
hoststring
page_sizenumber
querystring
status_filterstring
viewstring

sdd_create_feature

Creates a Holy Trinity feature. Omit id to atomically reserve the next global FEAT-NNNN-TITLE identifier; explicit FEAT-* IDs remain supported.

ParameterTypeDescription
title *string
idstring

sdd_lock_spec

Locks spec.md, plan.md, and tasks.md. Pass relock=true and reason to reseal after review. The explicit evidence_checkpoint operation records a caller-reported, non-certifying observation.

ParameterTypeDescription
feature_id *string
checkpointobject
operationstring
reasonstring
relockboolean
task_idstring

sdd_read_spec_artifact

Reads one of the three Holy Trinity artifacts (spec, plan, or tasks).

ParameterTypeDescription
artifact *string
feature_id *string

sdd_read_file_slice

Reads an exact line slice from a target file to optimize token usage.

ParameterTypeDescription
end_line *integer
path *string
start_line *integer
cursorstring
viewstring

sdd_get_active_task

Returns only the active task. For fast resumption use view="resume"; use "relock_history" with history_cursor for older lock references, or "verification_preflight" to inspect evidence. Compact views are read-only and do not certify work.

ParameterTypeDescription
feature_id *string
evidence_cursorobject
execution_cursorobject
history_cursorobject
verification_receiptsarray
viewstring

sdd_apply_file_patch

Applies CREATE and MODIFY patches, or exact DELETE operations, strictly authorized in plan.md File Manifest. DELETE requires empty search_content and replace_content.

ParameterTypeDescription
feature_id *string
path *string
replace_content *string
search_content *string

sdd_complete_task

Completes the active task by running its Verification command in the workspace and storing that output. verification_output is accepted and ignored.

ParameterTypeDescription
feature_id *string
task_id *string
verification_outputstring
verification_receiptsarray