MCP server giving Claude Desktop access to Google AI image and video generation
Project description
Google Flow MCP
A Python MCP server that gives Claude Desktop direct access to Google AI's latest image and video generation models.
| Capability | Model | Tier |
|---|---|---|
| High-quality image generation & editing | Nano Banana Pro (gemini-3-pro-image) |
Free |
| Fast image generation | Nano Banana 2 (gemini-3.1-flash-image) |
Free |
| Cinematic video with native audio | Veo 3.1 (veo-3.1-generate-preview) |
Paid |
Tools
| Tool | What it does |
|---|---|
flow_generate_image |
Text → 1–4 images, up to 4K, choice of model |
flow_edit_image |
Edit an image with natural language (inpaint, outpaint, bg-swap) |
flow_generate_image_with_references |
Generate guided by up to 14 reference images |
flow_generate_video |
Text → cinematic video, optional anchor frame |
flow_extend_video |
Extend an existing Veo clip |
flow_image_to_video |
Full pipeline: Nano Banana Pro image → Veo 3.1 video |
Prerequisites
- Python 3.10 or newer
uv(recommended) orpip- A Google AI Studio API key — get one free at aistudio.google.com/apikey
Installation
# Using uv (recommended — no virtual env setup needed)
uvx google-flow-mcp
# Or install with pip
pip install google-flow-mcp
Claude Desktop Configuration
Add the following to your Claude Desktop config file:
{
"mcpServers": {
"google-flow": {
"command": "uvx",
"args": ["google-flow-mcp"],
"env": {
"GOOGLE_API_KEY": "YOUR_GOOGLE_AI_STUDIO_KEY"
}
}
}
}
Config file locations
| Platform | Path |
|---|---|
| Windows Store | %LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json |
| Windows Direct | %APPDATA%\Claude\claude_desktop_config.json |
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
After editing the config, restart Claude Desktop.
Output Directory
Generated files are saved to ~/google_flow_outputs/ by default.
Override with the FLOW_OUTPUT_DIR environment variable:
"env": {
"GOOGLE_API_KEY": "YOUR_KEY",
"FLOW_OUTPUT_DIR": "/Users/you/Pictures/ai-outputs"
}
Usage Examples
Once connected, ask Claude naturally:
- "Generate a photo-realistic image of a neon-lit Tokyo alley at night"
- "Edit this image to remove the background and replace it with a forest"
- "Generate a video of a rocket launching from a desert at dusk with dramatic audio"
- "Create an anchor image of ocean waves, then animate it into a video"
Important Notes
- Image generation (Nano Banana Pro / Nano Banana 2) works on the free tier.
- Video generation (Veo 3.1) requires a paid Google AI API plan.
- All Veo videos are SynthID-watermarked by Google.
- Generated videos are stored on Google's servers for 2 days after creation.
- Video generation typically takes 1–4 minutes — Claude will wait automatically.
Development
git clone https://github.com/joshuadaniel-8090/google-flow-mcp
cd google-flow-mcp
pip install -e ".[dev]"
pytest -v
License
Apache 2.0 — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file google_flow_mcp-0.1.0.tar.gz.
File metadata
- Download URL: google_flow_mcp-0.1.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b675b239e1e071b096b79615672fbc6b72b4ca23c4a87cc8fcc1347787fe832
|
|
| MD5 |
72394d8f87fa69da3e963f232030ed92
|
|
| BLAKE2b-256 |
76fd589f67c0e57efd5a8b1968719dd9b34dca2e28c6bc72644b0462b4582bf2
|
File details
Details for the file google_flow_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: google_flow_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3133718cd0bcda50ceb804bf38d8d5b58d60887ff1166482571ecb7607c421a4
|
|
| MD5 |
de4515323340ebe706aa26897ff8ea60
|
|
| BLAKE2b-256 |
74177d12d6e1891399733d18892f20e6f523c662583e726960647312a44374dd
|