google-flow-mcp

v0.3.1
@park-sang-gwon/google-flow-mcp Checked 4 days ago Published 3 months ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

flow_connect Connect to Google Flow

Attach to the dedicated Chrome (launching it if needed), open a tab owned by this server and load Google Flow. Other tools connect on demand, so this is mainly a warm-up and login check. If logged_in is false, sign in once in the Chrome window.

ParameterTypeDescription
open_urlstringURL to open instead of the Flow home page (e.g. a project URL)

flow_status Connection status

Report browser connection, login state, the current Flow project/scene, the running tool and in-flight jobs. Never touches the page.

flow_screenshot Screenshot the Flow tab

Save a PNG of the tab this server owns and return its absolute path. Useful to see what the agent or Scene Builder is showing.

ParameterTypeDescription
full_pagebooleanCapture the whole scrollable page instead of the viewport
labelstringShort label used in the file name

flow_inspect Inspect the Flow UI

Snapshot interactive elements, optionally perform one action (click/hover a button matched by text or aria-label regex, press a key, or navigate), then return the elements that appeared/disappeared. This is how selectors are discovered when Flow changes its UI; paste the rows into a bug report. Never generates anything.

ParameterTypeDescription
actionstring
atarrayViewport coordinates [x, y] to click/hover instead of a target (from a previous row @x,y)
findstringRegex over visible text nodes; matches are returned with their position
keystringKey to press for action=press, e.g. Escape
mediabooleanAlso list the project grid tiles (index, kind, title)
regionstringRestrict rows to a viewport region
screenshotboolean
settle_msintegerWait after the action before the second snapshot
targetstringRegex matched against button/menu item text and aria-label (for click/hover), or "media:<tile title>" to target a media tile
textstringText to type for action=type (after clicking target/at if given)
urlstringURL for action=goto
watch_networkbooleanRecord network requests made during the action and settle window (method, status, type, URL)

flow_project_open Open a Flow project

Navigate the owned tab to a Flow project URL and report how many media items the grid shows. Generation tools call this implicitly.

ParameterTypeDescription
project_url *stringhttps://flow.google.com/project/<uuid> (the old labs.google link also works)

flow_generate_video Generate a video

Generate one video through the Flow agent composer and download it. Spends Flow credits when auto_confirm=true. Call with auto_confirm=false first: the prompt, settings and reference image are prepared and verified but nothing is sent. resume=true skips the composer and only waits for / downloads an in-flight generation (after a crash or timeout).

ParameterTypeDescription
output_dir *stringLocal directory for the downloaded file (flow_<id8>_<job>.mp4)
project_url *stringProject the video is generated in; outputs are saved to that project
prompt *stringScene description; the tool wraps it into an instruction with model/ratio/duration
auto_confirmbooleanfalse = prepare only (0 credits); true = send and wait
durationSeconds; 10 is Omni Flash only
edit_modebooleanEdit the last video of the current agent session instead of generating a new one
job_idstringJob to resume; defaults to the latest in-flight job for project_url + output_dir
modelstring
ratiostring
reference_imagesarrayLocal image paths attached as the first frame / reference
resumeboolean

flow_generate_image Generate an image

Generate images through the Flow agent composer (Nano Banana models) and download them. Spends Flow credits when auto_confirm=true; auto_confirm=false prepares and verifies without sending. resume=true only waits for / downloads an in-flight generation.

ParameterTypeDescription
output_dir *string
project_url *string
prompt *string
auto_confirmboolean
countintegerNumber of images to request
job_idstring
modelstring
ratiostring
reference_imagesarrayLocal image paths attached as visual references
resumeboolean

flow_media_download Download a media item

Download one Flow media item (video or image) by its Flow media uuid using the logged-in browser session. Uuids come from flow_project_open (image tiles expose one; video tiles do not).

ParameterTypeDescription
media_id *stringFlow media uuid
output_dir *string
suffixstringTrailing part of the file name: flow_<id>_<suffix>.<ext>

flow_scene_add Create a scene from a clip

Open a project media item's menu and "Add to Scene → Create scene", then open the new Scene Builder view. Returns the scene URL to pass to flow_scene_extend / flow_scene_status / flow_scene_download. Costs no credits.

ParameterTypeDescription
media_id *stringThe 8-char media id of a clip this server downloaded, or the tile title Flow shows for it
project_url *string

flow_scene_status Read a scene timeline

Open a Scene Builder view and report its clips (index, duration) and total length, plus whether an extension is still rendering. Costs no credits.

ParameterTypeDescription
scene_url *string

flow_scene_extend Extend the last clip of a scene

Scene Builder "Extend": generates a 7-second continuation of the clip at after_clip_index (must be the last clip) with Veo 3.1 - Lite and downloads it as a separate media file. Spends credits when auto_confirm=true; auto_confirm=false opens the extend prompt, fills it, takes a screenshot and cancels. Safe to retry: if the extension was already generated (clip present at after_clip_index+1, or resume=true after a crash) it is downloaded instead of generated again.

ParameterTypeDescription
after_clip_index *integerIndex of the clip to extend (0-based); must be the last clip
output_dir *string
prompt *stringWhat happens next; Flow continues motion and audio from the last frames
scene_url *string
auto_confirmboolean
job_idstring
resumeboolean