PCMCP

v1.5.0
io.github.Missprincessish/pcmcp Checked 3 days ago Published 3 days ago

Owner-gated, reversible file automation and cross-platform task handoff via MCP.

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

swarm_status

Health dashboard of the bot swarm: per-bot execution counts, errors, problem markers. Read-only.

swarm_plan_list

List saved plans (hash prefix, approved flag, operation count, root). Read-only.

swarm_plan_show

Render one plan (operations, per-bot assignment) by hash prefix or 'latest'. Read-only.

ParameterTypeDescription
ref *stringplan hash prefix or 'latest'

swarm_scan

Dry-run scan of a folder inside allowed_roots; saves a plan AWAITING OWNER APPROVAL. Changes nothing. Returns the plan hash and counts.

ParameterTypeDescription
root *stringfolder to scan (must be inside allowed_roots)

swarm_execute

Dry-run a plan by default (nothing changes). for_real=true runs it, but ONLY if the owner approved that exact hash AND mcp.allow_real_execution is true.

ParameterTypeDescription
ref *string
for_realboolean

swarm_undo

Reverse a plan (or one op) from its receipts. Restores originals and staged files; never deletes.

ParameterTypeDescription
ref *string
opstringop_id to undo only that op (optional)

swarm_approve

Owner approval for one exact plan hash. REFUSED unless the owner set mcp.allow_approval=true in the config. There is no way for an MCP client to enable this itself.

ParameterTypeDescription
ref *string

swarm_screenshot

Capture a screenshot (full screen, region, or app window) and return it inline as PNG image content, so a vision-capable client can see the screen. REFUSED unless the owner set mcp.allow_screenshots=true in the config. Capture failures are reported honestly, never faked.

ParameterTypeDescription
hinteger
namestringapp name for target=app
targetstringwhat to capture (default full)
winteger
xinteger
yinteger

swarm_meter

Fleet health meter: verdict per bot (OK / WARN / STALLED / BROKEN) with evidence, so the client knows which arm of the swarm is broken and how to repair it. Reads the run journal and health records; changes nothing. BROKEN = failed ops (re-run the same plan to resume only unfinished ops); STALLED = started but never finished (crash); WARN = SLOW / BEHIND / REFUSALS flags vs peers.