PCMCP
Provides read-only Google Drive inventory via the iMessage trigger, attaching a .txt listing of files.
Provides look-only iCloud Drive inventory via iMessage, listing names, sizes, and downloaded/cloud-only status, and can compare iCloud contents with Documents and Downloads.
Reads the macOS Messages database read-only and lets allowed senders issue commands by iMessage, with replies and attachments such as screenshots and inventory .txt files sent back to the chat.
PCMCP
Start on Mac. Continue anywhere. Send it back. Nothing gets lost.
Quick start
pip install pcmcp # or: uvx pcmcp mcp (no install)
pcmcp mcp # MCP server over stdioNo dependencies beyond Python 3.9+. Out of the box an MCP client can look, propose and dry-run. It cannot approve, delete or take screenshots until you turn those gates on in your config.
Connect it to your MCP client
PCMCP is a standard MCP server (stdio). Add it with the config format your client documents:
Client | How |
Claude Code |
|
Claude Desktop | Settings, Developer, Edit Config, then add |
Cursor | same |
VS Code (Copilot) | workspace-root |
Codex |
|
Anything else | run |
Using uvx instead of an installed command: "command": "uvx", "args": ["pcmcp", "mcp"].
Remote clients: Streamable HTTP
For clients that connect to a URL instead of launching a command:
export PCMCP_HTTP_TOKEN="$(python3 -c 'import secrets;print(secrets.token_urlsafe(32))')"
pcmcp mcp --http --port 8765 # http://127.0.0.1:8765/mcpSafe by default: binds to 127.0.0.1 only, every request needs Authorization: Bearer <token>, Host and Origin headers are checked, no sessions, and the same owner gates apply as over stdio. --allow-host and --allow-origin add extra accepted Host and Origin values. The Origin check only applies when a request carries an Origin header (browsers send one; most non-browser clients and some proxies or tunnels do not), so it protects against web pages, not against other programs. The bearer token is the real access control. Anyone with the URL and token can call the tools, so keep the token secret and use TLS. Check it with python3 -m pcmcp_swarm.mcp_http_selftest.
PCMCP is two things in one repo:
The original WebMCP cross-platform task handoff demo (browser MCP tools hand a task capsule between machines).
PCMCP deterministic bots — up to 100 deterministic, hash-logged file bots with undo, plus an iMessage text trigger so a phone can ask a Mac for status, screenshots and more.
Related MCP server: macos-control-mcp
What actually works (tested, no hand-waving)
Feature | Status |
WebMCP capsule handoff demo ( | works; run locally with |
Swarm selftest (bots, registry, plans, approval, undo, crash-resume, doorbell, signed check-in) | 57/57 on macOS (arm64), Python 3.15 |
iMessage text trigger → screenshot, attached back to the chat as | verified live: attachment confirmed present in the Messages database, not just "sent" |
iMessage text trigger → screensaver start | verified live (bounded launch, honest failure reporting) |
Text trigger commands: | implemented and unit-tested |
Trigger parser: a command quoted inside a normal sentence is never executed | 10/10 unit tests; line-anchored full-match parsing |
Cross-platform selftest | 57/57 on macOS (arm64) and Linux, verified from a fresh public-repo download; Windows not yet run |
The iMessage text trigger
The Mac reads the Messages database read-only. A text from an allowed sender can do:
PCMCP-<secret> status live swarm status
PCMCP-<secret> live listener health: uptime, poll rate, active jobs, last acted command + age, free disk
PCMCP-<secret> screensaver start the Mac screensaver (verified launch only)
PCMCP-<secret> screenshot screenshot of the screen, attached back as .png
PCMCP-<secret> inventory drive read-only Google Drive inventory (attached .txt listing)
PCMCP-<secret> inventory icloud look-only iCloud Drive listing (names, sizes, downloaded/cloud-only)
PCMCP-<secret> inventory missing compare iCloud with Documents and Downloads (read-only)
PCMCP-<secret> task <name> one named read-only task (attached .txt)
PCMCP-<secret> browse <alias.index> browse approved folders by numbered child directories
PCMCP-<secret> run <plan-prefix> start a plan the owner already signed with a passphraseSafety rules that matter:
The secret is a doorbell, not an approval. There is no text command for approve.
One command per line: a command quoted inside a normal sentence is never executed.
The Mac stores only the SHA-256 of the secret; replies never contain it; each message acts at most once, only if new, incoming, from an allowed sender, inside the rate limit.
Nothing a text can reach writes, moves or deletes — except
run, which executes only a plan signed with the owner passphrase, one shot per approval, never after her stop or a rollback.
See the docstring of pcmcp_swarm/drive/trigger.py for the full safety model.
Deterministic bot swarm
Up to 100 bots: plain Python, no AI, no randomness. File bots preview changes with a dry run. Deletes and overwrites are staged first, and undo can restore them. Doorbell + HMAC-signed instruction batches: the orchestrator can propose; only the local owner CLI can approve.
Docs: SWARM_README.md • Data format: SPEC.md • Task ledger: SWARM_TASKS.md • Drive plan format: DRIVE_PLAN_SPEC.md
Code:
pcmcp_swarm/(Python standard library only, no dependencies)Selftest:
python3 -m pcmcp_swarm.selftest
MCP server
The swarm speaks Model Context Protocol, standard library only, no pip install:
pcmcp mcp # same as: python3 -m pcmcp_swarm mcpTools: swarm_status, swarm_meter (fleet health meter: per-bot verdict OK / WARN / STALLED / BROKEN with evidence and repair advice, so the client knows which arm of the swarm is broken), swarm_plan_list, swarm_plan_show, swarm_scan (proposes a plan, changes nothing), swarm_execute (dry-run by default), swarm_undo (restores), swarm_approve (refuses unless the owner sets mcp.allow_approval: true in the config), and swarm_screenshot (returns a PNG inline as MCP image content so a vision-capable client can see the screen; refuses unless mcp.allow_screenshots: true). Real execution additionally requires mcp.allow_real_execution: true. All gates default to false: out of the box an MCP client can look, propose and dry-run, never approve, destroy or photograph anything. A repaired bot returns to OK once its failed op is re-run and completed. Every call is logged to logs/mcp.jsonl. Also exposes the bot registry key as an MCP resource (pcmcp://registry), answers prompts/list and logging/setLevel, and speaks protocol versions 2024-11-05, 2025-03-26 and 2025-06-18. Conformance-tested against the documented client wire format: handshake, version fallback, notification silence, parse errors and every startup probe a real client sends.
Built around Instinct
PCMCP is built for the new texting agents. I use Instinct daily: it texts my Mac a command (over iMessage), the deterministic swarm does the work, and results come back to the chat, screenshot or file attached. The text trigger and MCP server expose fixed commands and tools. MCP approval, real execution and screenshots are separate owner-controlled settings, all off by default. The trigger parser is hardened so a command quoted inside a normal sentence is never executed, and reply delivery is verified against the Messages database instead of trusting AppleScript's word for it.
WebMCP handoff demo (the original PCMCP)
A browser exposes real document.modelContext.registerTool(...) WebMCP tools that let an agent send and receive a neutral task capsule, so the same task state can move between computers without remote-controlling the other machine.
npm startThen open http://localhost:4173 in your browser. (The live demo used a temporary Cloudflare tunnel; those URLs die by design, so run locally for a fresh one.)
License
MIT
Built by Angie Wilkinson at SynHumanity Labs • synomize.io
Available Tools
9 toolsswarm_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.
Inputs: ref (required).
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.
Inputs: ref (required), for_real.
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.
Inputs: no named parameters.
swarm_plan_listA
List saved plans (hash prefix, approved flag, operation count, root). Read-only.
Inputs: no named parameters.
swarm_plan_showA
Render one plan (operations, per-bot assignment) by hash prefix or 'latest'. Read-only.
Inputs: ref (required).
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.
Inputs: root (required).
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.
Inputs: h, w, x, y, +2 more.
swarm_statusA
Health dashboard of the bot swarm: per-bot execution counts, errors, problem markers. Read-only.
Inputs: no named parameters.
swarm_undoA
Reverse a plan (or one op) from its receipts. Restores originals and staged files; never deletes.
Inputs: ref (required), op.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Use a person's computer after they approve it there: files, Terminal, browser, local MCP.
- ezremoteDeprecatedlol.masti.tunnel
Use a person's computer after they approve it there: files, Terminal, browser, local MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server for safely searching, reading, summarizing, tagging, deduplicating, and organizing local files with scoped access, read-only defaults, and dry-run plans.19MIT
- AlicenseBqualityDmaintenanceMCP server that enables AI to fully control macOS — mouse, keyboard, terminal, screenshots, window management, UI element detection, and provides AI-optimized information reporting.36MIT

Honeycrispofficial
AlicenseNot gradedqualityCmaintenanceMCP servers for your Mac's real data — Mail, Calendar, files — with safety rails you can audit. Local-first, no accounts, no cloud, with dry-run defaults and human approval gates.MIT- FlicenseNot gradedqualityCmaintenanceLets a robot's brain on a Raspberry Pi reach the owner's Mac through MCP tools, with read actions running immediately and action tools gated by explicit owner consent, logging, and a kill switch.1-