Skip to main content
@tryflowy/cli is the flowy command: sign in once, then generate media, browse your workspace, and connect the Flowy MCP to Claude, Cursor, or Codex without hand-editing any config files.
Requires Node.js 20+.

Set up

1

Sign in

Opens a browser for a loopback OAuth sign-in (PKCE). No password ever touches the CLI. Pass --no-browser to print the sign-in URL instead (useful over SSH), or --issuer <url> to point at a non-default authorization server. On success, credentials are written to ~/.flowy/credentials.json.
2

Connect your agent

Wires the hosted MCP endpoint into the chosen agent’s config, or every supported one when you omit --client (the default is all):For ChatGPT (Developer mode) or any other MCP-capable client, flowy mcp install also prints the endpoint URL and the raw mcpServers JSON block to paste into the client’s own MCP settings. See MCP server for the manual setup.
3

Restart your agent

Restart the agent so it picks up the new MCP server, then ask it to “generate an image with Flowy”.
Skip the interactive picker with flowy mcp install --client claude (or cursor / codex). --url <mcpUrl> overrides the hosted endpoint, mainly for local development against flowy mcp stdio.

Commands

flowy account and flowy workspace also accept the acc / ws aliases; flowy generate accepts gen.

Workspace context

Every generation and content command acts in your personal account context by default. flowy workspace set <id> switches that context to a team workspace (persisted in ~/.flowy/settings.json) so subsequent commands act in, and bill, that workspace instead flowy workspace unset reverts to the account context.
Last modified on August 29, 2026