FlowPilot MCP Server
Drives Google Flow to generate AI images and videos using the user's own logged-in Google account and Flow subscription credits. Exposes tools for image generation (Nano Banana models), video generation (Veo and Omni models with configurable ratio, resolution, duration, start/end frames, ingredients, characters and upscaling), listing live available models, checking credit spending, and managing a queue of generation jobs. All processing happens through the user's own browser session, with no API keys needed.
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., "@FlowPilot MCP Servergenerate a 4-second video of ocean waves rolling onto a beach at sunset"
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.
FlowPilot
FlowPilot is a local service that drives Google Flow (AI image and video generation) through your own logged-in Chrome, using your own Flow subscription credits. It is usable from a CLI (flowpilot), a local HTTP API (127.0.0.1 only, protected by a token) and an MCP server for AI assistants (Claude Code, Codex, Cursor and others).
Status: beta
Requirements
Windows 10/11, or macOS/Linux (first-class Windows support)
Node.js 22.12 or newer
Google Chrome
A Google account with access to Google Flow
Google AI subscription credits for video generation (image generation with Nano Banana models costs 0 credits)
Related MCP server: google-flow-mcp
Install
npm install -g Rocco3D/FlowPilotOr install from source:
git clone https://github.com/Rocco3D/FlowPilot.git
cd FlowPilot
npm install
npm run build
npm linkAfter installation, flowpilot is available in your terminal.
First sign-in
Sign in with your Google account:
flowpilot loginThis opens a plain Chrome window where you can sign in with Google. If Flow shows terms to accept, accept them. Close the window when done, then verify the setup:
flowpilot doctorThis checks that Chrome is running, the API connection works, and you're signed in.
Generate
Image generation
flowpilot image --prompt "A serene landscape at sunset" --model "Nano Banana 2" --ratio 1:1Video generation
flowpilot video --prompt "A cat walking through a sunny garden" --model "Veo 3.1 - Lite" --ratio 16:9Read the prompt from a file instead of the command line:
flowpilot video --prompt-file prompt.md --model "Veo 3.1 - Lite"Omni (universal generation)
flowpilot video --prompt "A flowing waterfall" --model "Omni 1.1 Flash" --resolution 720p --duration 4Advanced options
--ratio 16:9: Aspect ratio (image and video; default is model-dependent)--resolution 720p: Omni resolution, when Flow offers a choice (for example 360p or 720p)--duration 4: Video duration in seconds--outputs 2: Generate multiple outputs (1–4)--start-frame path.jpg: Starting frame for video continuation--ingredient path.jpg: Reference image for style--character "Character Name": Reference character--no-wait: Submit the job and exit immediately (by default, the CLI waits for the job to finish)--json: Output JSON instead of human-readable text--out ~/Downloads: Save results to a custom folder (default: configured output folder)--upscale 4k: Upscale the result (1080p or 4k)--max-credits 50: Per-job credit limit (overridden by--confirm)
Models and credits
Models and their credit costs as of October 2026:
Video models:
Omni 1.1 Flash: 720p, durations 4/6/8/10 seconds, 7–15 credits (Flow sometimes also offers 360p, 4–7 credits; with a start/end frame only 720p and 4/6/8 seconds)
Veo 3.1 - Lite: 720p, 8 seconds, 10 credits
Veo 3.1 - Fast: 720p, 8 seconds, 20 credits
Veo 3.1 - Quality: 720p, 8 seconds, 100 credits
All video models support audio.
Image models:
Nano Banana Pro: 0 credits on Google AI Pro
Nano Banana 2: 0 credits on Google AI Pro
Nano Banana 2 Lite: 0 credits on Google AI Pro
List available models
flowpilot modelsThis reads the live list from Flow.
Credit guard
FlowPilot protects your account with two limits:
Per-job limit (default 20 credits): Jobs that exceed this are rejected unless you pass
--confirmMonthly limit (default 1000 credits): If you're approaching the monthly limit, jobs are rejected unless you pass
--confirm
Check your spending:
flowpilot creditsJobs and the service
One Flow session runs at a time. Jobs run one at a time in a queue.
The CLI automatically starts the background service if it is not running. You can also manage it manually:
flowpilot service start
flowpilot service stop
flowpilot service statusManage jobs
List all jobs (newest first):
flowpilot jobsGet details of a specific job:
flowpilot job <id>Cancel a queued job:
flowpilot cancel <id>Cancelling a job that is already running or downloading has no effect.
Service shutdown
Stop the service and close the browser window:
flowpilot service stopThe service also stops automatically after being idle for a configured number of minutes (default 30; set to 0 to disable).
Configuration
All settings can be read and changed with flowpilot config:
flowpilot config get # Show all settings
flowpilot config get outputDir # Show one setting
flowpilot config set outputDir ~/Videos # Change a settingKey | Default | Meaning |
|
| Where to save generated files |
| (auto) | Default model for |
| (auto) | Default model for |
| 1 | Number of outputs per job (1–4) |
| 20 | Per-job credit limit |
| 1000 | Monthly credit budget |
| (auto) | Language: |
| 47820 | HTTP API port |
| info | Log level: debug, info, warn, error |
| true | Auto-accept rights dialog for uploads |
| 30 | Minutes before the service auto-stops (0 = never) |
| false | Show the automation window (normally off-screen) |
Changes to idleMinutes and showBrowser take effect the next time the service starts (after flowpilot stop or an idle shutdown).
Languages
FlowPilot is available in English and Italian.
The interface language is chosen from:
flowpilot config set locale enorlocale itEnvironment variable:
FLOWPILOT_LANG=enorFLOWPILOT_LANG=itSystem language (if Italian, uses Italian; otherwise English)
Use from other apps
Local HTTP API
The local HTTP API on http://127.0.0.1:47820 lets you integrate FlowPilot with other tools. Full reference: docs/api.md
MCP server for AI assistants
Run FlowPilot as an MCP server for Claude Code, Codex, Cursor and other AI assistants:
Claude Code:
claude mcp add flowpilot -- flowpilot mcpFull reference: docs/mcp.md
Self-test and troubleshooting
Test the setup without spending credits:
flowpilot selftestThis checks that Flow's UI is responding and that selectors are correct.
If Flow's UI changes
All DOM selectors for Flow live in one file: src/flow/selectors.ts. If Flow changes its layout, FlowPilot will fail at a specific step. The selectors can be updated without changing any other code.
Logs
Logs are written to the data folder:
Windows:
%LOCALAPPDATA%\FlowPilot\logsmacOS:
~/Library/Application Support/FlowPilot/logsLinux:
~/.local/share/flowpilot/logs
Logs are organized by day. A JSON summary is written next to every job result.
Uploads and Google's rights confirmation
When a job uses reference files (start/end frame, ingredients), Flow asks you to confirm that you have the rights to each uploaded file and that you comply with Google's Prohibited Use Policy. FlowPilot clicks "I agree" automatically by default, so that queued jobs can run unattended. By using reference files you make that declaration yourself.
To turn this off, run flowpilot config set acceptUploadRights false. Jobs with uploads then stop with an explanation.
Disclaimer
FlowPilot is unofficial. It is not affiliated with or endorsed by Google. It automates your own Google Flow session in your own browser, and you are responsible for complying with Google's Terms of Service.
License
The code and documentation are released under the MIT License, see LICENSE.
Logos and names are excluded: the FlowPilot logo, the Rocco logo and the name Rocco™ (files in assets/brand/) are not covered by the MIT License. All rights reserved; they may not be reused without permission. See assets/brand/NOTICE.md.
Credits
FlowPilot started from and was inspired by gflow-cli by swissmarley (MIT License), which showed how to drive Google Flow through a real, signed-in Chrome session. Parts of the browser session and Flow automation code are derived from it; see THIRD_PARTY_NOTICES.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI image, video, voice and music generation over MCP, routed to Veo 3.1, Seedance 2.5 and more.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Multi-model AI image and video generator. 14 models behind one OAuth-secured MCP endpoint.
Generate AI images and videos from any compatible MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to drive Google Flow through a real Chrome profile to generate images, videos, characters, and scenes without sharing credentials.1912 npmMIT
- AlicenseBqualityCmaintenanceMCP server that lets AI agents control Google Flow for generating images and videos using the user's own Google account. It provides tools for image generation, video creation, character and scene management, and UI discovery.171MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that enables AI agents to control Google Flow for image and video generation using your own Google account.116 npm1MIT
- AlicenseAqualityAmaintenanceEnables AI agents to programmatically generate images and videos through the authenticated Google Flow web interface via a direct Chrome DevTools Protocol connection, exposing tools for media generation, project management, status checks, and asset downloads without requiring official API keys.71MIT