PCMCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PCMCP_HTTP_TOKEN | No | Bearer token required by every request when running the server in Streamable HTTP mode (pcmcp mcp --http). Not needed for stdio mode. Example: export PCMCP_HTTP_TOKEN="$(python3 -c 'import secrets;print(secrets.token_urlsafe(32))')". | |
| mcp.allow_approval | No | Owner gate in the config that allows the swarm_approve tool. Defaults to false, so out of the box an MCP client cannot approve. | false |
| mcp.allow_screenshots | No | Owner gate in the config that allows the swarm_screenshot tool. Defaults to false, so out of the box an MCP client cannot take screenshots. | false |
| mcp.allow_real_execution | No | Owner gate in the config required in addition for real (non-dry-run) execution. Defaults to false. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| logging | {} |
| resources | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| swarm_statusA | Health dashboard of the bot swarm: per-bot execution counts, errors, problem markers. Read-only. |
| swarm_plan_listA | List saved plans (hash prefix, approved flag, operation count, root). Read-only. |
| swarm_plan_showA | Render one plan (operations, per-bot assignment) by hash prefix or 'latest'. Read-only. |
| swarm_scanA | Dry-run scan of a folder inside allowed_roots; saves a plan AWAITING OWNER APPROVAL. Changes nothing. Returns the plan hash and counts. |
| swarm_executeA | 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. |
| swarm_undoA | Reverse a plan (or one op) from its receipts. Restores originals and staged files; never deletes. |
| swarm_approveA | 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. |
| swarm_screenshotA | 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. |
| swarm_meterA | 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Bot registry key | The signed manifest of bots, their job letters and public keys. |
TDQS
Scored across 9 tools
Most tools target a distinct step in the plan lifecycle (scan, approve, execute, undo, plan_list, plan_show) and are easy to tell apart. The one weak boundary is swarm_status vs swarm_meter, which both report read-only swarm health with slightly different framings, so an agent may hesitate over which to call.
All tools use a consistent swarm_ snake_case prefix, which makes the set easy to scan. The only deviation is the compound resource-first form in swarm_plan_list/swarm_plan_show versus the verb-first naming elsewhere, though it remains predictable.
Nine tools is well within the sweet spot for a plan-execution server. Each one maps to a real stage (scan, list, show, approve, execute, status, meter, undo, screenshot) with no filler.
The core lifecycle—scan to plan, review, approve, execute, inspect health, and undo from receipts—is fully covered, including a screenshot capture capability. Minor gaps exist: no explicit way to cancel or revoke a plan/approval, or abort an in-flight execution, but these are workaround-able.