google-flow-mcp
Provides tools for generating images with Nano Banana/ImageFX, generating videos with Veo 3.1 and Gemini Omni, upscaling resolution, and managing character assets through Google Flow using your own Google account.
Click on "Install 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 an image of a cozy cabin in snowy mountains"
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.
MCP Flow Google (Self-Hosted)
Self-hosted Model Context Protocol (MCP) server for Google Flow (labs.google/fx/tools/flow).
Generate high-fidelity images with Nano Banana / ImageFX, generate videos with Google Veo 3.1 & Gemini Omni, upscale resolution (1K/2K/4K), and manage consistent character assets — all through your own Google account from any MCP client (Claude Code, Cursor, Windsurf, Antigravity, etc.).
Features
🖼️ Image Generation: Full access to Google's Nano Banana (NARWHAL) and Gemma models with custom aspect ratios.
🎬 Video Generation: Text-to-video & Image-to-video powered by Veo 3.1 (
veo_3_1_t2v_lite) and Gemini Omni.🔍 Image Upscaling: Upscale generated media to 1K, 2K, or 4K.
👤 Character Consistency: Create character cards and generate consistent renders across different scenes.
🔑 Your Account, Your Credits: Runs locally with your Google account cookies or tokens.
⚡ Dual Transport: Supports
stdio(CLI/IDE integrations) andhttptransport.🔄 Automatic OAuth Token Refresh: Exchanges session cookies for fresh access tokens automatically.
🌐 Multi-Endpoint API: Tries multiple Google Flow AI Sandbox endpoints for maximum compatibility.
🤖 Browser Automation Fallback: Automates the Google Flow web UI via Puppeteer when direct API calls fail.
📦 Batch Generation: Generate multiple images in a single call.
📋 Project & Tool Discovery: List your Google Flow projects and custom tools.
Related MCP server: Google Veo 3.1 MCP Server
Installation & Setup
1. Install Dependencies & Build
git clone https://github.com/molkex/mcp-flow-google.git
cd mcp-flow-google
npm install
npm run build2. Configure Authentication
Copy .env.example to .env and add your Google cookies:
cp .env.example .envSet GOOGLE_COOKIES to your Google session cookies (from labs.google). The server will automatically exchange these for fresh OAuth access tokens.
Integration Guides
Claude Code
Add the self-hosted MCP server to Claude Code:
claude mcp add --transport stdio google-flow -- node /absolute/path/to/mcp-flow-google/dist/index.jsOr using npx:
claude mcp add --transport stdio google-flow -- npx tsx /absolute/path/to/mcp-flow-google/src/index.tsCursor / Windsurf / Cline (mcpServers config)
Add to your mcpServers configuration in ~/.cursor/mcp.json or .vscode/mcp.json:
{
"mcpServers": {
"google-flow": {
"command": "node",
"args": ["/absolute/path/to/mcp-flow-google/dist/index.js"],
"env": {
"GOOGLE_COOKIES": "your_google_cookies_string_here"
}
}
}
}Available MCP Tools
Tool Name | Description | Key Parameters |
| Check connection status & available credits |
|
| Save Google auth cookies or tokens |
|
| Generate an image with Nano Banana / NARWHAL |
|
| Generate a video with Veo 3.1 / Gemini Omni |
|
| Animate an image (Image-to-Video) |
|
| Upscale resolution to 1K, 2K, or 4K |
|
| Create character card for subject consistency |
|
| Render character in new scene |
|
| Run custom / shared Google Flow tools by ID or URL |
|
| Create a multi-frame Storyboard Studio sequence |
|
| Upload character/worldbuilding dossier |
|
| Generate artwork derived from uploaded dossier |
|
| List all media generated in current session | - |
| Generate multiple images in one call |
|
| List all Google Flow projects | - |
| List all custom tools in a project |
|
| Get details about a specific media item |
|
| Save/download media to local folder |
|
| Edit/update a custom Google Flow tool |
|
| Audit tool capabilities & parameters |
|
| Generate viral book trailer script & storyboard |
|
| Render approved trailer clips with Veo 3.1 |
|
Example Usage Prompts
"Generate a paper boat floating on a puddle in rain, landscape format"
"Animate that image into a 4-second video with slow camera push"
"Create a character named 'astro_bot' described as a cute 3D robot in a white space suit with orange visor"
"Generate astro_bot standing on a cliff on Mars under two moons"
"Upscale the Mars photo to 2K resolution"
"List all my Google Flow projects"
"Generate 4 images in one batch: a dragon, a castle, a forest, and a mountain"
Environment Variables
Variable | Description | Default |
| Google session cookies for auth | - |
| Alternative OAuth bearer token | - |
| Google Flow project ID |
|
| Google Flow tool ID |
|
| Server transport ( |
|
| Port for HTTP transport |
|
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceMCP server for generating images and videos using Google Gemini and VEO models, with support for multiple AI models and credential modes.1Apache 2.0
- AlicenseAqualityCmaintenanceMCP server for Google Veo 3.1 video generation. Supports text/video/image-based generation, extension, and interpolation with cost estimation and batch processing.439MIT
- Alicense-qualityDmaintenanceLocal-first MCP image generation server supporting OpenAI and Google Gemini models for generating and editing images, with an embedded interactive studio.201ISC
- AlicenseAqualityBmaintenanceMCP server for generating images via Google Flow's API without daily quota limits, supporting text-to-image and image-to-image generation.11MIT
Related MCP Connectors
MCP server for Google Veo AI video generation
MCP server for Hailuo (MiniMax) AI video generation
MCP server for Flux AI image generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LeoSzn12/google-flow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server