Flow Music MCP Server by useapi.net
Google Flow Music (Lyria): songs, lyrics, extend, cover, remix, effects, stems. Third-party, paid ($15/month), runs on your own Flow Music account.
Hosted MCP Server
npx add-mcp 'https://api.useapi.net/v1/flowmusic/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Google Flow Music MCP Server
October 16, 2026 (December 1, 2026)
Table of contents
- Endpoint and authorization
- Setup
- Use it in the Claude app or ChatGPT
- Tools
- Long-running work
- Example prompts
- Limits and notes
The useapi.net Google Flow Music MCP server lets an AI assistant make music with Google Flow Music on your own accounts. It works with the Claude app, ChatGPT, Claude Code, Cursor, VS Code Copilot and other clients. It is a hosted Model Context Protocol server with 18 tools. Your assistant can make songs with Google’s Lyria models from a description, from your own lyrics or from lyrics the model writes. It can then extend a song, regenerate a section, restyle it, re-sing it with new lyrics, apply audio effects or split it into stems. Each tool calls the Flow Music API, so the same rules and limits apply. Nothing needs to be installed or hosted.
Is there a Google Flow Music MCP server? Yes. useapi.net, a third-party service not affiliated with Google, hosts one at https://api.useapi.net/v1/flowmusic/mcp. It has 18 tools for Lyria songs, covers, remixes and stems on your own Google Flow Music account, with nothing to install.
Prefer REST? Tutorial: How to Generate AI Music with Lyria 3 Pro via the Flow Music API · Code: github.com/useapi/flowmusic-api
See all useapi.net MCP servers on MCP Servers.
Endpoint and authorization
https://api.useapi.net/v1/flowmusic/mcp
- Transport: Streamable HTTP.
- It is listed in the official MCP Registry as
net.useapi/flowmusic. MCP clients and directories that read the registry find it by that name. - Send your useapi.net API token in the
Authorization: Bearer …header. Setup useapi.net shows where to find it. The Claude app and ChatGPT sign in with OAuth instead. See Use it in the Claude app or ChatGPT. - Add at least one Google Flow Music account first, as shown in Setup Google Flow Music. The MCP server cannot add or remove accounts. Use POST /accounts or the setup page for that.
Setup
Replace YOUR_API_TOKEN with your useapi.net API token.
Claude Code
claude mcp add --transport http useapi-flowmusic https://api.useapi.net/v1/flowmusic/mcp --header "Authorization: Bearer YOUR_API_TOKEN"
Cursor
In ~/.cursor/mcp.json:
{
"mcpServers": {
"useapi-flowmusic": {
"url": "https://api.useapi.net/v1/flowmusic/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
VS Code
In .vscode/mcp.json:
{
"servers": {
"useapi-flowmusic": {
"type": "http",
"url": "https://api.useapi.net/v1/flowmusic/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
Windsurf and other clients
Any client that supports remote MCP servers over HTTP with custom headers works. Most of them take this JSON:
{
"mcpServers": {
"useapi-flowmusic": {
"serverUrl": "https://api.useapi.net/v1/flowmusic/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
Some clients name the address field url instead of serverUrl.
Test it with curl
curl -s https://api.useapi.net/v1/flowmusic/mcp \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'
curl -s https://api.useapi.net/v1/flowmusic/mcp \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
The first call answers with the server’s name, useapi-flowmusic, and its instructions for the assistant. The second answers with the 18 tools.
Use it in the Claude app or ChatGPT
The Claude app (claude.ai and Claude Desktop) and ChatGPT can add this server as a custom connector. They sign in with OAuth. You give the app the URL, and it opens a useapi.net page. Paste your useapi.net API token there once. Both work on their Free plans. The API-token setups above for Claude Code, Cursor, VS Code and other clients keep working as before.
https://api.useapi.net/v1/flowmusic/mcp
Claude app
- Open Settings → Connectors and click Add custom connector.
- Enter a name, for example
useapi Flow Music, and the URL above, then click Add. - Click Connect. Claude opens the useapi.net sign-in page.
- Paste your useapi.net API token and click Allow.
Claude asks before each tool call unless you choose Always allow. The Free plan allows one custom connector.
ChatGPT
- Open Plugins, click Add and choose Add custom MCP server.
- Enter a name and the URL above, and set Authentication to OAuth.
- Tick ChatGPT’s “I understand and want to continue” box, then click Create as a plugin.
- Click Connect. ChatGPT opens the useapi.net sign-in page.
- Paste your useapi.net API token and click Allow.
ChatGPT asks you to confirm each tool call that creates or changes something. The Free plan works without developer mode (as of October 25, 2026).
How the sign-in works
- Your API token is in your welcome email. Setup useapi.net shows where to find it. The useapi.net sign-in page links there too.
- Each connection is for one MCP server. Connect each server you want to use on its own.
- The app gets an access token that lasts 1 hour and renews it on its own. A connection you don’t use for 90 days lapses, and you connect again.
- Resetting your API token disconnects every app connected with it.
- Each clip’s
m4aandwavlinks are public and open in the app. Themp3comes back as a download link that works in your browser without sign-in for 1 hour. A song list carries mp3 links for its first 20 songs.
Tools
Songs, clips and uploaded files are named by the ids the tools return, and each id carries its account, so an edit runs on the account that holds the clip. Tools that start a song take an optional email to pick the account.
| Tool | What it does | Inputs |
|---|---|---|
flowmusic_list_accountsList Google Flow Music accounts read-only | List the Google Flow Music accounts added to this useapi.net API token, as stored: tier, maxJobs and health. No call to Google Flow Music. GET /accounts. | takes no input |
flowmusic_get_accountGet an account read-only | Read one account live from Google Flow Music: plan, credits and tokens remaining. GET /accounts/{email}. | email (required) |
flowmusic_update_accountUpdate an account | Change an account’s maxJobs, the songs and edits it runs at once (1-16). POST /accounts with email and maxJobs. | email (required), maxJobs (required) |
flowmusic_get_usageGet credit usage read-only | An account’s credit and token usage: daily billing events and the cost of each song. GET /accounts/usage. | email (required) |
flowmusic_create_songGenerate a song | Generate a song with Google’s Lyria (Google Flow Music) from a description of the style, mood, genre, instruments, tempo and vocals, with your own lyrics or lyrics the model writes, or instrumental. Uses the account’s Google Flow Music credits. A job: a song takes about 25 to 140 s, so the tool waits up to ~50 s and then returns the jobid for flowmusic_get_job. Results are clips with public m4a / wav links. POST /music. | prompt (required), lyrics, instrumental, ghostwriter, model, email, refImage1, refImage2, refImage3, refImage4, refImage5, refImage6, refImage7, refImage8, refImage9, refImage10, refAudio1, refAudio2, refAudio3, refAudio4, refAudio5, refAudio6, refAudio7, refAudio8, refAudio9, refAudio10 |
flowmusic_write_lyricsWrite lyrics | Write [Verse] / [Chorus] lyrics, a title and a sound prompt for a song concept, without making audio. Renders no song and uses only a small amount of credit. Takes about 10 to 15 s. Pass them to flowmusic_create_song. POST /music/lyrics. | prompt (required), structure, email |
flowmusic_list_songsList songs read-only | The clips on an account, most recent first, with clip ids, titles, lyrics and covers. GET /music. | email, limit, offset |
flowmusic_extend_songExtend a song | Add music to a clip, as described in instruction (default 150 s from its end). A job, like flowmusic_create_song. POST /music/edit operation extend. | clip (required), title, seed, instruction (required), extend_s, extend_from_s, model |
flowmusic_replace_sectionReplace a section | Regenerate one section of a clip (mask_start_s to mask_end_s) as described in instruction. A job. POST /music/edit operation replace. | clip (required), title, seed, instruction (required), mask_start_s (required), mask_end_s (required), model |
flowmusic_cover_songCover a song | Restyle a whole clip in another style. A job. POST /music/edit operation cover. | clip (required), title, seed, instruction, strength, model |
flowmusic_remix_lyricsRe-sing with new lyrics | Re-sing a clip with edited lyrics, keeping its sound (or a new sound prompt). A job. POST /music/edit operation remix. | clip (required), title, seed, lyrics (required), prompt, model |
flowmusic_apply_effectApply an audio effect | Apply one effect to a clip: Trim (start_s, end_s), Fade (fade_in_s, fade_out_s), Gain (gain_db), Reverb (mix, room_size), Pan (pan) or Equalizer (bass_db, mid_db, treble_db). Each effect reads only its own parameters. A job: an edit takes about 10 to 35 s. POST /music/edit operation effect. | clip (required), title, seed, effect (required), start_s, end_s, fade_in_s, fade_out_s, gain_db, mix, room_size, pan, bass_db, mid_db, treble_db |
flowmusic_split_stemsSplit into stems | Separate a clip into 4 stem clips: drums, bass, vocals and other, each with its own clip id and public m4a / wav links. Takes about 15 to 60 s, up to 2 minutes. If it times out, ask again: a clip already split returns its stems at once. POST /music/edit operation stems. | clip (required) |
flowmusic_get_jobGet a job read-only | A song or edit job: its status and, once completed, its clips (ids, titles, lyrics, public m4a / wav links). wait: true waits up to ~50 s for it to finish. GET /jobs/{jobid}. | jobid (required), wait |
flowmusic_list_jobsList running jobs read-only | The jobs running now on each account, against its maxJobs. GET /jobs. | takes no input |
flowmusic_cancel_jobCancel a job destructive | Stop tracking a running job and free its maxJobs slot. Google Flow Music may still finish the song, and its credits are spent either way. DELETE /jobs/{jobid}. | jobid (required) |
flowmusic_upload_fileUpload a reference file | Upload a JPEG, PNG or WebP image (up to 20 MB) or an MP3, WAV or M4A song (up to 40 MB) as a reference for flowmusic_create_song (refImage1..10 / refAudio1..10), from a public https url or as contentBase64 (small files). Returns the asset id, usable on that account only. References are loose hints: the model does not copy them. POST /files. | url, contentBase64, mimeType, email, stripMetadata |
flowmusic_generate_imageGenerate a reference image | Generate an image from a prompt, returned as an image you can see with its asset id, to use as refImage1..10 in flowmusic_create_song (a loose style hint). Takes ~10-20 s. POST /files/generate. | prompt (required), email |
Each edit tool runs one operation of POST /music/edit. The song and lyrics tools take the parameters of POST /music and POST /music/lyrics.
References are loose hints: neither Lyria model copies an uploaded song or picture. The full input schema of every tool comes from tools/list.
Long-running work
MCP clients usually give up on a tool call after about a minute, so a tool waits up to about 50 seconds:
- A song usually takes about 25 to 140 seconds. If it isn’t done in time, the tool returns the
jobid, andflowmusic_get_jobwithwait: truepicks it up. Ask the assistant to keep checking until it is done. - An edit (effect, extend, replace, cover or remix) takes about 10 to 35 seconds.
flowmusic_write_lyricsanswers in about 10 to 15 seconds andflowmusic_split_stemsin about 15 to 60 seconds. If a stem split takes longer, call it again a minute later: a clip that is already split returns its stems at once.
Clients that ask for progress notifications get one about every 10 seconds while a tool waits.
Each clip comes back with its id and public m4a and wav links. The mp3 comes through GET /music/download with the same Authorization header.
Example prompts
- “Write lyrics for an upbeat song about a dog named Biscuit who loves the beach, then make it as indie pop with a warm female vocal.”
- “Make a short lo-fi hip hop instrumental for studying, using Lyria 3.5.”
- “Extend my last song with an outro that fades out.”
- “Make a slow bossa nova cover of that song.”
- “Re-sing the second verse with these new lyrics: …”
- “Split the song into stems and give me the vocals track.”
- “How many Google Flow Music credits are left on my accounts?”
Limits and notes
- The tools use your accounts and the same rules as the REST API, such as
maxJobs. Songs and edits spend credits from the account’s Google Flow Music plan. The price table shows what a song costs on each Google Flow Music plan. - A client may send up to 20 JSON-RPC requests in one batch.
- If the client sends an
MCP-Protocol-Versionheader, it must be a version we support: 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05. - Tool calls show in your usage stats (
bot=flowmusic) through the REST call each tool makes, the same rows a direct API request writes.
Tutorials for the Flow Music API:
- Can You Use Your Google AI Subscription Through an API? What Plus, Pro and Ultra Get You Also in 中文 日本語 Português Español Tiếng Việt Bahasa Indonesia ไทย
- Suno API Alternative: ACE Music, Mureka, Lyria 3.5, TemPolor and MiniMax Also in 中文 日本語 Português Español Tiếng Việt Bahasa Indonesia ไทย
- How to Generate AI Music with Lyria 3 Pro via the Flow Music API
- AI Music APIs Compared: Mureka vs MiniMax vs ElevenLabs vs Lyria 3 Pro
- Five AI Music APIs on the Same Six Briefs: ACE Music v1, TemPolor v4.8, MiniMax Music-3.0, Lyria 3.5 and Mureka V9.5 Also in 中文 日本語 Português Español Tiếng Việt Bahasa Indonesia ไทย
{ "@context": "https://schema.org", "@type": "APIReference", "name": "Flow Music MCP Server: Lyria 3.5 Songs, Covers and Stems", "url": "https://useapi.net/docs/api-flowmusic-v1/mcp", "inLanguage": "en", "isAccessibleForFree": true, "description": "Connect the Claude app, ChatGPT, Claude Code or any MCP client to the hosted useapi.net Flow Music MCP server: tools for Lyria songs, lyrics, edits and stems.", "about": "Flow Music API", "isPartOf": { "@type": "APIReference", "name": "Flow Music API" }, "publisher": { "@type": "Organization", "name": "useapi.net", "url": "https://useapi.net", "logo": { "@type": "ImageObject", "url": "https://useapi.net/assets/brand/useapi-logo-512.png" }, "alternateName": ["useapi", "UseAPI"], "sameAs": ["https://discord.gg/w28uK3cnmF", "https://t.me/use_api", "https://github.com/useapi", "https://bsky.app/profile/useapi.net", "https://www.youtube.com/@useapi-net"], "foundingDate": "2023-08" }, "documentationOf": { "@type": "WebAPI", "name": "useapi.net REST API", "documentation": "https://useapi.net/llms.txt", "termsOfService": "https://useapi.net/docs/legal" } }
{ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://useapi.net/" }, { "@type": "ListItem", "position": 2, "name": "Flow Music API", "item": "https://useapi.net/docs/api-flowmusic-v1" }, { "@type": "ListItem", "position": 3, "name": "MCP Server", "item": "https://useapi.net/docs/api-flowmusic-v1/mcp" } ] }