google-flow-mcp
google-flow-mcp enables automated AI video and image generation through Google Flow, along with media management, cost control, and scene assembly.
Media Generation
Generate still images for free, ideal for iteration.
Generate video clips (credit cost) with Text-to-Video, Frames-to-Video, or Ingredients-to-Video.
Estimate generation costs without charging.
Upscale clips to 1080p (free) or 4K (paid).
Collect parallel batch generations.
Project & Media Management
Create, list, and open projects.
Upload, list, download, and delete media assets within a project.
Read/modify project generation settings (model tier, aspect ratio, duration, outputs per prompt).
Cost Control & Budgeting
Set a credit budget to auto-reject expensive generations.
View a detailed spend ledger.
Check session status (login state, credit balance, generation gates).
Scenebuilder Assembly
Create scenes, add library clips in order, and export as MP4 (stitching free).
Advanced Features
Discover and directly call Flow's internal tRPC API for faster operations.
Browse and open Tools marketplace mini-apps (e.g., Type Overlays, Transition Machine) with cost acknowledgment.
Automate using Playwright for browser interactions.
Generates videos using Google Flow's Veo and Nano Banana models via browser automation, allowing users to create AI-generated videos by sending prompts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@google-flow-mcp generate a video of a cat playing piano"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š 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:
Click the address bar in your file explorer window.
Type
cmdand press Enter. A black window will appear.Type
npm installand press Enter. This process downloads the necessary components for the software.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.
Create a text file named
.envinside your project folder.Open this file with a text editor.
Paste your API key on a single line.
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:
Open the black command window in your project folder again.
Type
npm startand press Enter.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 installto 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 toolsflow_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 mapARead-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 budgetAIdempotent
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 sessionARead-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 libraryADestructive
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 APIARead-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 diskAIdempotent
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 payingARead-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)ADestructive
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 ledgerBRead-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 appsARead-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 mediaARead-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 projectsARead-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 appADestructive
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 projectAIdempotent
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 settingsAIdempotent
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 clipADestructive
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 HTTPARead-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
Scored across 24 tools
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.
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.
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.
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
Related MCP Connectors
Generate AI images, video, voiceovers and music from Claude, ChatGPT or Cursor through 50+ models (Veo 3.1, Kling 3, Seedance, Nano Banana, GPT Image, ElevenLabs). Also image editing, upscaling, background removal, face swap, transcription, voice cloning and UGC-style video ads. Sign in with OAuth ā no API key to paste. Tools are annotated (read-only vs. credit-spending); failed generations are refunded.
Image and video AI tools and your own pipelines, run from any AI assistant.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to iā¦
Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables video generation from text prompts or images using Google's Veo 3 API. Supports multiple models, audio generation, and various aspect ratios for creating high-quality videos.6,607 PyPI2MIT
- AlicenseAqualityDmaintenanceEnables AI-powered browser automation controlled through natural language, integrating Playwright with the Model Context Protocol to perform web interactions like navigation, form filling, and screenshots.10MIT
- AlicenseAqualityDmaintenanceEnables video generation from text prompts and image-to-video using Google Veo AI models via the Gemini API.62MIT
- FlicenseNot gradedqualityDmaintenanceEnables browser automation and testing using Playwright through the Model Context Protocol.-