在Mac或Windows上,使用Google AI订阅积分而非按次付费视频API,通过Claude、Codex或本地控制面板驱动Google Flow。无需浏览器扩展。
概览
Drive (flow.google.com)可通过Claude、Codex或其他MCP应用,或本地控制面板使用Flow自有的积分(任何Google账号每日免费50美元),而非按次付费视频API。 它是一个在你自己的机器上运行的小型程序。它会打开自己的 Chrome 窗口,以你的身份登录,然后点击 Flow 的真实按钮。没有浏览器扩展,没有托管服务,也没有账户可创建。 = 模型上下文协议,允许克劳德使用外部工具的标准。新来的吗?GETTING-STARTED.md 一步一步带你从无到有,带你到第一个视频,OVERVIEW.md 用无代号的简单英语解释它的作用。 显示器必须保持清醒:Chrome 窗口实际上是被驱动的,所以机器不能在运行中途无头或睡眠。 macOS保护这些文件夹,从那里启动服务器的应用可以被拒绝读取自己的文件权限(EPERM:不允许操作)。~/flow-mcp 或你主文件夹里的任何地方都可以。
概述(AI 翻译)
Drive Google Flow(flow.google.com),来自Claude、Codex或其他MCP应用,或者本地控制 面板,使用Flow自有的积分(任何Google账号免费:每天50美元),而不是按次付费视频API。
这是一个在你自己的电脑上运行的小型程序。它会打开自己的Chrome窗口,登录 作为你,并点击Flow的真正按钮。没有浏览器扩展,没有托管服务,也没有 账号创建。
MCP = 模型上下文协议,允许Claude使用外部工具的标准。 新来的吗?GETTING-STARTED.md 一步步带你从无到有,带你进入第一个视频, OVERVIEW.md 用通俗易懂的英语解释了它的作用,没有代号。
你需要什么
| macOS 或 Windows 10/11 | 在 macOS 上开发和测试。支持 Windows(Chrome、电脑语音、回收站和面板启动器都有 Windows 版本),但尚未在真实电脑上运行,遇到任何故障请举报 |
| Node.js 22岁或更晚 | node --version |
| 谷歌浏览器 | 任何最新版本 |
| 一个Google账号 | 免费。Flow每天给每个账号50积分;付费的Google AI套餐则能增加更多积分并解锁1080p下载。 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
flow-mcp
Drive Google Flow (flow.google.com) from Claude, Codex or any other MCP app, or from a local control panel, using Flow’s own credits (free with any Google account: 50 a day), not the pay-per-use video API.
It is a small program that runs on your own machine. It opens its own Chrome window, signs in as you, and clicks Flow’s real buttons. There is no browser extension, no hosted service and no account to create.
Claude / Codex ──stdio──> flow-mcp ──Chrome DevTools Protocol──> Chrome (its own profile) ──> Flow
MCP = Model Context Protocol, the standard that lets Claude use outside tools. New here? GETTING-STARTED.md takes you from nothing to your first video, step by step, and OVERVIEW.md explains what it does in plain English, with no code names.
What you need
| macOS or Windows 10/11 | Developed and tested on macOS. Windows is supported (Chrome, the Recycle Bin and the panel launcher all have Windows versions), but it hasn’t been run on a real PC yet, so please report anything that breaks |
| Node.js 22 or newer | node --version |
| Google Chrome | Any recent version |
| A Google account | Free. Flow gives every account 50 credits a day; a paid Google AI plan adds more and unlocks 1080p downloads. Developed on a Pro plan |
| FFmpeg (optional) | Mac: brew install ffmpeg · Windows: winget install Gyan.FFmpeg. Needed only to join clips, mix music or record narration |
| A Google AI Studio key (optional, free) | Only for the Google narration voices. See below |
| whisper.cpp (optional, free) | Only for captions: it hears the words, on your computer. Mac: brew install whisper-cpp · Windows: whisper-cli.exe from the whisper.cpp releases, on your PATH. The speech model it needs downloads by itself the first time you caption a video: 148 MB for English, 574 MB for any other language |
A display must stay awake: the Chrome window is really being driven, so the machine cannot be headless or asleep mid-run.
Install
git clone https://github.com/GTAI-1/flow-mcp.git
cd flow-mcp
npm install
npm run build
Mac: do not put this folder in
~/Desktop,~/Documentsor~/Downloads. macOS protects those folders, and apps that launch the server from there can be refused permission to read its own files (EPERM: operation not permitted).~/flow-mcpor anywhere in your home folder is fine.Windows: keep it out of folders OneDrive syncs (often Desktop and Documents), where files can be held online-only.
C:\Users\\flow-mcpis fine.
Then sign in, once:
npm run login
That opens the dedicated Chrome window. Sign into Google by hand, open (or create) a Flow project, and leave the window open. The program never types your password; it only uses the session you
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{ "mcpServers": { "flow": { "command": "node", "args": ["/absolute/path/to/flow-mcp/dist/index.js"] } } }