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.
Metadata
Release files for google-flow-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| google_flow_mcp-0.1.0.tar.gz | 12.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_flow_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.7 kB
Release files / google_flow_mcp-0.1.0.tar.gz
| Download URL | google_flow_mcp-0.1.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b675b239e1e071b096b79615672fbc6b72b4ca23c4a87cc8fcc1347787fe832
|
|
BLAKE2b-256 checksum How to use checksums |
76fd589f67c0e57efd5a8b1968719dd9b34dca2e28c6bc72644b0462b4582bf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / google_flow_mcp-0.1.0-py3-none-any.whl
| Download URL | google_flow_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3133718cd0bcda50ceb804bf38d8d5b58d60887ff1166482571ecb7607c421a4
|
|
BLAKE2b-256 checksum How to use checksums |
74177d12d6e1891399733d18892f20e6f523c662583e726960647312a44374dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for google-flow-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.