Google Flow MCP
Provides a browser bridge to control Google Flow, allowing agents to open projects, type prompts, generate images and videos, wait for generation completion, and download generated media.
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 MCPGenerate a photorealistic image of a serene mountain lake, wait for it, and download it."
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
Clean MCP server for Google Flow (labs.google/fx/tools/flow) — a thin browser bridge that lets AI agents (Codex, Claude Code, Antigravity) control Google Flow directly using your Google Pro account.
No API. No third-party services. Just your browser, your account, your credits.
What It Can Do
Tool | What it does |
| Navigate to Flow, or a specific project |
| See all UI elements and generated media on screen |
| Click any button, menu item, or card |
| Type a prompt into any input field |
| Upload a local file (reference image, etc.) |
| Save a generated image or video to disk |
| Wait for generation to finish |
| Authorize a paid Veo/Omni generation (safety guard) |
Related MCP server: Cloudflare Playwright MCP
Setup
1. Install & Build
cd "/Volumes/Xstorage/MCP - Googel Flow 2"
npm install
npm run build2. Configure Environment
cp .env.example .envEdit .env — set LOCAL_STORAGE_ROOT to wherever you want images saved.
3. One-Time Google Login
npm run loginChrome opens. Sign into your Google account and navigate to labs.google/fx/tools/flow.
Close the script with Ctrl+C when done. Your session persists forever (or until Google forces re-auth).
Platform Integration
Antigravity IDE
Add to ~/.gemini/antigravity-ide/mcp_config.json:
{
"mcpServers": {
"google-flow": {
"command": "node",
"args": ["/Volumes/Xstorage/MCP - Googel Flow 2/dist/index.js"],
"env": {
"LOCAL_STORAGE_ROOT": "/Volumes/Xstorage/Media",
"HEADLESS": "false"
}
}
}
}Codex (ChatGPT Desktop)
Add to ~/.codex/config.toml:
[mcp_servers.google-flow]
command = "node"
args = ["/Volumes/Xstorage/MCP - Googel Flow 2/dist/index.js"]
startup_timeout_sec = 30
[mcp_servers.google-flow.env]
LOCAL_STORAGE_ROOT = "/Volumes/Xstorage/Media"
HEADLESS = "false"Restart Codex to pick up.
Claude Code (Desktop App)
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"google-flow": {
"command": "node",
"args": ["/Volumes/Xstorage/MCP - Googel Flow 2/dist/index.js"],
"env": {
"LOCAL_STORAGE_ROOT": "/Volumes/Xstorage/Media",
"HEADLESS": "false"
}
}
}
}Restart Claude to pick up.
Example Agent Workflow
Tell the agent (Codex, Claude, Antigravity):
"Open Google Flow, type this prompt into the image composer: 'cinematic wide shot of ancient Greece at sunset, photorealistic', generate the image, wait for it to finish, and download it to /Volumes/Xstorage/Media"
The agent will chain:
flow_open → flow_snapshot → flow_type → flow_click → flow_wait → flow_downloadFor paid Veo video generation, the agent will call flow_confirm_paid_generation first and ask your approval.
Development
npm run dev # Run without building (tsx)
npm run build # Compile to dist/
npm run typecheck # Type check only
npm run login # One-time Chrome Google loginLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Related MCP Servers
- AlicenseAqualityDmaintenanceControls Google Flow for image and video generation from an AI agent. Enables generating images with models like Imagen 4, creating videos, managing characters and scenes via browser automation.1759 npm68MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to control a browser for web automation tasks like navigation, typing, clicking, and taking screenshots.-
- AlicenseAqualityDmaintenanceEnables AI agents to drive Google Flow through a real Chrome profile to generate images, videos, characters, and scenes without sharing credentials.196 npmMIT
- 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.271MIT