Google Flow MCP Server
Integrates with Google Flow to generate production-quality images and videos using Imagen 3/4 and Veo models, leveraging Google AI Pro subscription quotas. Provides tools for image generation, video generation, and checking whether the Google session is authenticated and ready.
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 ServerGenerate a photorealistic image of a cozy cabin at sunset and save it to assets"
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 Server
An MCP (Model Context Protocol) server that empowers AI agents (Antigravity, Claude Desktop, Cursor, Cline, etc.) to generate production-quality images and videos using Google Flow (Imagen 3/4 & Veo models) completely in the background without per-token API costs by utilizing your existing Google AI Pro subscription.
✨ Features
Zero API Cost: Uses your active Google AI Pro / Google Flow subscription quotas instead of metered cloud API calls.
100% Invisible Background Execution: Runs via headless browser automation. No windows pop up, no icons on the taskbar, no focus stealing.
Veo & Imagen Models: High-resolution image generation and cinematic video generation.
Direct Asset Delivery: Automatically downloads rendered media files directly into your project's assets folder.
Secure Local Auth: Your Google credentials and session cookies never leave your local machine.
Related MCP server: autoflow-mcp
🔒 Security & How Authentication Works
How your account is authenticated:
When you run
python auth.py, a standard browser window opens tohttps://flow.google.com.You log into your own Google Account manually (including 2FA).
The script extracts only the required session cookies and stores them in a local file:
storage_state.json.storage_state.jsonis strictly ignored by.gitignoreand will never be pushed to version control.In subsequent operations, the MCP server runs silently in
headlessmode, passing the local session tokens directly to the internal rendering engine.
No passwords, API keys, or personal tokens are ever stored in code or uploaded to any remote server.
🚀 Quick Start
1. Prerequisites
Python 3.10 or newer
Google Chrome installed (or Chromium)
Google Account with Google AI Pro or access to Google Flow (
flow.google.com)
2. Installation
Clone this repository and install dependencies:
git clone https://github.com/voronin-s-dev/google-flow-mcp.git
cd google-flow-mcp
# Create virtual environment
python -m venv .venv
# Activate virtual environment
# Windows:
.venv\Scripts\activate
# Linux / macOS:
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
playwright install chromium3. One-Time Login
Run the interactive authorization script:
python auth.pyA Chrome window will open.
Log into your Google account on
flow.google.com.Once you see your Flow dashboard, switch back to the terminal and press
ENTER.Your session is now saved locally to
storage_state.json.
⚙️ Configuration in MCP Clients
Add the server to your MCP client configuration:
Antigravity (~/.gemini/config/mcp_config.json):
{
"mcpServers": {
"google-flow": {
"command": "C:\\path\\to\\google-flow-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\google-flow-mcp\\server.py"]
}
}
}Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"google-flow": {
"command": "python",
"args": ["/absolute/path/to/google-flow-mcp/server.py"]
}
}
}🛠 Available Tools
Tool | Parameters | Description |
|
| Generates images via Imagen 3/4 and saves |
|
| Generates cinematic video clips via Veo and saves |
| none | Checks whether the session is authenticated and ready to generate. |
📄 License
MIT License. Feel free to use, modify, and distribute.
This server cannot be deployed
Maintenance
Related MCP Connectors
Build and run visual creative-production workflows from your AI agent.
AI image + video generation for agents: --flag prompt DSL, async generate/poll, x402 pay-per-use.
Generate and edit images, video, voice, lip-sync and 3D models from your AI agent.
On-brand creative studio for AI agents: images, video, audio, and 3D.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI image and video generation using Google Vertex AI's Imagen and Veo models, with support for configurable parameters and local storage.1MIT

autoflow-mcpofficial
AlicenseAqualityBmaintenanceEnables AI agents to command browser-based AI generation models (like Imagen 3, Omni Flash, Veo 3) through the Autoflow Chrome Extension, with background queueing for autonomous media generation.117 npmMIT- AlicenseNot gradedqualityCmaintenanceEnables generating images and videos on Google Flow through browser automation using your Google AI Pro subscription, with image generation free and video consuming Flow credits.100 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables generating images and videos in Google Flow through an automated browser session using your Google AI Pro subscription, without API keys or third-party credit fees.100 npm2MIT