miragea-voice-mcp

v0.1.0
miragea-voice-mcp Checked 4 days ago Published 28 days ago

MCP 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.

ParameterTypeDescription
limitintegerMax voices to return.
searchFilter by name or language (case-insensitive).

estimate_cost

Estimate credits for a voiceover before generating it. Free to call.

ParameterTypeDescription
text *stringThe 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_urlbooleanTrue if the voice will be a reference audio URL.
with_reference_textbooleanTrue 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.

ParameterTypeDescription
text *stringText to speak. Any length: long text is split and joined.
formatmp3 (default), wav, flac, opus, aac or pcm.
freshbooleanTrue = force a new take of identical input (costs credits again).
languageLanguage hint for the reference sample.
max_creditsRefuse 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_pathOptional file path (absolute, or relative to MIRAGEA_OUTPUT_DIR). The suffix picks the format. Existing files are never overwritten.
reference_textExact transcript of the reference URL sample (cheaper, better).
speed0.25-4, 1 = normal.
subtitlesSubtitle files to write next to the audio: any of srt, vtt, txt, json. Default ['srt','vtt']. Pass [] for none.
tagsEmotion/style tag labels from get_capabilities.
voiceSaved 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.

ParameterTypeDescription
script *stringOne utterance per line as 'Speaker: text'. Lines without a speaker continue the previous one. Insert silence with [pause 1.5s] or [pause 800ms].
formatmp3 (default), wav, flac, opus, aac or pcm.
freshbooleanTrue = force a new take of identical input (costs credits again).
gap_secondsnumberSilence between lines.
max_creditsRefuse 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_pathOptional file path (absolute, or relative to MIRAGEA_OUTPUT_DIR). The suffix picks the format. Existing files are never overwritten.
speaker_labelsbooleanPrefix subtitle cues with the speaker name.
speed0.25-4, 1 = normal.
subtitlesSubtitle files to write next to the audio: any of srt, vtt, txt, json. Default ['srt','vtt']. Pass [] for none.
voicesMap 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).

ParameterTypeDescription
file_path *stringAbsolute path to a local audio or video file.
formatsSubtitle files to write next to the audio: any of srt, vtt, txt, json. Default ['srt','vtt']. Pass [] for none.
freshbooleanTrue = force a new take of identical input (costs credits again).
max_creditsRefuse to run if the estimated credits exceed this number.
output_dirWhere 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.

ParameterTypeDescription
task_id *stringTask id returned by an earlier call or a timeout error.
savebooleanDownload/save the result if it succeeded.

list_recent_tasks

List recent Miragea tasks for this account with status and credits used. Free to call.

ParameterTypeDescription
limitintegerHow many recent tasks.