HubAI Flow MCP Server
# HubAI Flow MCP Server (`hubai-flow-mcp`)
Built and maintained by **[hubai.online](https://hubai.online)** for **Antigravity** and MCP-compatible AI assistants.
Connects your assistant to **Google Flow** (`flow.google.com`) using your own logged-in Google Chrome profile and subscription credits — no API key required.
## Tools
| Tool | Description |
| :--- | :--- |
| `flow_browser_login` | Open Google Flow in Chrome to verify or sign in to your session. |
| `flow_text_to_video` | Generate a video from a text prompt (`16:9` or `9:16`, 3–15s, up to `1080p`). |
| `flow_frames_to_video` | Animate a starting frame (and optional ending frame) into a video. |
| `flow_reference_to_video` | Generate a video guided by reference images. |
| `flow_generate_frame` | Generate an image (`16:9`, `9:16`, `1:1`) with optional reference images. |
| `flow_check_video` | Poll a background video generation job by `job_id` and return the saved MP4. |
| `flow_show_latest` | Return the path to the most recently saved image or video. |
## Setup in Antigravity
Add to your `mcp_config.json` and click **Refresh**:
```json
{
"mcpServers": {
"google-flow": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/aiabtalonline1-hub/flow_MCP",
"hubai-flow-mcp"
],
"env": {
"FLOW_SHOW_BROWSER": "1"
}
}
}
}
```
## First-Time Sign-In (Windows)
Google blocks sign-in inside Playwright-automated Chrome windows. Sign in once using regular Chrome with the shared profile directory:
```powershell
"C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir="$env:USERPROFILE\.google-flow-mcp\chrome-profile" https://flow.google.com/?hl=en
```
Close Chrome after signing in, then run `flow_browser_login` to confirm your session.
## Environment Variables
| Variable | Default | Description |
| :--- | :--- | :--- |
| `FLOW_CHROME_PROFILE` | `~/.google-flow-mcp/chrome-profile` | Persistent Chrome profile directory. |
| `FLOW_MEDIA_DIR` | `~/Downloads/google-flow` | Directory where generated MP4/images are saved. |
| `FLOW_SHOW_BROWSER` | `1` (Windows) / `0` (macOS/Linux) | Set to `1` to keep Chrome visible during generation. |
## License
MIT License — Copyright (c) 2026 [hubai.online](https://hubai.online)
TDQS
Scored across 7 tools
The video generation tools are clearly separated by input modality: text prompt, starting/ending frames, and reference images. The only mild overlaps are between flow_check_video and flow_show_latest, and the word 'frame' appears in both image and video contexts, but descriptions clarify the intended use.
All tools use a consistent flow_ prefix and snake_case naming. There is a minor pattern deviation: most tools are noun_to_video while others use verb_noun forms like generate_frame, check_video, and show_latest.
Seven tools is well-scoped for a media generation server, with each tool covering a distinct workflow step or generation mode. There is no obvious bloat or missing essential category.
The surface covers login, multiple video generation modes, image generation, background job checking, and retrieval of the latest output. Minor gaps exist around listing or canceling background jobs and managing generated assets beyond the single most recent file.