FlowSpeech MCP Server
Generate FlowSpeech text-to-speech audio and manage related voices, credits, and jobs through MCP tools.
Generate a single-voice WAV with
flowspeech_ttsfrom text, using a required caller-known request UUID, optional voice (defaultKore), and optional output path.Generate a two-speaker WAV with
flowspeech_tts_multiusingSpeaker1:/Speaker2:turns, configurable voices (voice_adefaultCharon,voice_bdefaultKore), required request UUID, and optional output path.List available FlowSpeech voices, optionally filtered by
male,female, orall.Check available, remaining, and reserved API credits.
Look up an existing job by exactly one job UUID or request UUID without creating a recording.
Generate a fresh request UUID locally without network access or an API key.
Use inline emotion and pause cues per the README; generation requires an API key and paid API access, consumes credits, and saves output as 24 kHz mono 16-bit PCM WAV.
FlowSpeech MCP Server
Generate expressive narration and multi-speaker dialogue with FlowSpeech directly from Claude Code, Cursor, or Claude Desktop. A single tool call saves a local WAV and returns the job ID and request ID.
Inline emotion & timed pauses: Steer delivery with bracketed cues such as
[excited],[calmly],[whisper], and[pause:1.0s].Multi-speaker dialogue & podcasts: Assign distinct voices to 2 or more named speakers (
Host,Guest,Narrator) in one request, or use structuredsegments.30+ natural voices & long-form scripts: Multilingual narration and dialogue saved as 24 kHz mono 16-bit PCM WAV, up to 100,000 characters per request.
Commercial-ready API plans: Paid Basic ($19/month or $156/year, 200,000 credits), Pro, and Scale plans include REST API/MCP access and commercial rights.
Quick start
Use Node.js 20.3 or newer and a developer API key from FlowSpeech API settings. Generation requires active paid API access on Basic, Pro, or Scale and consumes account credits.
Claude Code
Set FLOWSPEECH_API_KEY privately in your shell, then register the stdio server (this stores the expanded value in your local ~/.claude.json, so keep that file private):
claude mcp add --scope user --env "FLOWSPEECH_API_KEY=$FLOWSPEECH_API_KEY" \
--transport stdio flowspeech -- npx -y mcp-flowspeech-server@0.3.0
claude mcp listCursor
Add this entry to ~/.cursor/mcp.json for local desktop use, or to .cursor/mcp.json for the current project. Set FLOWSPEECH_API_KEY in the environment Cursor inherits.
{
"mcpServers": {
"flowspeech": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-flowspeech-server@0.3.0"],
"env": {
"FLOWSPEECH_API_KEY": "${env:FLOWSPEECH_API_KEY}"
}
}
}
}Claude Desktop
Add this entry to claude_desktop_config.json, replace the placeholder with your key, then quit and reopen Claude Desktop. On macOS the file is under ~/Library/Application Support/Claude/. On Windows it is under %APPDATA%\Claude\. Keep this file private. If the desktop app cannot find npx, use its absolute path.
{
"mcpServers": {
"flowspeech": {
"command": "npx",
"args": ["-y", "mcp-flowspeech-server@0.3.0"],
"env": {
"FLOWSPEECH_API_KEY": "YOUR_DEVELOPER_API_KEY"
}
}
}
}Related MCP server: TTS-MCP
Generate audio
Call flowspeech_tts with text. Place an emotion cue such as [excited], [calmly], or [whisper] before the words it should guide. Put [pause:1.0s] between phrases for a one-second pause.
{
"text": "[excited] Welcome back! [pause:1.0s] [calmly] Today we’ll start with a short story.",
"voice": "Kore"
}For a two-person podcast, call flowspeech_tts_multi with a labelled script and a map from speaker labels to voice names. Add more labels for more speakers. Only a label in the map starts a new turn. Other lines, including standalone pause cues, continue the preceding turn.
{
"text": "Host: [excited] Welcome to the show! [pause:1.0s] How did you get started?\nGuest: [calmly] It began with a very small experiment.",
"speakers": { "Host": "Charon", "Guest": "Kore" }
}You can supply ordered turns directly with segments, with one consistent voiceName per speaker:
{
"segments": [
{ "speaker": "Host", "text": "[excited] Welcome!", "voiceName": "Charon" },
{ "speaker": "Guest", "text": "[calmly] Thanks for inviting me.", "voiceName": "Kore" },
{ "speaker": "Producer", "text": "[pause:1.0s] We’re recording.", "voiceName": "Puck" }
]
}Existing scripts with Speaker1: and Speaker2: still work without a speakers map. Their voice overrides are voice_a (default Charon) and voice_b (default Kore).
Example prompts
Once configured in Claude Code, Cursor, or Claude Desktop, you can ask your assistant directly:
"List available female FlowSpeech voices, then read this product changelog aloud with a calm narrator and a 1-second pause before the breaking change.""Turn these release notes into a 2-minute two-host podcast WAV using Charon as Host and Kore as Guest, and save it to ./audio/release-podcast.wav.""Generate a dramatic game-trailer voiceover with [whisper] and [excited] cues, then tell me how many FlowSpeech credits remain.""Regenerate ./audio/intro.wav with a warmer voice and overwrite the previous file."
Tools
Tool | Arguments and result |
| Required |
|
|
| No arguments. Returns a local UUID without a key or network access. |
| Optional |
| No arguments. Returns available, remaining, and reserved credits. |
| One of |
| Required |
Both generation tools accept optional request_id, output_path, and overwrite. Output defaults to a job-specific file under ~/.flowspeech-mcp/audio. To replace an existing regular file, set overwrite: true. The server validates and stages the complete WAV before saving. The default preserves existing files, including files created during generation. On filesystems without hard links, the server uses an exclusive copy. The output format is 24 kHz, mono, 16-bit PCM WAV.
Recovery
When request_id is omitted, repeating the same speech input with the same API key and base URL reuses the same job even after a client restart. Local output options can change without starting a new job. If the same WAV is already at the requested path, the tool can return that path. An unrelated existing file is preserved. The lower-level TypeScript generate(input, requestId, signal?) method still requires an explicit UUID.
After an interruption, repeat the same speech input with the original
request_id, or leave it omitted if the first call omitted it. If you already have the request ID or job ID, you can useflowspeech_get_jobto check the job directly.While it is pending, follow the API’s polling guidance. The MCP generator uses 1, 2, 3, and then 5 seconds when the API does not ask for a longer wait. The FlowSpeech API currently sends
Retry-After: 5for pending jobs. HTTP retries also honorRetry-After.If the job succeeded, download its existing
result.urlwithout API credentials. Treat the result URL as private when appropriate, since anyone with the link can download it.If lookup returns 404 or you need to retry the local save, reuse the same UUID with unchanged text and voices. Choose an unused output path or explicitly enable
overwritefor a regular file you want to replace.To start a new recording with the same speech input, including after a terminal failure or cancellation, call
flowspeech_new_request_idand pass its fresh UUID explicitly. Retain that ID for any retries.
Closing or timing out an MCP call stops the local wait. Use flowspeech_cancel_job to request server-side cancellation. For long scripts the MCP client may need a longer timeout than its default.
Configuration
Variable | Default and behavior |
| Required for API tools. Use the client’s private environment or secret manager. |
|
|
|
|
|
|
The server uses FlowSpeech public API v1. API and audio requests reject redirects. Audio downloads omit the API key, are limited to 100 MiB, and are validated before saving.
Development
npm ci --ignore-scripts
npm test
npm run test:packedTo run a local build, configure node as the MCP command and use the absolute path to this checkout’s dist/index.js as its only argument. The tests exercise the built MCP over stdio with a loopback REST fixture. Packed tests verify the tarball contents and rerun the same runtime checks against the extracted package. See CHANGELOG.md.
Links
Website: https://flowspeech.io
Pricing & Commercial License: https://flowspeech.io/pricing
Public API Documentation: https://flowspeech.io/docs/public-api
OpenAPI Specification: https://flowspeech.io/openapi.json
npm Package: https://www.npmjs.com/package/mcp-flowspeech-server
Glama Directory: https://glama.ai/mcp/servers/waeckerlinfederowicz66-sketch/mcp-flowspeech-server
Support:
support@flowspeech.io
License
MIT
Available Tools
6 toolsflowspeech_get_jobA
Read an existing job by job UUID or caller-known request UUID without creating a recording. Supply exactly one ID.
Inputs: job_id, request_id.
flowspeech_list_voicesC
Retrieve the current voice catalog from FlowSpeech.
Inputs: gender.
flowspeech_new_request_idA
Generate a fresh request UUID locally, without network access or an API key. Keep it before starting one recording.
Inputs: no named parameters.
flowspeech_quotaA
Read available, remaining and reserved API credits.
Inputs: no named parameters.
flowspeech_ttsA
Generate a WAV recording with FlowSpeech. Requires a caller-known request UUID, an API key and paid API access; consumes account credits.
Inputs: text (required), request_id (required), voice, output_path.
flowspeech_tts_multiA
Generate a two-speaker WAV recording with a caller-known request UUID. Each turn starts with Speaker1: or Speaker2:. Consumes account credits.
Inputs: text (required), request_id (required), voice_a, voice_b, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct role: single-speaker TTS, two-speaker TTS, voice catalog, quota, job lookup, and local request-ID generation. The main potential overlap between tts and tts_multi is resolved by descriptions specifying single- versus two-speaker output.
All tools share the flowspeech_ prefix and lowercase snake_case, making them predictable. The only minor inconsistency is that some names are verb-led (list_voices, get_job) while others are noun/acronym-led (tts, quota, new_request_id).
Six tools is well-scoped for a focused TTS API surface. Each tool appears to serve a distinct necessary purpose without obvious redundancy.
The surface covers the core workflow: request-ID creation, single- and multi-speaker synthesis, voice discovery, quota checking, and job status lookup. Minor gaps may exist around job listing/cancellation or explicit audio retrieval, but the essential lifecycle is represented.
Maintenance
Related MCP Connectors
AI text-to-speech, multi-speaker dialogues, and audiobooks over remote Streamable HTTP MCP.
MCP server for Text-to-Speech
Hosted text-to-speech MCP server: 66 voices in 9 languages, long-form narration, podcasts.
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides text-to-speech capabilities using the Kokoro TTS model, offering multiple voice options and customizable speech parameters.642MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates high-quality text-to-speech capabilities with Claude Desktop and other MCP-compatible clients, supporting multiple voice options and audio formats.1MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI models to generate and play high-quality text-to-speech audio through your device's native audio system using Rime's voice synthesis API.127-

ElevenLabs MCP Serverofficial
AlicenseBqualityFmaintenanceAn official Model Context Protocol (MCP) server that enables AI clients to interact with ElevenLabs' Text to Speech and audio processing APIs, allowing for speech generation, voice cloning, audio transcription, and other audio-related tasks.271,558MIT