Google Flow MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FLOW_MCP_DATA_DIR | No | Biến tương thích ngược cho thư mục dữ liệu; dùng khi chưa đặt DETI_PLUGIN_DATA_DIR. | |
| FLOW_MCP_HEADLESS | No | Chế độ chạy trình duyệt: auto / 1 (chạy ẩn mặc định, chỉ hiện cửa sổ nền khi flow_account_login); 0 (hiện cửa sổ khi gỡ lỗi). | auto |
| FLOW_MCP_LOG_LEVEL | No | Mức log ghi ra stderr: debug, info, warn, error, silent. | info |
| DETI_PLUGIN_DATA_DIR | No | Thư mục dữ liệu của plugin (ưu tiên cao nhất): lưu profiles/, jobs/, outputs/, diagnostics/. Mặc định là thư mục dữ liệu người dùng theo HĐH. | |
| FLOW_MCP_BROWSER_EXECUTABLE | No | Đường dẫn tuyệt đối tới tệp thực thi trình duyệt. Mặc định tự dò Chrome / Chromium / Brave / Edge. | |
| FLOW_MCP_INITIAL_WAIT_SECONDS | No | Trần chờ ban đầu cho tạo ảnh (1–25 giây, luôn giữ tổng thời gian lệnh ≤ 30 giây). | 15 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Google Flow operations must use this MCP server's flow_* tools exclusively.
Standard workflow:
Check authentication with flow_account_status (or proceed to generate and handle needs_login).
If authentication is missing (needs_login), call flow_account_login. It opens a minimized, unfocused browser window on the taskbar and returns waiting_for_login; ask the user to click the flashing browser window, finish Google sign-in, and confirm before calling flow_account_status.
Call flow_generate_image (Nano Banana default) or flow_generate_video (Veo default, 5-15s) with outputDir pointing to the caller's working/tmp directory (or omit to save in the plugin data directory).
Video and slow image jobs return a jobId with status queued or running. Poll flow_job_status with that exact jobId until status is done or failed; never resubmit a prompt while a job is still running.
On quota_exceeded, report the credit/quota limit clearly to the user and do not retry repeatedly. On blocked_prompt, inform the user and suggest rephrasing.
Never automate Google Flow through generic browser/Playwright/computer-use tools, never fabricate replacement images or videos with scripts, and run flow_doctor for local environment diagnostics.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| flow_doctorA | Inspect local environment health (Node.js version, detected Chrome/Chromium/Edge browser, plugin data directory, FFprobe, and Google Flow login session) without opening a browser. Run during installation or when troubleshooting errors. |
| flow_account_statusA | Check whether a Google Flow account is signed in and ready before generating media, or verify if an in-progress login window has finished. Call this before generation when unsure of login state. |
| flow_account_loginA | Open a minimized, unfocused browser window for interactive Google Flow sign-in and return waiting_for_login immediately. Only call when flow_account_status reports needs_login or when asked to connect/reconnect an account. |
| flow_account_logoutA | Sign out a Google Flow account, close its browser sessions, and delete its saved profile cookies. Only call when an administrator explicitly requests disconnecting or resetting an account. |
| flow_inspect_accountA | Inspect live models, aspect ratios, clip durations, and upscale options currently available in the connected Google Flow workspace. Call when verifying account-specific model options. |
| flow_generate_imageA | Generate new images or illustrations from a text prompt using Google Flow (defaults to Nano Banana) and save them to outputDir or the plugin data folder. Use when the user asks to create new images; poll flow_job_status if status is queued or running. |
| flow_generate_videoA | Start a Google Flow video generation job (defaults to Veo, 5-15s) with an optional input image and return a jobId promptly without blocking. Use when the user asks to generate a new video, then poll flow_job_status until done. |
| flow_job_statusA | Poll the status (queued, running, done, failed), progress percentage, and downloaded files of a Google Flow job. Call repeatedly with the same jobId until done or failed; never resubmit a running prompt. |
| flow_list_jobsA | List recent persisted Google Flow generation jobs filtered by account, status, or media type without opening a browser. Call when looking up a previously submitted jobId. |
| flow_upscale_videoA | Upscale an existing Google Flow video job to a higher resolution (1080p, 2x, 4k, or highest_available). Call only after flow_job_status confirms the video job is done. |
| flow_download_jobA | Download or re-download the exact tracked output files for an existing Google Flow job into its outputDir. Call when media files need to be retrieved again for a ready or completed job. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Most tools target a clearly distinct resource+action (generate image vs video, upscale, download, list, status, login/logout). The only soft overlap is flow_account_status vs flow_inspect_account and flow_doctor, which all report on account/environment state, but descriptions make the boundaries reasonably clear.
All tools share a consistent flow_ prefix and mostly follow verb_noun (flow_generate_image, flow_upscale_video, flow_download_job, flow_list_jobs, flow_account_login). A few are noun-first state checks (flow_job_status, flow_doctor), which is a minor deviation but still predictable.
11 tools is well within the ideal 3-15 range for a media-generation server. Each tool covers a distinct lifecycle step (setup, auth, generate, poll, list, upscale, download) with no filler.
The lifecycle is largely covered: diagnostics, account auth/inspect, image/video generation, job polling/listing, upscaling, and downloading. Notable gaps are job cancellation/deletion for stuck or unwanted jobs and upscaling for images (only video upscale exists).