Google Flow Browser MCP
Enables MCP clients to operate Google Flow through a visible browser, supporting login, project tracking, reference upload, generation submission, and media download with local validation.
README
Google Flow Browser MCP
A local Model Context Protocol server that lets MCP clients such as Claude Code and Codex operate Google Flow through a visible Chrome or Edge window.
The server supports project tracking, assisted login, page inspection, reference uploads, generation preparation, explicit submission, progress recovery, media download, and FFprobe validation. It exposes 22 MCP tools and stores durable state in SQLite.
This is an unofficial browser automation project. Google Flow does not expose a stable public API for this workflow. Website changes may require adapter updates.
Safety model
- Every user runs the MCP server and browser locally.
- Users sign in to their own Google account in the visible browser window.
- The server never asks for, reads, types, stores, or repeats passwords, verification codes, recovery answers, or 2FA tokens.
- Credit-consuming generation requires an explicit confirmation before submission.
- Browser profiles, cookies, databases, generated media, and environment files are excluded from Git.
- Users are responsible for their Google Flow access, credits, regional availability, and compliance with applicable terms.
Requirements
- Node.js 22.13 or newer
- pnpm
- Google Chrome or Microsoft Edge
- FFmpeg/FFprobe for local media validation
- A Google account with access to Google Flow
One-command Claude Code install
macOS, Linux, or WSL:
claude mcp add --scope user google-flow -- npx -y google-flow-browser-mcp
Native Windows:
claude mcp add --scope user google-flow -- cmd /c npx -y google-flow-browser-mcp
Confirm the registration, restart Claude Code, and open /mcp:
claude mcp get google-flow
Install from source
git clone https://github.com/hitjcl/google-flow-mcp.git
cd google-flow-mcp
pnpm install --frozen-lockfile
pnpm test
Claude Code
Register the built stdio server using the absolute path on your machine:
claude mcp add --scope user google-flow -- node "/absolute/path/google-flow-mcp/dist/src/index.js"
claude mcp get google-flow
On Windows PowerShell, for example:
claude mcp add --scope user google-flow -- node "C:\path\to\google-flow-mcp\dist\src\index.js"
Restart Claude Code after registration. You can then ask:
Use Google Flow to create a 10-second 9:16 video. Ask me to sign in and confirm credits before submitting, then download and validate the result locally.
Other MCP clients
Use this stdio configuration and replace the path with an absolute local path:
{
"mcpServers": {
"google-flow": {
"command": "node",
"args": ["/absolute/path/google-flow-mcp/dist/src/index.js"]
}
}
}
Recommended workflow
project_createflow_start_login- The user signs in and confirms membership and credits in the visible browser
flow_confirm_loginflow_open_projectandflow_inspect_page- Optionally
flow_upload_referenceandflow_bind_asset flow_prepare_generation- After explicit user approval,
flow_submit_generation flow_wait_for_generationflow_download_mediamedia_validate_local
Generation polling is resumable. A timeout does not mark the job as failed, and successful media IDs are written to SQLite immediately.
Data and configuration
Runtime data defaults to ~/.google-flow-creator/:
browser-profile/— local Chrome profile and login sessionstate.sqlite— projects, jobs, attempts, assets, and media IDsstate.json— optional legacy state imported on first usedownloads/— downloaded media
Override locations with environment variables:
FLOW_BROWSER_EXECUTABLEFLOW_DATA_DIRFLOW_PROFILE_DIRFLOW_STATE_FILEFLOW_DATABASE_FILEFLOW_DOWNLOAD_DIR
Never commit or share the runtime data directory because the browser profile can contain active login sessions.
Development
pnpm run check
pnpm test
pnpm run health
Production maintenance commands:
pnpm run healthchecks the runtime, database, browser, and FFprobe.pnpm run backupcreates a consistent SQLite backup.pnpm run smokeperforms a read/download smoke test using an existing completed video.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.