tts-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MIRAGEA_API_KEY | Yes | Your Miragea API key from https://miragea.ai/workspace/api. Required for tool calls. | |
| MIRAGEA_BASE_URL | No | Miragea API root URL including /v1, for private deployments. | https://miragea.ai/v1 |
| MIRAGEA_OUTPUT_DIR | No | Directory where relative output paths and default file names are written. Absolute paths are used as given. | ~/Miragea |
| MIRAGEA_HTTP_TIMEOUT | No | Per-request HTTP timeout in seconds. | 60 |
| MIRAGEA_WAIT_TIMEOUT | No | Maximum seconds a tool waits for a job before returning its task_id. | 600 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Voiceover & captions tools for AI agents: turn text into voiceover audio files and audio/video into subtitles (SRT, VTT, TXT, JSON). Miragea is the voiceover and voice-cloning engine behind them. Workflow:
Call miragea_get_capabilities first: it returns the live models (expressive / standard), emotion tags, formats, speed range and text-length limit for this account.
Pick a voice: an existing voice from miragea_list_voices (actor_id), or a public reference audio URL (reference_audio_url, ideally with its exact transcript in reference_text).
For a video voiceover with captions use miragea_script_to_voiceover; for audio only use miragea_text_to_speech; for subtitles of an existing file use miragea_transcribe. Do not resubmit a job after a timeout (that would create a duplicate job); resume it with miragea_get_task.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| miragea_get_capabilitiesA | Get the live voice-engine capabilities for this API key: voice models (expressive, standard), emotion/style tags per model, voice sources, audio formats, speed range, max characters per request, and subtitle formats and upload limits. Read-only. Call this first. |
| miragea_list_voicesA | List the voices (actors) saved in the user's Miragea account, with actor_id, name and language. Use |
| miragea_text_to_speechA | Generate a voiceover audio file from text (Miragea voice engine) and save it locally. Choose a voice with |
| miragea_transcribeC | Create subtitles from a local audio or video file (mp3, wav, m4a, mp4, mov, ...) with Miragea speech recognition. Saves SRT by default; also VTT, TXT or JSON (text, language, timed segments). |
| miragea_script_to_voiceoverA | One shot for video creators: turn a script into a voiceover audio file PLUS matching captions (SRT and VTT by default) ready for CapCut, Premiere, DaVinci Resolve, YouTube or Shorts/TikTok/Reels. Generates speech with Miragea, then times captions by running Miragea recognition on the new audio. caption_text='script' (default) keeps your exact script wording (brand names spelled right) on the recognized timing. Set captions=false for audio only. |
| miragea_get_taskA | Check a Miragea task by task_id and optionally wait for it and save its output (audio file, or subtitles in srt/vtt/txt/json). Use this to resume after a timeout instead of resubmitting. |
| miragea_list_tasksB | List recent Miragea tasks (voiceovers and subtitle jobs) for this account, newest first. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct action: capability discovery, voice listing, TTS generation, transcription, task polling, and task listing. The only real overlap is between miragea_text_to_speech and miragea_script_to_voiceover, but the descriptions clearly frame the latter as a one-shot composite (audio + captions) for video creators.
All names share the miragea_ prefix and snake_case, but the patterns vary: get_capabilities/list_voices/get_task/list_tasks are verb_noun, while text_to_speech and script_to_voiceover are noun phrases and transcribe is a bare verb. Readable, but not a predictable single convention.
Seven tools is well-scoped for a TTS/subtitling server: discovery, voices, two generation paths, transcription, and task management. No tool feels redundant or padded.
Core lifecycle is covered: capabilities, voice listing, generation, transcription, async task polling and recovery, and task history. Minor gaps exist (no task cancel/delete, no explicit subtitle upload despite capabilities advertising upload limits), but agents can work around these.