miragea-voice-mcp
v0.1.0MCP server that gives Claude, Cursor and other AI agents a voice: generate voiceovers, multi-speaker dialogue and SRT/VTT subtitles with the Miragea API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_capabilities
Show available models, emotion/style tags, formats, speed range, text limit, pricing multipliers and subtitle limits for this Miragea account. Free to call.
list_voices
List the voices (actors) saved in the Miragea account, with name, actor_id and language. Free to call.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max voices to return. |
search | Filter by name or language (case-insensitive). |
estimate_cost
Estimate credits for a voiceover before generating it. Free to call.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text you plan to voice. |
model | 'standard' (default; closest to the voice, x1 credits) or 'expressive' (more emotive; x3 with a reference URL unless reference_text is given). | |
voice_is_url | boolean | True if the voice will be a reference audio URL. |
with_reference_text | boolean | True if you'll pass reference_text. |
text_to_speech
Generate a voiceover with Miragea and save it to a file, plus SRT/VTT subtitles timed to the audio. Returns the absolute audio path, subtitle paths, duration, task ids and credits used. Uses credits.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to speak. Any length: long text is split and joined. |
format | mp3 (default), wav, flac, opus, aac or pcm. | |
fresh | boolean | True = force a new take of identical input (costs credits again). |
language | Language hint for the reference sample. | |
max_credits | Refuse to run if the estimated credits exceed this number. | |
model | 'standard' (default; closest to the voice, x1 credits) or 'expressive' (more emotive; x3 with a reference URL unless reference_text is given). | |
output_path | Optional file path (absolute, or relative to MIRAGEA_OUTPUT_DIR). The suffix picks the format. Existing files are never overwritten. | |
reference_text | Exact transcript of the reference URL sample (cheaper, better). | |
speed | 0.25-4, 1 = normal. | |
subtitles | Subtitle files to write next to the audio: any of srt, vtt, txt, json. Default ['srt','vtt']. Pass [] for none. | |
tags | Emotion/style tag labels from get_capabilities. | |
voice | Saved voice name or actor_id from list_voices, OR a public https:// URL of a clean 5-30 s speech sample to clone. Defaults to MIRAGEA_DEFAULT_VOICE. |
generate_dialogue
Voice a multi-speaker script (podcast, ad, explainer, audio drama) with a different voice per speaker, join it into one audio file and write subtitles with exact line timings. Also keeps each line as a separate WAV for editing. Uses credits.
| Parameter | Type | Description |
|---|---|---|
script * | string | One utterance per line as 'Speaker: text'. Lines without a speaker continue the previous one. Insert silence with [pause 1.5s] or [pause 800ms]. |
format | mp3 (default), wav, flac, opus, aac or pcm. | |
fresh | boolean | True = force a new take of identical input (costs credits again). |
gap_seconds | number | Silence between lines. |
max_credits | Refuse to run if the estimated credits exceed this number. | |
model | 'standard' (default; closest to the voice, x1 credits) or 'expressive' (more emotive; x3 with a reference URL unless reference_text is given). | |
output_path | Optional file path (absolute, or relative to MIRAGEA_OUTPUT_DIR). The suffix picks the format. Existing files are never overwritten. | |
speaker_labels | boolean | Prefix subtitle cues with the speaker name. |
speed | 0.25-4, 1 = normal. | |
subtitles | Subtitle files to write next to the audio: any of srt, vtt, txt, json. Default ['srt','vtt']. Pass [] for none. | |
voices | Map of speaker -> voice (saved name, actor_id or https:// sample URL), e.g. {"Ava": "Ava", "Narrator": "https://.../narrator.wav"}. |
transcribe_to_subtitles
Transcribe a local audio/video file into timed subtitles (SRT, VTT, TXT, JSON) with Miragea. Saves files next to the media and returns their paths. Uses credits (billed per second).
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to a local audio or video file. |
formats | Subtitle files to write next to the audio: any of srt, vtt, txt, json. Default ['srt','vtt']. Pass [] for none. | |
fresh | boolean | True = force a new take of identical input (costs credits again). |
max_credits | Refuse to run if the estimated credits exceed this number. | |
output_dir | Where to save; default is next to the media. |
check_task
Check a Miragea task (e.g. after a wait timeout) and save its audio or subtitles when finished. Never costs extra credits.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task id returned by an earlier call or a timeout error. |
save | boolean | Download/save the result if it succeeded. |
list_recent_tasks
List recent Miragea tasks for this account with status and credits used. Free to call.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many recent tasks. |