mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-05 19:51:38 -05:00
8495573887
`figcraft --control PORT --automation-read-root DIR --automation-write-root DIR --automation-allow-server wss://host/` lets the window, its control channel and `figcraft-cli mcp --attach` join, publish to and share on that server, with the same matching as headless MCP (scheme, host, port, path prefix). Everything else stays off the network. A malformed allowed server, or one given without a root, stops the app. The check of an allowlist entry moves to `Endpoint::allowlisted` in collab-net, so the app and the CLI share it.