Skip to main content
Glama

🌐 google-flow-mcp - Generate videos using Google AI tools

This tool connects your local computer to Google Flow. It allows you to create videos using artificial intelligence through the Model Context Protocol. You can trigger tasks like video generation and model interaction directly from your desktop.

āš™ļø System Requirements

Before you install this software, ensure your computer meets these requirements:

  • Windows 10 or Windows 11.

  • A stable internet connection.

  • At least 4GB of free disk space.

  • Node.js installed on your machine.

If you do not have Node.js, search for "Node.js download" on Google and install the LTS version. This program requires Node.js to communicate with the Google services.

Related MCP server: Playwright Automation MCP Server

šŸ“„ Downloading the Software

To get started, navigate to the main project page.

Visit this page to download the software

On this page, look for the green button labeled "Code" toward the top right side. Click this button and select "Download ZIP". Save this file to your computer. Once the download finishes, move the file to a folder where you keep your programs. Right-click the folder and select "Extract All".

šŸ› ļø Setting Up the Tool

After you extract the files, open the folder on your computer. You will see a file named package.json. Follow these steps to prepare the tool:

  1. Click the address bar in your file explorer window.

  2. Type cmd and press Enter. A black window will appear.

  3. Type npm install and press Enter. This process downloads the necessary components for the software.

  4. When the process finishes, the software is ready for use.

šŸ”‘ Configuring Your Account

This software requires a connection to your Google account to function. You must provide your API credentials to allow the tool to generate content.

  1. Create a text file named .env inside your project folder.

  2. Open this file with a text editor.

  3. Paste your API key on a single line.

  4. Save the file and close it.

The software uses a credit-cost gate. This means every video generation request uses a specific amount of your available credits. Check your Google Cloud console to view your remaining balance and ensure your billing settings remain active.

šŸš€ Running the Application

To start the software, follow these steps:

  1. Open the black command window in your project folder again.

  2. Type npm start and press Enter.

  3. The software will connect to the internal tRPC API automatically.

You will see status messages confirm the connection. If you see a line stating "Server ready," the tool is active. You can now use your preferred AI interface to send prompts to the server. The software handles the connection, communicates with the Google Flow system, and processes your video requests.

šŸ–„ļø Using the Automation Features

The software leverages Playwright to handle web interactions. It simplifies the process of creating videos by managing the browser tasks for you. When you send a command, the tool:

  • Launches a background browser session.

  • Navigates to the Google Flow interface.

  • Inputs your prompts into the Veo or Nano Banana models.

  • Downloads the generated video file to your local computer.

Monitor the command window to see the progress of your video generation. The software will notify you when the file is ready for viewing.

šŸ” Troubleshooting Common Issues

If the software fails to start, verify these items:

  • Check your internet connection.

  • Ensure your API key is correct and valid.

  • Confirm that no other programs are using the local port required by the tool.

  • Re-run npm install to ensure all components are updated.

If you encounter errors during video generation, check your credit balance. The Google Flow system will reject requests if your account lacks sufficient funds.

šŸ›”ļø Security and Privacy

This tool runs locally on your machine. Your prompts and private keys stay within your control. The software only sends necessary data to Google to request the video generation service. Do not share your .env file or your API keys with others. Keep these credentials private to prevent unauthorized access to your billing account.

Keywords: ai-agents, browser-automation, claude, google-flow, mcp, model-context-protocol, playwright, typescript, veo, video-generation

Available Tools

24 tools
flow_add_clips_to_sceneAdd clips to the open sceneA

Add library clips, in order, to the currently open Scenebuilder scene. FREE — stitching costs nothing. This never touches Scenebuilder's 'Extend', which does cost 40 credits.

Inputs: media_ids (required).

flow_api_mapRead the learned API mapA
Read-onlyIdempotent

Return the tRPC endpoints previously learned by flow_discover_api, with their input/output key shapes and transport tier.

Inputs: response_format.

flow_budgetRead or set the credit budgetA
Idempotent

Read the run's credit ceiling and spend, or change them. The ceiling is enforced before every approval: a generation that would exceed it is rejected and never charged. Raise it only on explicit instruction from whoever owns the account.

Inputs: action, ceiling, response_format.

flow_check_sessionCheck Flow sessionA
Read-onlyIdempotent

Report whether Google Flow is reachable and safe to spend credits in: browser attached, signed in, credit balance, active project, and — critically — whether Flow's 'Confirm before generating' gate is on. Call this first in any Flow session. Never charges.

Inputs: response_format.

flow_collectCollect clips submitted with no_waitA

Wait for media that is not in the supplied known_media_ids list to appear in the project library, then download it. Use after submitting a parallel batch with flow_generate_video(no_wait=true). Charges nothing — the credits were already committed at approval.

Inputs: known_media_ids (required), out_dir.

flow_create_projectCreate a Flow projectA

Create a new Flow project. Free. Worth doing per batch: Flow's chat anchors hard on people and settings from earlier images in the same project chat, and a fresh project is the cleanest way to break that carry-over.

Inputs: name.

flow_create_sceneCreate a Scenebuilder sceneA

Create a new Scenebuilder scene for stitching clips. FREE. Flow's chat agent cannot do this — it is a UI-only surface.

Inputs: no named parameters.

flow_delete_mediaDelete media from the project libraryA
Destructive

Permanently remove media from the Flow project library. Deletion cannot be undone and a deleted clip cannot be reliably re-added to a scene, so only delete what has been explicitly ruled out.

Inputs: media_ids (required).

flow_discover_apiDiscover Flow's internal APIA
Read-only

Record which tRPC endpoints Flow's own frontend calls while the app is exercised, and write a reusable API map. Observation only — it submits nothing and charges nothing. Run this after any Flow redeploy, or when another tool reports a 404 on a procedure. Only endpoint shapes are stored; no prompts, media, or tokens.

Inputs: navigate, duration_seconds.

flow_downloadDownload media to diskA
Idempotent

Resolve a Flow media id to its signed CDN url and write the bytes to disk, verifying the file is genuinely image or video data. Use this rather than Flow's Download button, which frequently writes nothing in an automated profile. Never charges.

Inputs: media_id (required), out_file (required).

flow_estimate_costPrice a generation without payingA
Read-only

Submit a request to Flow, read the quoted credit cost from its proposal, then REJECT it. Costs exactly zero — a rejected proposal is never charged. Use this to confirm the project's model tier before committing to a batch.

Inputs: prompt (required).

flow_export_sceneExport the open Scenebuilder sceneA

Export the currently open Scenebuilder scene to an MP4 on disk. Stitching clips is FREE — only Scenebuilder's 'Extend' costs credits, and this tool never uses it. Captures the export job's video payload directly, since Flow's export never writes a file itself.

Inputs: out_file (required), timeout_seconds.

flow_generate_stillGenerate still images (free)A

Generate still images in Flow. Stills cost ZERO credits, so this is the sandbox where composition should be iterated until right — always compose in stills before spending anything on video. Downloads the results and returns local file paths.

Inputs: prompt (required), out_file, timeout_seconds.

flow_generate_videoGenerate video (SPENDS CREDITS)A
Destructive

Generate a video clip in Flow. THIS SPENDS REAL CREDITS. The cost quoted by Flow is read and checked against expected_max_cost and the run budget BEFORE approval; if it exceeds either, the proposal is rejected and nothing is charged. The generation MODE is set by what you attach: start_frame_media_id gives Frames-to-Video (preserves the approved composition — the normal path), reference_media_ids gives Ingredients-to-Video (recomposes from up to 3 references), and attaching nothing gives Text-to-Video (least control). Compose in free stills first and animate an approved still rather than generating blind. Never call this twice for the same clip while one is in flight — a resubmit is a second charge. Model tier and aspect ratio are per-project settings; set them with flow_settings, not here.

Inputs: prompt (required), expected_max_cost (required), no_wait, out_file, +4 more.

flow_ledgerRead the spend ledgerB
Read-onlyIdempotent

Return the append-only log of every generation this server attempted: prompt, quoted cost, actual charge, verdict, and files. The audit trail for credit spend.

Inputs: limit, response_format.

flow_list_appsList Flow's Tools marketplace appsA
Read-onlyIdempotent

List the mini-apps in the current project's Tools gallery (Type Overlays, Transition Machine, Stringout Creator, Video Resizer, Shader Effects, Image Editor, Mask Magic, Storyboard Studio, and any custom tools). Listing is free. WARNING: the gallery quotes no prices and some apps call Veo internally, so running one can charge an unquoted amount.

Inputs: response_format.

flow_list_mediaList project library mediaA
Read-onlyIdempotent

List media in the currently open Flow project, with ids usable by flow_download and flow_delete_media. Never charges.

Inputs: limit, offset, response_format.

flow_list_projectsList Flow projectsA
Read-onlyIdempotent

List Flow projects visible on the current page, with their ids. Free. Settings and media libraries are per-project, so knowing the id matters.

Inputs: response_format.

flow_open_appOpen a Flow Tools appA
Destructive

Open one of Flow's Tools-gallery apps and hand control back to a human. Requires acknowledge_unknown_cost=true because the gallery quotes no prices and some apps call Veo internally. This deliberately does NOT drive the app's own form — each app has a bespoke UI, and blind-clicking through an unknown form that may call Veo is how an unbounded charge happens. Credit balance is measured before and after.

Inputs: app_name (required), acknowledge_unknown_cost.

flow_open_projectOpen a Flow projectA
Idempotent

Switch the browser to a Flow project by id. Free. Settings are per-project, so re-read flow_settings after switching rather than assuming the model tier carried over.

Inputs: project_id (required).

flow_settingsRead or change project generation settingsA
Idempotent

Read or change Flow's per-PROJECT generation settings: model tier, aspect ratio, and outputs per prompt. These are project globals, not per-generation arguments — set once, they persist across chat turns. Changing the tier is free and is the highest-leverage cost control there is: moving a project from Veo Quality to Fast turns every subsequent clip from 100 credits into 20. Re-read this after switching projects.

Inputs: model, action, aspect_ratio, response_format, +2 more.

flow_upload_mediaUpload a local image into FlowA

Upload a local image file into the Flow project so it can be used as a start frame or reference. Free. After upload, confirm the resulting media id with flow_list_media before animating it.

Inputs: file_path (required).

flow_upscaleUpscale a clipA
Destructive

Upscale a generated clip. 1080p is FREE on paid plans and should always be taken at download. 4K costs 50 credits, is Ultra-plan only, and is rarely worth it for social content. NOTE: Flow does not show an approval card for upscales, so a 4K upscale bypasses the quote gate — it is charged directly and verified against the balance afterwards.

Inputs: media_id (required), target, acknowledge_4k_cost.

flow_verify_http_tierPromote endpoints to direct HTTPA
Read-onlyIdempotent

Test whether discovered read-only GET endpoints work from Node with the browser's cookies alone, so later calls can skip the page entirely (faster, parallelisable). Mutations are never tested, because replaying one could generate and charge.

Inputs: procedures (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 24 tools

    Disambiguation5/5

    Every tool has a clear, distinct purpose. Even related tools like flow_list_media, flow_download, and flow_collect serve different roles (listing, downloading specific files, waiting for new media). No two tools are easily confused.

    Naming Consistency5/5

    All tools follow a consistent snake_case pattern with the 'flow_' prefix, and most use verb_noun structure. A few tools like flow_collect and flow_download are just verbs, but they remain clear and do not disrupt overall consistency.

    Tool Count4/5

    With 24 tools, the set is comprehensive but slightly on the high side. However, each tool serves a specific function in the Flow workflow, from session management to generation, export, and admin. No tool feels superfluous.

    Completeness5/5

    The tool surface covers the entire lifecycle: session setup, API discovery, project/scene creation, media generation (still, video, upscale), media management, cost control, budget, export, and settings. No obvious gaps for the intended domain.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers