Flow Music (fmusic)

v0.2.0
io.github.JvanLeeuwen4/flowmusic-cli Checked 4 days ago Published 1 month ago

Unofficial MCP server for Google Flow Music (Lyria): generate, remix, stem-split and download songs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fmusic_generate

Generate song(s) on Google Flow Music from a text prompt (genre, mood, instruments, tempo, vocals). Optionally pass full lyrics. The AI co-producer may make 1-2 takes. Takes ~1-2 minutes. For video game background music set loop=True: the prompt asks for a loopable song and each clip also gets a seamless <name>_loop.ogg (loop_format: ogg|wav|both) plus `loop` info (start/end, quality). Returns clips with local file paths (when download=True) and a conversation_id for follow-ups.

ParameterTypeDescription
prompt *string
downloadboolean
formatstring
instrumentalboolean
loopboolean
loop_formatstring
lyrics
modelstring
out_dir

fmusic_chat

Send a follow-up to an existing Flow Music conversation, e.g. 'make it faster', 'extend it', 'add a guitar solo', 'remix the first take as drum and bass'. loop=True also writes seamless game loops.

ParameterTypeDescription
conversation_id *string
message *string
downloadboolean
formatstring
loopboolean
loop_formatstring
out_dir

fmusic_list_clips

List the user's songs (newest first).

ParameterTypeDescription
limitinteger
offsetinteger

fmusic_get_clip

Get a clip's metadata: title, duration, prompt, lyrics, audio URLs.

ParameterTypeDescription
clip_id *string

fmusic_download

Download a clip's audio (wav, m4a or both) plus a metadata JSON sidecar. loop=True also writes a seamless game loop file (see fmusic_loop).

ParameterTypeDescription
clip_id *string
coverboolean
formatstring
loopboolean
loop_formatstring
out_dir

fmusic_loop

Make a seamless loop for video game background music, without spending credits. `source` is a local audio file (wav/flac/ogg/mp3) or an existing clip id. Skips the intro and the ending, finds a loop point that matches the loop start, and writes <name>_loop.ogg (loop_format: ogg|wav|both) that loops cleanly with looping enabled in the engine. A WAV source also gets the loop points as a smpl chunk (Godot: Loop Mode "Detect From WAV"). Check `quality` (good|ok|poor).

ParameterTypeDescription
source *string
loop_formatstring
out_dir

fmusic_stems

Split a clip into stems (vocals, drums, bass, other) and save them locally.

ParameterTypeDescription
clip_id *string
out_dir

fmusic_credits

Remaining Flow Music credits.

fmusic_auth_status

Check whether the CLI is logged in, and the subscription tier.