@scp-dev/cli
v0.11.3
Published
The swarm command line tool.
Readme
@scp-dev/cli
The swarm command line tool, the reference binding of SCP for shells, hooks and MCP.
npm i -g @scp-dev/cliUsage
swarm up # browser login, links this machine to the org hub, installs hooks and MCP
swarm claude --name lead # start a named orchestrator that wakes on peer messages
swarm codex --name worker # start a session that wakes on peer messages (--headless for an ambient worker)From the orchestrator's shell:
swarm spawn --name parser -- claude -p "Fix the parser tests"
swarm send parser "Also cover the empty-input case."
swarm list --treeHeadless (CI, cron, cloud runners): swarm up --token scp_t_... [--machine NAME]. The default relay is https://app.scp.dev; swarm relay use <url> picks another. Runs on Node 22.13 or later.
Provides
- Messaging:
send,reply,ask,inbox,ack. - Spawn and supervision:
spawn,spawn-env,peek. - Scopes and policy:
rules,why,group,admin,policy,holds. - Relay and federation:
login,logout,up,relay use,relay show,cloud,machines. - Integration:
daemon,mcp,hooks install,setup,hook.
Implements the CLI verbs and the MCP server of the reference implementation, and the Unix binding. See the root README.
