Flowline helper
===============

A small program that lets the hosted Flowline website (and MCP assistants) edit
a folder of flows on this computer. Your files never leave your machine.

Requirements: Node.js 20 or newer (https://nodejs.org).

Edit a local folder:
  node flowline-mcp.mjs serve --folder ./my-flows
Then open http://127.0.0.1:8788/ in your browser.

Use it from a hosted site — pairs on first run, then serves:
  node flowline-mcp.mjs serve --folder ./my-flows --site https://your-flowline-host
This opens the site's pairing confirmation page in your browser; confirm it
there and the helper starts serving the folder. Run the same command again
later and it skips pairing (already linked) and serves right away.

Pair separately, without serving (e.g. to re-pair a different site):
  node flowline-mcp.mjs pair --site https://your-flowline-host

Run as an MCP server over your folders (stdio):
  npx flowline-mcp mcp ./my-flows
Set FLOWLINE_SITE and FLOWLINE_TOKEN to also reach a hosted site.
