Google Flow MCP Server
Enables generating images and videos through Google Flow using a local Chromium browser profile and an authenticated Google account, with tools for account status/login/logout, job status/listing/download, model inspection, and video upscaling.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Deti Google Flow MCP Plugin (@deti/google-flow-mcp)
English documentation · Changelog · License (MIT)
Plugin MCP chuẩn kho plugin Deti (transport stdio, khai báo tại deti-plugin.json) để tạo ảnh (Nano Banana) và tạo video (Veo / Omni Flash) bằng Google Flow qua hồ sơ trình duyệt Chromium cục bộ tách biệt — không cần API key tạo media, không lưu mật khẩu Google.
Tính năng chính
Máy chủ MCP chuẩn
stdiovới tiền tốflow_, JSON Schema đầu vào đầy đủ (enumcho model, tỉ lệ, độ phân giải),outputSchema+structuredContent, vàannotations(readOnlyHint,destructiveHint,openWorldHint).Tạo ảnh & video bất đồng bộ không treo lượt: mọi lời gọi MCP hoàn tất trong ≤ 30 giây; video trả
jobIdngay kèm hỗ trợnotifications/progress(khi client cóprogressToken) và hỏi lại quaflow_job_status.Chạy ẩn (headless) mặc định: mọi thao tác bình thường chạy nền hoàn toàn; chỉ khi cần đăng nhập (
flow_account_login) mới mở cửa sổ trình duyệt thu nhỏ / nằm sau (không chiếm focus, nhấp nháy trên thanh tác vụ) và tự đóng phiên headless trùng hồ sơ trước đó.Tách dữ liệu khỏi mã nguồn: hồ sơ trình duyệt, cookie, phiên đăng nhập, danh sách job và tệp đầu ra mặc định lưu trong
DETI_PLUGIN_DATA_DIR.Bảo mật & an toàn: không log cookie / token / email, không viết cứng tài khoản hay đường dẫn máy, trả mã lỗi rõ (
needs_login,quota_exceeded,timeout,blocked_prompt…) mà không lộ stack trace.
Related MCP server: google-flow-mcp
Yêu cầu môi trường
Node.js
>= 20(khuyến nghị Node 22+)Trình duyệt nhân Chromium đã cài sẵn trên máy (Google Chrome, Chromium, Brave, hoặc Microsoft Edge) — không cần tải Chromium riêng của Playwright
Tuỳ chọn:
ffprobetrongPATH(để đo thêm codec và thời lượng video; ảnh vẫn tự đọc đượcwidth/heightmà không cầnffprobe)
Cài đặt
1. Cài từ trang quản trị Deti (Khuyến nghị)
Plugin khai báo đầy đủ tại deti-plugin.json. Khi cài từ kho plugin Deti, hệ thống tự chạy:
npm ci
npm run buildvà kiểm tra sức khoẻ bằng công cụ flow_doctor.
2. Cài đặt & biên dịch cục bộ trên máy bất kỳ
npm ci
npm run buildChạy thử & kiểm tra
Kiểm tra bằng MCP Inspector CLI
# Liệt kê danh sách công cụ & JSON Schema
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list
# Kiểm tra môi trường (Node, trình duyệt, thư mục dữ liệu, phiên đăng nhập)
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/call --tool-name flow_doctorChạy bộ kiểm thử tự động
npm run checkChạy bằng CLI cục bộ (tuỳ chọn)
npm run doctor
npm run cli -- browser detect
npm run cli -- account list
npm run cli -- job list --limit 10Bộ công cụ MCP (flow_*)
Công cụ | Mục đích | Quyền mặc định trong |
| Tạo ảnh mới (mặc định |
|
| Tạo video mới (mặc định |
|
| Tra trạng thái job ( |
|
| Kiểm tra phiên đăng nhập Google Flow hiện tại hoặc xác nhận login vừa hoàn tất |
|
| Mở cửa sổ trình duyệt nằm sau (không lấy focus) để đăng nhập Google Flow, trả |
|
| Đăng xuất và xoá sạch hồ sơ trình duyệt / cookie của tài khoản |
|
| Kiểm tra Node.js, Chrome/Edge, FFprobe, thư mục dữ liệu và trạng thái phiên |
|
| Soi danh sách model, tỉ lệ, thời lượng và mức upscale thực tế trên workspace |
|
| Liệt kê các job đã lưu (lọc theo tài khoản, trạng thái, loại media) |
|
| Upscale video đã hoàn tất lên |
|
| Tải lại đúng tệp kết quả của job theo định danh đã ghi nhận |
|
Biến môi trường
Biến | Mặc định | Ý nghĩa |
| Thư mục dữ liệu người dùng theo HĐH | Thư mục dữ liệu của plugin (ưu tiên cao nhất): lưu |
| (dùng khi chưa đặt | Biến tương thích ngược cho thư mục dữ liệu |
| Tự dò Chrome / Chromium / Brave / Edge | Đường dẫn tuyệt đối tới tệp thực thi trình duyệt |
|
|
|
|
| Mức log ghi ra |
|
| Trần chờ ban đầu cho tạo ảnh ( |
Giới hạn
Cần trình duyệt Chromium cục bộ: máy chạy plugin phải có sẵn Google Chrome, Chromium, Brave hoặc Microsoft Edge.
Cần tài khoản Google có quyền truy cập Google Flow: lần đầu sử dụng (hoặc khi phiên hết hạn), quản trị viên/người dùng cần đăng nhập tương tác qua
flow_account_login.Phụ thuộc giao diện web Google Flow: plugin điều khiển Google Flow qua trình duyệt cục bộ; khi Google thay đổi DOM lớn, cần cập nhật bảng selector tại
src/flow/selectors.ts.Hạn mức tín dụng (credits / quota): mỗi tài khoản chịu giới hạn tín dụng của Google AI; khi gặp
quota_exceededcần dừng thử lại.Tác vụ video bất đồng bộ: video Veo thường mất 30–180 giây để render trên máy chủ Google nên
flow_generate_videoluôn trảjobIdngay để client hỏi lại quaflow_job_status.Không thay thế công cụ sửa ảnh cục bộ: dùng cho tạo ảnh/video mới; các thao tác cắt, ghép chữ, đổi kích thước hay tách nền ảnh có sẵn nên dùng công cụ xử lý ảnh chuyên dụng.
Cấu trúc thư mục
deti-plugin.json # Khai báo plugin chuẩn kho Deti (v7.2 stdio)
icons/google-flow.svg # Biểu tượng plugin
guides/google-flow/ # Hướng dẫn ngắn gọn cho AI Agent (vi.md, en.md)
src/
├── config/ # Biến môi trường & hằng số enum
├── domain/ # Kiểu dữ liệu, mã lỗi chuẩn, phân giải model & đường dẫn thuần
├── infra/ # Logger che dữ liệu nhạy cảm, store, file lock, trình duyệt, media probe
├── flow/ # Selector & driver điều khiển Google Flow
└── mcp/ # Máy chủ MCP stdio, schemas, outputSchema, 11 tool flow_*
tests/ # Unit test, test schema/lỗi MCP, test MCP InspectorTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Make AI images and videos with Nano Banana, GPT Image, Veo, Kling and more, using your credits.
Generate images and videos with 14 models (Nano Banana Pro, Seedance, Veo, FLUX) on one key.
71Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI image and video generation using Google Nano Banana and Veo 3.1 via a LiteLLM gateway, providing tools for synchronous image generation and asynchronous video generation with polling, returning public URLs.4MIT
- AlicenseAqualityCmaintenanceEnables video generation using Google AI tools (Veo, Nano Banana) via the Model Context Protocol, with browser automation powered by Playwright.242MIT
- AlicenseNot gradedqualityBmaintenanceEnables generating and editing images and videos via Google Cloud models like Nano Banana, Gemini Omni, and Veo 3.1, with setup for Claude Code, Cursor, and Codex.1,007 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables generation and editing of Nano Banana images and Omni Flash / Veo 3.1 videos through a real browser session, with character consistency, storyboards, 2K/4K upscaling, and background job handling for long renders. Includes a strict credit budget cap and confirmation gate so paid video generation never runs unapproved.MIT