G1

gtai-1/flow-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

785 stars 261 forks 品質 82 トレンド 65

MacやWindowsでClaude、Codex、またはローカルコントロールパネルからGoogle Flowをドライブできます。これは、有料の動画APIの代わりにGoogle AIのサブスクリプションクレジットを使っています。ブラウザ拡張機能は使用できません。

概要

Claude、Codex、またはその他のMCPアプリ、またはローカルコントロールパネルから、Flow独自のクレジット(Googleアカウントで無料:1日50)を使ってドライブ(flow.google.com)を使い、ペイパーユース動画APIではありません。 これは自分のマシン上で動作する小さなプログラムです。自分のChromeウィンドウを開き、あなたとしてサインインし、Flowの本当のボタンをクリックします。ブラウザ拡張機能もホスティングサービスも作成すべきアカウントもありません。 = Model Context Protocol、クロードが外部ツールを使える標準。初めてですか?GETTING-STARTED.md は、無から最初の動画までステップバイステップで案内し OVERVIEW.md、コードネームなしで平易な英語で何をするのか説明してくれます。 ディスプレイは起動状態を保たなければなりません。Chromeウィンドウは実際に駆動されているため、マシンはヘッドレスやスリープ状態にできません。 macOSはそれらのフォルダを保護しており、そこからサーバーを起動するアプリは自分のファイルの読み込みを拒否できます(EPERM:操作は許可されていません)。~/flow-mcpやホームフォルダ内のどこでも問題ありません。

概要(AI 翻訳)

Claude、Codex、その他のMCPアプリ、またはローカルコントロールからGoogle Flow(flow.google.com)をドライブしてください Flow独自のクレジット(Googleアカウントなら無料:1日50分)を使い、ペイパーユース動画APIではありません。

それは自分のマシン上で動作する小さなプログラムです。Chromeのウィンドウを開いてサインインします あなたとして、そしてFlowの本当のボタンをクリックします。ブラウザ拡張機能もホスティングサービスもありません。 アカウント作成。

MCP = Model Context Protocol、Claudeが外部ツールを使える標準。 初めてですか?GETTING-STARTED.md は、無から最初の動画へと、ステップバイステップで導いてくれます。 OVERVIEW.md コードネームなしで、分かりやすい英語で何をしているか説明しています。


君に必要なもの

macOSまたはWindows 10/11 macOS上で開発・テストされました。Windowsは対応しています(Chrome、パソコンの音声、リサイクルビン、パネルランチャーはすべてWindows版です)が、まだ実際のPCで動いていないので、何か壊れたら報告してください。
Node.js 22歳以降 node --version
Google Chrome 最近のバージョンは?
Googleアカウント 無料。Flowは各アカウントに1日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, ~/Documents or ~/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-mcp or 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-mcp is 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

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "flow": { "command": "node", "args": ["/absolute/path/to/flow-mcp/dist/index.js"] } } }