Skip to main content
Glama

flow-mcp

Unofficial MCP server for Google Flow. It lets Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI or any other MCP client generate Veo / Omni video and Nano Banana images in Flow, check progress, and download the results, using the Flow credits on your own Google account. No API key.

Start frame of the sample clip

Sample: examples/paper-robot-director.mp4. A free Nano Banana still, animated from that frame with Veo 3.1 Lite for 10 credits, downloaded at 1080p. Made entirely through this server from a Claude Code session.

It works by operating Flow's web page in a Chrome window that you sign in to yourself. It does not call Flow's private API, read your cookies, or hide automation, and it does not get around bot checks. If Google shows a verification, you solve it in the window.

Not affiliated with Google. Automating Flow may be against Google's terms of service, and a UI change on Google's side can break it at any time. Use it with an account you are willing to put at that risk.

What it does

  • Text to video and text to image with any model your account offers.

  • Image to video: start_frame, and optionally end_frame, from a local file or media already in the project.

  • Ingredients: reference images for a subject, product or style.

  • Live options, no guessing: models, aspect ratios, resolutions, clip length range and prices are read from Flow each time. An option Flow does not offer is an error; nothing is substituted.

  • Credit guard: every generation reads Flow's own quote first. dry_run returns the price without spending, max_credits refuses anything above it (default cap: 100), and a local ledger records what was spent.

  • Jobs: each generation gets a job_id that survives timeouts and restarts, so an agent polls instead of paying twice.

  • Downloads: original, 1080p upscaled, 4K (if your plan has it) or GIF, through Flow's own Download menu.

  • Uploads, trash, credit balance, screenshots for diagnosis.

  • A Claude skill (skills/google-flow) that teaches the agent the cheap workflow: iterate on free stills, then animate the approved frame.

Related MCP server: google-flow-mcp

Setup

Needs Node 20+ and Google Chrome.

npx -y flow-mcp login

That opens a Chrome window with its own profile (~/.flow-mcp/chrome-profile). Sign in to Google there once. The sign-in is remembered. Then check the setup:

npx -y flow-mcp doctor

Claude Code

claude mcp add flow -- npx -y flow-mcp

Install the skill so Claude knows how to direct shots and handle credits:

npx -y flow-mcp install-skill

Claude Desktop, Cursor, and other clients

{
  "mcpServers": {
    "flow": { "command": "npx", "args": ["-y", "flow-mcp"] }
  }
}

Codex

[mcp_servers.flow]
command = "npx"
args = ["-y", "flow-mcp"]
tool_timeout_sec = 900

From a clone

npm install
node bin/flow-mcp.js doctor

Point your client at node /absolute/path/to/bin/flow-mcp.js.

Tools

Tool

Spends credits

What it does

flow_status

no

Whether the window is signed in, which project is open, current settings

flow_login

no

Brings the Chrome window forward so you can sign in

flow_credits

no

Credit balance, reset date, and what this connector has spent

flow_open_project

no

Open a project by URL, create one, or open the most recent

flow_list_models

no

Image and video models with ratios, resolutions, clip lengths and the current price

flow_generate

yes (images are usually 0)

Text, frames or ingredients to video or images. dry_run quotes, max_credits caps, download saves the result

flow_job

no

Status of a generation by job_id, with optional waiting

flow_list_media

no

Media in the open project, newest first, and recent jobs

flow_download

no

Save an item by job, title or index: original, 1080p, 4k, gif

flow_upload

no

Upload local images to use as frames or ingredients

flow_trash

no

Move an item to Flow's Trash (restorable in Flow)

flow_screenshot

no

What the Flow tab is showing right now

There is also an MCP prompt, flow_shot, that walks an idea from still to finished clip.

Example

Make an 8 second 16:9 clip of a papercraft robot typing at a tiny desk while a film strip spirals out of its laptop. Show me a still first.

The agent calls flow_list_models, generates two stills with mode: "image" (0 credits), shows them, then:

{
  "prompt": "The robot types, head bobbing. The film strip flows out of the laptop and the paper city slowly rotates. Slow push-in. Audio: a soft music-box melody.",
  "mode": "video",
  "model": "Veo 3.1 - Lite",
  "start_frame": "Paper robot typing laptop",
  "max_credits": 30,
  "download": true,
  "download_variant": "1080p",
  "output_dir": "/Users/me/Videos"
}

Settings

Variable

Default

FLOW_MCP_MAX_CREDITS

100

Refuse any single generation quoted above this. none removes the cap

FLOW_MCP_HOME

~/.flow-mcp

Chrome profile, jobs, ledger, diagnostics

FLOW_MCP_DOWNLOADS

~/.flow-mcp/downloads

Default download folder

FLOW_MCP_PORT

9333

Local DevTools port of the connector's Chrome

FLOW_MCP_CHROME

auto-detected

Path to the Chrome or Chromium binary

Limits

  • Flow's interface must be in English; controls are found by their English labels.

  • One Chrome tab, so calls run one at a time.

  • Options differ per model (for example, only some models have a clip length slider). Asking for an unavailable option returns an error listing what is on screen.

  • Not wired up: Scenes, Extend, editing an existing clip, Characters, Voices, and the Flow Agent.

  • Developed and tested on macOS. Windows and Linux paths are in place but not yet tested.

  • Tested against the live site: text to image, ingredients to image, start frame to video, dry-run quotes, clip length, uploads, trash, original and 1080p downloads. Not yet run end to end: end_frame, 4K and GIF downloads, and a generation that Flow fails (detected by wording on the tile).

When it breaks

Every page selector is in src/flow.js. flow-mcp inspect prints the controls on the current Flow page so you can see what changed. A failed tool call saves a screenshot under ~/.flow-mcp/diagnostics and returns its path.

npm test

runs the offline checks. npm run smoke runs the tools end to end over MCP against your signed-in window; it generates one image, refuses unless Flow quotes 0 credits for it, and spends no video credits.

License

MIT. Google Flow, Veo, Nano Banana and Omni are products of Google; this project is independent of them.

Available Tools

12 tools
flow_creditsFlow credit balanceA
Read-only

Read the account's remaining Flow credits and reset date from Flow's account panel, plus what this connector has spent. Free.

Inputs: no named parameters.

flow_downloadDownload mediaA

Save a finished item to a local folder using Flow's own Download menu and return the file path. Pick the item by job_id, title or index (default: newest). "1080p" is Flow's upscaled export for video and can take a minute; "4k" depends on the plan.

Inputs: index, title, job_id, output, +2 more.

flow_generateGenerate video or images (spends credits)A

Generate video or images in Google Flow, spending the signed-in account's Flow credits (images are usually 0). Text-to-video, text-to-image, image-to-video from a start frame (optionally to an end frame), or guided by ingredient images. Returns a job_id, the credit cost Flow quoted, and the outputs. Use dry_run to get the cost without generating. Omitted settings keep whatever Flow has selected. An option Flow does not offer is an error; nothing is substituted.

Inputs: prompt (required), mode, wait, count, +14 more.

flow_jobCheck a generation jobA
Read-only

Status of a generation started by flow_generate: generating (with progress), done, or failed, with each output's title, Flow link and any downloaded files. Omit job_id for the latest job. Free; call it again instead of regenerating.

Inputs: job_id, wait_seconds.

flow_list_mediaList project mediaA
Read-only

List the media in the open Flow project, newest first, with each item's index, title, type and status, plus recent jobs. Free.

Inputs: limit.

flow_list_modelsList Flow models and optionsA
Read-only

Read live from Flow which image and video models this account has, with aspect ratios, output counts, resolutions, clip length range, input modes, and the credit cost of the current selection. Free.

Inputs: mode.

flow_loginOpen Flow sign-inA

Bring the connector's Chrome window to the front so the user can sign in to Google themselves. The sign-in is kept in the connector's own Chrome profile. This tool never types credentials.

Inputs: no named parameters.

flow_open_projectOpen or create a Flow projectA

Open a Flow project by its URL, create a new one, or (with no arguments) open the most recent one. Generations land in the open project. Free.

Inputs: url, create.

flow_screenshotScreenshot the Flow windowA
Read-only

Return a screenshot of the connector's Flow tab, to see what Flow is showing when something is unclear or failed. Free.

Inputs: no named parameters.

flow_statusFlow statusA
Read-only

Check the connector's Chrome window: whether it is signed in to Google Flow, which project is open, and the current generation settings. Opens the window if it is closed. Free.

Inputs: no named parameters.

flow_trashMove media to trashA
Destructive

Move one item of the open project to Flow's Trash (restorable in Flow). Only when the user asked to remove it.

Inputs: index, title, job_id, output.

flow_uploadUpload images to the projectA

Upload local image files into the open Flow project so they can be used as start_frame, end_frame or ingredients. Free. (flow_generate uploads local paths by itself; use this to upload once and reuse.)

Inputs: files (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 12 tools

    Disambiguation4/5

    Each tool has a clearly distinct role: generation, job polling, media listing, download, upload, project management, credits, models, trash, and diagnostics. The only mild overlaps are flow_status vs flow_screenshot (both diagnostics) and flow_job vs flow_list_media (both report generation/media state), but the descriptions clearly delineate live settings/visual state and single-job vs whole-project views.

    Naming Consistency4/5

    All names share a consistent flow_ prefix and snake_case, with most following verb_noun (flow_generate, flow_list_media, flow_open_project). A few deviate to noun-only (flow_job, flow_status, flow_credits, flow_screenshot) or verb-only (flow_trash), but the convention remains predictable and readable.

    Tool Count5/5

    Twelve tools is well within the ideal range and each maps to a distinct capability of automating Google Flow: generate, poll, list, download, upload, project management, credits, models, trash, and diagnostics. Nothing appears redundant or filler.

    Completeness4/5

    The lifecycle is well covered: generate, poll job, list media, upload ingredients, download, trash, plus account/project/model/credit introspection. Minor gaps exist — no rename/edit of media, no cancel of an in-flight job, and no explicit project listing (only open-by-URL or most recent) — but agents can work around these.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      Enables Claude, Cursor, or any MCP client to create consistent AI characters, generate Veo 3.1 and Omni videos, edit clips, build scenes, export MP4s, and chat with Google Flow's creative agent. Automates AI video production workflows such as reels, storyboards, and multi-shot stories through natural language, with credit guardrails and dry-run pricing.
      23
      20
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables an AI agent to drive Google Flow through a real logged-in browser session: read projects, media, characters, scenes and credits, create and delete them, upload media, generate Veo video and Nano Banana images, and assemble scenes into a film. Every paid action is priced in its tool description and written to a spend ledger before the click, with a job-id guard against double charges.
      3
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables users to generate images and videos on Google Flow through browser automation of an already signed-in Chrome session, downloading the finished media to disk without any API keys. It drives Flow's agent with a range of image and video models, plus reference images, first/last frames, and ingredient-based video jobs, while reusing the user's own Google AI Pro credits.
      17
      MIT