google-flow-mcp-server
This server automates the creation, generation, editing, and aspect ratio modification of sports editorial graphic posters using Google Flow.
Create Projects: Initialize a new Google Flow project with a specified aspect ratio (e.g., 16:9, 4:3, 1:1, 3:4, 9:16) and save the project URL.
Generate Posters: Upload reference images (optionally pre-uploaded to a session-isolated folder) and a custom prompt; the tool pastes them, submits, captures the image edit page URL, and downloads the 1K output poster.
Edit Posters: Refine an existing poster by providing an edit prompt; it captures the updated edit URL and downloads the new variation.
Change Aspect Ratio: Adjust the aspect ratio of a poster (e.g., from 4:3 to 16:9), submits a ratio change prompt, and downloads the resized output.
Session Isolation: Each user gets isolated project states, image uploads, and database entries for safe concurrent use.
Queueing: Concurrent image generation requests are safely queued to prevent conflicts.
Headless Mode: All operations support optional headless browser execution.
Flexible Prompting: Custom prompts are supported for generation, editing, and ratio changes with sensible defaults.
Provides automation for generating sports editorial graphic posters using Google Flow, including scraping and poster generation workflows.
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-mcp-servergenerate a poster for tonight's Lakers vs Celtics game"
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 Editorial Poster Scraper & Automation
A Playwright-based automation pipeline for generating sports editorial graphic posters using Google Flow.
Project Architecture
newlab/
├── .gitignore
├── README.md
├── requirements.txt
├── main.py # Primary entry point
├── flow_scraper.py # Legacy entry point wrapper
└── app/
├── __init__.py
├── config.py # Configs, selectors, and directory paths
├── prompts.py # FLOW_PROMPT text templates
├── utils/
│ ├── __init__.py
│ ├── clipboard.py # Windows clipboard image copy helper
│ └── image.py # Directory image scanning logic
└── automation/
├── __init__.py
└── flow.py # Playwright UI steps & automation pipelineRelated MCP server: playwright-fixer-mcp
Prerequisites
Python 3.10+
Google Chrome browser
Pre-configured
chrome_profile/directory logged into Google
Setup & Execution with UV
This project is configured to use uv for fast, isolated Python package and environment management.
1. Initialize / Install Dependencies
uv sync
uv run python -m playwright install chromium2. Run FastMCP Server
To run the FastMCP server via STDIO (for Claude Desktop, Cursor, or MCP clients):
uv run python -m app.mcp.serveror using FastMCP CLI:
uv run fastmcp run app/mcp/server.py3. Run MCP Inspector Mode
To launch the MCP Server with interactive web-based Inspector:
uv run fastmcp dev inspector app/mcp/server.pyor via npx:
npx @modelcontextprotocol/inspector uv run python -m app.mcp.server4. Connect with Claude Desktop
Add the following block to your %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"google-flow": {
"command": "C:/Users/sohel/AppData/Roaming/Python/Python312/Scripts/uv.exe",
"args": [
"--directory",
"c:/MCP Servers/flow-project",
"run",
"python",
"-m",
"app.mcp.server"
]
}
}
}Usage & Workflow (Session Isolation)
The MCP server is fully session-aware, allowing multiple concurrent users or conversations to generate and edit projects in isolation.
Strict Session Requirement: Every tool call (
tool_create_project,tool_input_images,tool_generate_poster,tool_edit_poster,tool_poster_ratio_editor) requires an active MCP session context. This is handled automatically for normal MCP client connections. If session context is missing, the tool will raise a clear error.Reference Images: If you want to use reference images, call
tool_input_imagesFIRST. It securely uploads images to a session-isolated folder on the server.tool_generate_posterwill then automatically pick them up; there is no need to passimages_b64directly to it anymore (though it is still accepted as an optional override).Per-Session Project State: Project state (
project_url,image_edit_page_url, etc.) is tracked per-session indb/projects.json. Each tool's "use the latest project" fallback (when explicit URLs aren't passed) strictly targets the CALLING SESSION'S own projects. Concurrent users can safely use the server simultaneously without their projects, edits, or uploaded images interfering.Queueing Behavior: Image generation runs one at a time (not in parallel) due to the shared Chromium browser profile. Concurrent requests are safely queued, not dropped.
Direct Script Execution
Execute standard automation pipeline via main.py:
uv run python main.pyMaintenance
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
- AlicenseAqualityAmaintenanceMCP server for Chrome Web Store — upload, publish, status, metadata & Playwright-based UI automation8683MIT
- FlicenseAqualityDmaintenanceAutomated Playwright E2E test repair powered by a self-improving, governed MCP server that runs failing tests, collects failure artifacts, reasons about root causes, validates and applies fixes, and re-runs to verify.12
- FlicenseNot gradedqualityCmaintenanceMCP server for robust browser automation of legacy web portals, featuring exactly-once execution via an SQLite-backed idempotency lock and resilient Playwright locators.
- AlicenseAqualityCmaintenanceAn MCP server that assembles CapCut International projects by reading and writing local project files, adding captions, subtitles, overlays, and more so editors start with a mostly-done timeline. It includes tools for inspecting projects, restyling captions, importing subtitles, and rendering alpha-channel overlays via Remotion.81MIT
Related MCP Connectors
ESPN MCP — keyless multi-sport live scores, teams, and news via ESPN's public site API.
Automate Google Ad Manager: campaigns, line items, creatives, inventory, reporting — 51 tools.
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
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/rafin0906/google-flow-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server