Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLOW_MCP_OUTPUT_ROOTNoDefault output directory for generated files and manifests.C:/Projetos
FLOW_MCP_BROWSER_MODENoBrowser connection mode. Use 'auto' to attach to or relaunch Chrome with the dedicated profile, or 'cdp' to only attach to an existing browser started with --remote-debugging-port=9222.auto
FLOW_MCP_BROWSER_EXECUTABLENoForce a specific browser executable instead of auto-detecting Chrome, Chromium, Brave, Edge, or Playwright Chromium.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Automates Google Flow (flow.google.com, formerly labs.google/fx/tools/flow) in the user's own logged-in Chrome via CDP. Start with flow_check_session. The browser runs invisibly; if Google sign-in is needed a Chrome window opens by itself for the user to sign in, then it hides again (fallback: npm run auth in the custom-google-flow-mcp folder). Generations consume the user's Flow credits. Videos take 1-5 min: prefer wait=false for long work and poll flow_get_queue_status. For storyboards use flow_generate_batch. Files are saved as <output_dir>/<project_name>/Assets_Flow/Scene_XX_Take_YY.ext with manifest.json. If something fails with ui_changed, call flow_health_check and look at the returned screenshot. Never operate the Flow website with generic browser tools while jobs run in this MCP.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
flow_estimate_costA

Shows how many credits a generation will use BEFORE generating (Flow's own 'Generating will use N credits'), plus the live options for the current model: allowed video length range, resolutions and formats. Configures Flow's settings panel but never submits, so it spends no credits.

flow_check_sessionA

Connects to Chrome (CDP on :9222, launching the dedicated profile if needed) and reports whether Google Flow is signed in and the workspace is ready. Spends no credits.

flow_health_checkA

Verifies login, opens a Flow project, probes every key DOM selector (reporting which fallback strategy matched) and, if anything fails, saves a diagnostic screenshot to ./logs/error-debug.png and returns its path. Spends no credits.

flow_generate_videoA

Generates a video in Google Flow from text, with aspect ratio, camera motion, variation count and editor-ready naming (Scene_01_Take_02.mp4) plus manifest.json. Consumes Flow credits.

flow_image_to_videoA

Uploads local images to Flow as Start Frame, End Frame and/or ingredient references (character/scenery), then generates a video. Uses Frames-to-Video when frames are given, Ingredients-to-Video for references. Consumes Flow credits.

flow_generate_imageA

Generates still images inside Google Flow and downloads them at the full resolution Flow serves, with editor-ready naming and manifest.json. Optional reference images. Consumes Flow credits.

flow_generate_batchA

Queues a full storyboard (list of takes) and returns a batch_id immediately. Runs in background with configurable concurrency (1-4 workers, each in its own Flow tab/project), automatic retry with exponential backoff on rate limits / server errors, and writes every result + a batch summary to <output_dir>/<project_name>/manifest.json. Poll flow_get_queue_status. Consumes Flow credits.

flow_get_queue_statusA

Non-blocking progress report. With batch_id: batch progress + each take. With job_id: one job (verbose). With neither: overview of running/queued work and recent batches.

flow_cancelA

Cancels a queued/running job, or every unfinished take of a batch. A generation already submitted to Flow may still finish on Flow's side (credits already spent).

flow_previewA

Used by the inline Google Flow viewer to poll progress and fetch thumbnails. Not needed by the model; use flow_get_queue_status instead.

flow_open_fileB

Used by the inline viewer's Open / Folder buttons. Opens a file generated by this server with the default app, or reveals it in the file manager.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
google-flow-viewerInline widget: live generation progress and generated media previews.

TDQS

A3.8/5.0

Scored across 11 tools

Disambiguation4/5

Most tools have a genuinely distinct role: single video, image-to-video, still image, and batch queueing are cleanly separated by input type and scope. The main soft spots are flow_check_session vs flow_health_check (both readiness probes, differing only in depth) and flow_preview vs flow_get_queue_status, though the description explicitly redirects the model to the latter. These are documented overlaps rather than true collisions.

Naming Consistency4/5

All names share a uniform flow_ prefix with lowercase snake_case, which reads predictably. Minor deviations: flow_health_check uses noun_verb ordering while flow_check_session uses verb_noun, and flow_preview/flow_cancel lack an explicit object. Still easy to scan and group.

Tool Count5/5

Eleven tools is well within a healthy range for a browser-automation generation server. Each generation variant earns its place (text-to-video, frames/ingredients, stills, batch), and the supporting set (cost estimate, session/health check, queue status, cancel, file open) maps to real operational needs.

Completeness4/5

The lifecycle is covered end-to-end: verify session, estimate cost, generate (single and batch), poll status, cancel, and open results. Gaps are minor — no tool to read back a manifest/batch results on disk, no listing of prior jobs or projects, and no cleanup/delete for finished work, so agents must fall back to the filesystem for those.

Maintenance

ActivityMaintained
ResponsivenessOutdated data