Skip to content
MCP server

google-flow-mcp MCP Server

Unofficial MCP server that drives Google Flow (labs.google Veo / Nano Banana) through your own Chrome session — video & image generation plus Scene Builder (extend, jump to, download)

google-flow-mcp scores 43 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Browser automation, Design. GitHub shows 17 stars. Package registries report about 300 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by parksanggwonMITTypeScript17 stars
Trust score
43Fair
Trust score 43 of 100, Fair

Fair trust

43 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 43 comes from

0 + 15 + 7 + 10 + 4 + 7 = 43. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity7 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 7 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "parksanggwon-google-flow-mcp": {      "command": "npx",      "args": [        "-y",        "@park-sang-gwon/google-flow-mcp@0.3.1"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

🎬 google-flow-mcp

npm version CI license node MCP

English | 한국어

Let your AI assistant make videos in Google Flow (Veo, Nano Banana) — and stitch them into long, seamless takes with Scene Builder — in plain language:

  • "Generate an 8-second vertical clip from this keyframe: a rooster crowing on a stone wall at dawn."
  • "Add it to a scene and extend it twice — keep the slow push-in going, then let the camera rise into the sky."
  • "Make three 9:16 poster images of a copper weathervane with Nano Banana."
  • "Show me what the Flow page looks like right now." (flow_inspect / flow_screenshot)

This is a Model Context Protocol (MCP) server that drives Google Flow through your own Chrome session. It works with Claude Code, Claude Desktop, Cursor, VS Code, Gemini CLI — any MCP client — and with plain JSON-RPC scripts.

❌ Without / ✅ With

❌ Without✅ With google-flow-mcp
Flow has no public API; every clip is a manual click sessionYour agent calls flow_generate_video, waits for the render and gets the file path back
Veo clips are capped at 8 secondsflow_scene_extend adds 7-second hops with continuous motion and audio (measured seam NCC 0.99)
One wrong click spends creditsEvery generating tool has a dry run (auto_confirm: false) that stops right before the click
A crash mid-render loses track of the jobJob records on disk let resume: true pick a running generation up instead of paying twice
UI changes break scrapers silentlyflow_inspect shows the agent the live UI so a changed label is a one-line fix

🏗️ Architecture

flowchart LR
    C["🤖 MCP client<br/>Claude Code · Claude Desktop · Cursor · VS Code · Gemini CLI<br/>or any JSON-RPC script"]

    subgraph S["google-flow-mcp — runs on your machine"]
        direction TB
        T["11 tools<br/>session · generate · media · scene builder"]
        F["Flow automation<br/>agent composer · scene timeline · media ids"]
        J["Job records<br/>~/.google-flow-mcp/jobs"]
    end

    subgraph B["Google Chrome (your profile, port 9333)"]
        P["one tab owned by this server"]
    end

    G["☁️ Google Flow<br/>flow.google.com · Veo 3.1 · Omni · Nano Banana"]

    C <-->|"MCP over stdio"| T
    T --> F
    F <-->|"Playwright over CDP"| P
    P <-->|"HTTPS, your login"| G
    F -.-> J

Chrome is launched outside Playwright (so Google's sign-in accepts it) with a dedicated profile that keeps your login. The server never sees a password; prompts go to Flow exactly as you wrote them; downloads come back through the browser's own authenticated session.

✨ Features

  • 🎥 Video generation through the Flow agent composer — Veo 3.1 Lite / Fast / Quality and Omni Flash, 4–10 s, 9:16 or 16:9, with a keyframe as first frame
  • 🖼️ Image generation with Nano Banana Pro / 2 / 2 Lite, any Flow aspect ratio, reference images
  • 🧩 Scene Builder: create a scene from a clip, read its timeline, extend the last clip by 7-second hops that continue motion and ambient audio
  • 🧪 Dry runs for every credit-spending tool, and idempotent retries — asking for the same extension twice returns the file, not a second bill
  • 💾 Crash-safe: long renders are tracked in job files; resume: true finishes them after a restart or timeout
  • 🔍 UI inspection (flow_inspect): snapshot/diff of the live page, text search, media tile positions, network watch
  • 🧾 Structured results: { ok, code, message, details } — clients branch on error codes, never on message text
  • 🩺 doctor checks Chrome, the port, your login and finds hung tabs that would block connections
  • 🇰🇷 🇺🇸 Korean and English Flow UI labels out of the box (add yours in one file)

🚀 Quick start

Requirements

WhatWhy
Node.js 20+runs the server (node --version)
Google Chromethe automation target; macOS path is the default, others via config
A Google account with Flow access + creditsgenerations cost Flow credits exactly like clicking Generate yourself

1️⃣ Register the server in your client

claude mcp add google-flow -- npx -y @park-sang-gwon/google-flow-mcp

claude_desktop_config.json → mcpServers:

{
  "mcpServers": {
    "google-flow": { "command": "npx", "args": ["-y", "@park-sang-gwon/google-flow-mcp"] }
  }
}

~/.cursor/mcp.json (or project .cursor/mcp.json):

{
  "mcpServers": {
    "google-flow": { "command": "npx", "args": ["-y", "@park-sang-gwon/google-flow-mcp"] }
  }
}

.vscode/mcp.json:

{
  "servers": {
    "google-flow": { "type": "stdio", "command": "npx", "args": ["-y", "@park-sang-gwon/google-flow-mcp"] }
  }
}

~/.gemini/settings.json:

{
  "mcpServers": {
    "google-flow": { "command": "npx", "args": ["-y", "@park-sang-gwon/google-flow-mcp"] }
  }
}
git clone https://github.com/ParkSangGwon/google-flow-mcp && cd google-flow-mcp
npm install && npm run build
claude mcp add google-flow -- node "$PWD/dist/cli.js"

2️⃣ Sign in once

npx -y @park-sang-gwon/google-flow-mcp doctor

The first run launches a dedicated Chrome (~/.google-flow-chrome). Sign in to Google in that window — once. doctor then reports flow: logged in. From now on the server reuses that profile; there is nothing to configure unless Chrome is somewhere unusual (see Configuration).

3️⃣ Try it

Ask your assistant to open a Flow project and prepare a video without spending credits:

"Call flow_project_open on https://flow.google.com/project/… then flow_generate_video with auto_confirm: false for an 8-second 9:16 clip of …"

You get status: "ready_for_confirmation" and a screenshot path. Say "go ahead" and the agent repeats the call with auto_confirm: true.

🎥 How a generation works

sequenceDiagram
    autonumber
    participant A as 🤖 Agent
    participant S as google-flow-mcp
    participant B as Chrome tab
    participant F as ☁️ Google Flow

    A->>S: flow_generate_video {prompt, model, reference_images, auto_confirm}
    S->>B: open project · new agent session · settings (ratio, count, model, "confirm: never")
    S->>B: attach keyframe → verify thumbnail (else REFERENCE_NOT_ATTACHED, nothing sent)
    S->>B: fill instruction
    alt auto_confirm = false
        S-->>A: status: ready_for_confirmation + screenshot (0 credits)
    else auto_confirm = true
        S->>S: write job record (baseline tile count)
        S->>B: send (Enter) → handle approval card / policy refusal
        B->>F: generate
        loop every 6 s, up to 30 min
            S->>B: more tiles than the baseline?
        end
        F-->>B: clip ready
        S->>B: authenticated GET flow.google.com/asb/<token>
        S-->>A: status: completed, files[], media_ids[], job_id
    end

If the server dies or times out during the loop, call the same tool again with resume: true — it reloads the job, skips the composer and only waits/downloads.

🧩 Scene Builder: long, seamless takes

Flow's Scene Builder extends a clip by analysing its last frames and generating what happens next, keeping motion and ambient sound. This server automates the whole path:

flowchart LR
    K["🖼️ keyframe"] --> V["flow_generate_video<br/>Veo 3.1 Fast · 8 s · 10 credits"]
    V --> A["flow_scene_add<br/>tile ⋮ → Add to Scene → Create scene<br/>0 credits"]
    A --> E1["flow_scene_extend #0<br/>Veo 3.1 Lite · +7 s · 5 credits"]
    E1 --> E2["flow_scene_extend #1<br/>+7 s · 5 credits"]
    E2 --> N["…"]
    V -.->|"seed.mp4"| X["ffmpeg concat<br/>(local, free)"]
    E1 -.->|"hop1.mp4"| X
    E2 -.->|"hop2.mp4"| X
    X --> O["🎬 22 s take, one continuous motion"]

What we measured on the live UI (September 2026, details in docs/scene-builder.md):

FactValue
Extension length7.0 s per hop, separate MP4 with audio (720×1280 for a 9:16 seed)
Seamfirst frame of the hop == last frame of the previous clip (NCC 0.995–0.998), no overlap
Modelfixed to Veo 3.1 - Lite by Flow (5 credits per hop on Ultra)
Approval cardnone
Retry / crashalready_exists returns the existing hop; resume: true recovers a hop rendered after a crash

[!TIP] Restate the subject, wardrobe, light and camera move in every hop prompt — Flow does not carry the previous prompt over.

Recipe:

seed  = flow_generate_video { model: "veo-3.1-fast", duration: 8, reference_images: ["/abs/keyframe.jpg"], ... auto_confirm: true }
scene = flow_scene_add     { project_url, media_id: seed.media_ids[0] }
hop1  = flow_scene_extend  { scene_url: scene.scene_url, prompt: "…continues…", after_clip_index: 0, output_dir, auto_confirm: true }
hop2  = flow_scene_extend  { ..., after_clip_index: 1, ... }
ffmpeg -i seed.mp4 -i hop1.mp4 -i hop2.mp4 -filter_complex "[0:v][0:a][1:v][1:a][2:v][2:a]concat=n=3:v=1:a=1" take.mp4

🔧 Tools

GroupToolWhat it doesCredits
🔌 Sessionflow_connectAttach to / launch Chrome, open Flow, report logged_in–
flow_statusConnection, login, current project/scene, running tool, in-flight jobs–
flow_screenshotPNG of the owned tab–
flow_inspectSnapshot → action → diff of the UI; text search, media tiles, network–
flow_project_openOpen a project, list its media ids–
🎥 Generateflow_generate_videoVeo 3.1 Lite/Fast/Quality, Omni Flash; keyframe; dry run; resume✅
flow_generate_imageNano Banana Pro / 2 / 2 Lite; 1–4 images; references; dry run; resume✅
💾 Mediaflow_media_downloadDownload a media uuid through the logged-in session–
🧩 Scene Builderflow_scene_addCreate a scene from a clip → scene_url–
flow_scene_statusClips, durations, media ids of a scene–
flow_scene_extendExtend the last clip by 7 s (Veo 3.1 Lite); idempotent; resume✅

Full input/output schemas: docs/tools.md (generated from the code, always in sync).

🧾 Results and errors

Every tool answers with one JSON text block:

// success
{ "ok": true, "status": "completed", "files": ["/abs/out/flow_ab12cd34_job.mp4"], "media_ids": ["ab12cd34"], "job_id": "mtk0…" }
// failure (isError: true) — never thrown, always structured
{ "ok": false, "code": "REFERENCE_NOT_ATTACHED", "message": "0/1 reference images attached; nothing was sent", "recoverable": false, "details": {}, "screenshot": "/…/reference-not-attached.png" }
CodeMeaningRetry?
NOT_LOGGED_INChrome is on the Google sign-in pagesign in first
REFERENCE_NOT_ATTACHEDthe keyframe did not land in the composer; nothing sentfix the path
POLICY_BLOCKEDFlow refused the promptrewrite prompt
GENERATION_TIMEOUTno output within generationTimeoutMsresume: true
BUSYanother tool call holds this server's tabwait, retry
UI_NOT_FOUNDa button/menu was not where expected (rows in details)see Troubleshooting
CLIP_NOT_FOUNDafter_clip_index is not the last clipcheck flow_scene_status

💳 Credits (Google AI Ultra, September 2026 — verify on your plan)

ModelCreditsNotes
Veo 3.1 - Lite5 (4/6/8 s)the only model Scene Builder Extend uses
Veo 3.1 - Fast10
Veo 3.1 - Quality100
Omni Flash15 / 20 / 25 / 304 / 6 / 8 / 10 s; video-to-video edits 40
Scene Builder Extend hop57 s, Veo 3.1 - Lite

⚙️ Configuration

Defaults work on macOS. Override with ~/.config/google-flow-mcp/config.json (npx -y @park-sang-gwon/google-flow-mcp init writes one) or FLOW_MCP_* environment variables:

KeyEnvDefault
chromePathFLOW_MCP_CHROME_PATH/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
userDataDirFLOW_MCP_USER_DATA_DIR~/.google-flow-chrome
cdpPortFLOW_MCP_CDP_PORT9333
stateDirFLOW_MCP_STATE_DIR~/.google-flow-mcp (logs, screenshots, jobs)
generationTimeoutMsFLOW_MCP_GENERATION_TIMEOUT_MS1800000
logLevelFLOW_MCP_LOG_LEVELinfo

The server speaks MCP over stdio; a raw JSON-RPC client is ~40 lines:

import json, subprocess, itertools
proc = subprocess.Popen(["npx", "-y", "@park-sang-gwon/google-flow-mcp"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True, bufsize=1)
ids = itertools.count(1)
def rpc(method, params=None, notify=False):
    msg = {"jsonrpc": "2.0", "method": method, "params": params or {}}
    if not notify: msg["id"] = next(ids)
    proc.stdin.write(json.dumps(msg) + "\n"); proc.stdin.flush()
    if notify: return None
    for line in proc.stdout:
        if line.startswith("{") and json.loads(line).get("id") == msg["id"]:
            return json.loads(line)["result"]
rpc("initialize", {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "me", "version": "0"}})
rpc("notifications/initialized", notify=True)
res = rpc("tools/call", {"name": "flow_status", "arguments": {}})
print(json.loads(res["content"][0]["text"]))

Only JSON-RPC frames are written to stdout; logs go to stderr and ~/.google-flow-mcp/logs.

🩺 Troubleshooting

SymptomWhat to do
NOT_LOGGED_IN / logged_in: falseSign in once in the Chrome window the server opened, then call flow_connect again
BROWSER_NOT_CONNECTED: CDP connect failed … TimeoutA tab with a frozen renderer blocks Playwright for everyone. Run npx -y @park-sang-gwon/google-flow-mcp doctor; it lists hung tabs; --close-hung closes them
UI_NOT_FOUND with rows in detailsFlow changed a label. Compare the rows with src/flow/labels.ts, add the new string (Korean/English), open a PR 🙏
REFERENCE_NOT_ATTACHEDThe path must be absolute and exist on this machine; large PNGs upload slowly — JPEG is faster
The agent keeps "announcing" but not generatingThe server nudges it twice; if it still stalls the settings' "confirm before generating" was not set to Never — rerun the tool
Two agents on one machineFine: each server owns one tab in the shared Chrome. Just keep their output_dirs apart

Logs: ~/.google-flow-mcp/logs/server-YYYY-MM-DD.log · screenshots of every phase and failure: ~/.google-flow-mcp/screenshots/.

❓ FAQ

Is this an official Google product? No. It is an unofficial automation of the Flow web UI; it uses no private API and does nothing you could not do by hand in the same browser.

Does it store my Google password? Never. You sign in inside Chrome; the session lives in the Chrome profile directory. Treat ~/.google-flow-chrome like a password store.

Can it download the finished scene from Scene Builder? Not in the current Flow build — the export renders but no file reaches an automated tab. Download the clips by media_id and concatenate locally (the seam is frame-exact).

Where is "Jump to"? The current Scene Builder menu only offers "Add clip" and "Extend", so there is nothing to automate yet.

Which Flow UI languages work? Korean and English are matched; other languages need their strings in src/flow/labels.ts — flow_inspect shows you exactly what is on screen.

🗺️ Roadmap

  • Adding a clip to an existing scene (asset picker)
  • Scene export once Flow lets an automated tab receive the file
  • Characters and the Tools gallery
  • More UI languages

🤝 Contributing

npm install
npm run check   # format · lint · typecheck · unit + stdio contract tests · docs freshness
npm run build
npx tsx scripts/call.ts flow_status         # run one tool over real stdio

See docs/development.md for the flow_inspect discovery loop and docs/architecture.md for the design. Live tests that touch Flow are gated behind FLOW_E2E=1. Please follow Conventional Commits (CONTRIBUTING.md).

📄 License

MIT. Google Flow, Veo and Nano Banana are trademarks of Google LLC; this project is not endorsed by or affiliated with Google.

Frequently asked questions

What is google-flow-mcp MCP Server?

Unofficial MCP server that drives Google Flow (labs.google Veo / Nano Banana) through your own Chrome session — video & image generation plus Scene Builder (extend, jump to, download)

How do I install google-flow-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. google-flow-mcp MCP Server runs locally from the npm package @park-sang-gwon/google-flow-mcp with the command npx -y @park-sang-gwon/google-flow-mcp@0.3.1.

Is google-flow-mcp MCP Server free and open source?

Yes. google-flow-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does google-flow-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for google-flow-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is google-flow-mcp MCP Server's trust score calculated?

google-flow-mcp MCP Server scores 43 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server