Back to Browse

Miragea MCP Server

Developer ToolsModerate5.6MCP RegistryLocal
Free

Server data from the Official MCP Registry

Voiceover, voice cloning and SRT/VTT captions for agents, with exact durations and Remotion scenes.

About

Voiceover, voice cloning and SRT/VTT captions for agents, with exact durations and Remotion scenes.

Security Report

5.6
Moderate5.6Moderate Risk

The Miragea MCP server is a voiceover, voice cloning and captioning tool that authenticates via a MIRAGEA_API_KEY environment variable and sends only user-requested text and media to the documented miragea.ai API. Code is clean: no shell injection (subprocess calls use list arguments), no eval/exec, no hardcoded secrets, and file writes never overwrite existing files. Minor concerns are limited to broad local file access (reads any user-specified path for transcription and writes to arbitrary output paths) and a small number of unvalidated inputs, which match the stated purpose and do not significantly lower the score. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

9 files analyzed · 11 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

process_spawn

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Miragea API key (https://miragea.ai)Required

Environment variable: MIRAGEA_API_KEY

Default saved voice id (optional)Optional

Environment variable: MIRAGEA_VOICE_ID

Folder for generated files (default ~/Miragea)Optional

Environment variable: MIRAGEA_OUTPUT_DIR

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "miragea-mcp": {
      "command": "uvx",
      "args": [
        "miragea-mcp==0.1.0"
      ],
      "env": {
        "MIRAGEA_API_KEY": "your-miragea-api-key-here",
        "MIRAGEA_VOICE_ID": "your-miragea-voice-id-here",
        "MIRAGEA_OUTPUT_DIR": "your-miragea-output-dir-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Miragea MCP: voiceover, voice cloning and captions for Claude, Cursor and Codex

An MCP server that gives your AI agent a real voice toolkit: text of any length to speech in your saved or cloned voice, exact durations for every file, readable SRT/VTT captions from any local audio or video, and per-scene narration with durationInFrames and word-level captions for Remotion and other video timelines. Local stdio server, one line of config, no GPU. Voice and speech recognition by Miragea.

{
  "mcpServers": {
    "miragea": {
      "command": "uvx",
      "args": ["miragea-mcp"],
      "env": { "MIRAGEA_API_KEY": "your_key", "MIRAGEA_VOICE_ID": "optional_default_voice" }
    }
  }
}

Claude Code: claude mcp add miragea -e MIRAGEA_API_KEY=your_key -- uvx miragea-mcp. No uv? pip install miragea-mcp and use "command": "miragea-mcp". Check everything with uvx miragea-mcp --check.

Then just ask:

  • "Read this changelog aloud in my voice and save it as release-notes.mp3."
  • "Make captions for ~/Videos/talk.mp4." / "TikTok-style captions for clip.mov."
  • "Narrate these 5 scenes for my Remotion video and set each scene's durationInFrames."

Tools

ToolWhat it doesReturns
check_setupChecks key, ffmpeg, saved voices, output folder; gives a fix for each problemstatus + problems
list_voicesVoices saved in your Miragea accountvoice_id, name
speakAny length of text to speech (split at sentence ends under the 2,000-char API limit, joined back seamlessly). Saved voice, or clone from a public clipfile path, exact seconds, chunks
transcribeLocal audio/video to SRT + VTT: whole words (no mid-word splits), 2 x 42-char lines, min/max cue time; style="shorts" for 1-3 word uppercase captionssrt/vtt paths, text, language
narrate_scenesOne audio file per scene, seconds, durationInFrames (rounded up, never cut off), startFrame, a narration.json manifest; captions=true adds word-level captions.json in Remotion's Caption shapemanifest

What it does for you automatically

  • Long text: chunked at sentence boundaries and stitched with a natural 120 ms pause. You never see the 2,000-character limit.
  • Durations: measured from the audio itself, so video timelines line up to the frame.
  • Captions: speech-recognition segments are rebuilt into whole words and re-flowed with broadcast rules.
  • Uploads: video files are reduced to a 16 kHz mono track before upload (fast, small).
  • Caching: the same text, voice and model is never billed twice; the same file is never transcribed twice.
  • Safety: existing files are never overwritten (name-2.mp3), the key is only read from the environment and never logged, failed audio tasks are refunded by Miragea, and network retries reuse the same idempotency key so a retry cannot double-charge.
  • Clear errors: every error comes back as {"error", "how_to_fix"} for the agent to act on.

Compared with other voice MCP servers

miragea-mcpElevenLabs MCPThin TTS wrappers (Edge, Kokoro, Azure...)
Local stdio server, maintainedYesLocal server deprecated; hosted OAuth server insteadVaries
Reads/writes files anywhere you point itYes (default ~/Miragea)Local version restricted inputs to one base folderUsually output folder only
Returns exact audio durationYes, every callNo (callers had to measure it)Rarely
Text longer than one API requestAutomatic split and joinManualVaries
Captions (SRT/VTT) from local filesYes, reflowed whole wordsSeparate speech-to-text toolNo
Scene durations in frames + Remotion captionsYes (narrate_scenes)NoNo
Your own cloned voiceSaved voice id or reference clipYes (paid plans)Stock voices only
BillingPay-as-you-go Miragea pointsSubscription creditsFree / cloud account

Sources: ElevenLabs MCP README (deprecation notice) and the remotion-superpowers changelog (base-folder restriction, no duration returned).

Configuration

Env varRequiredMeaning
MIRAGEA_API_KEYyesYour key from miragea.ai
MIRAGEA_VOICE_IDnoDefault saved voice, so the agent never has to ask
MIRAGEA_REF_URL, MIRAGEA_REF_TEXTnoDefault reference clip (public URL) and its exact words
MIRAGEA_OUTPUT_DIRnoWhere files go when no path is given (default ~/Miragea)

Requirements: Python 3.10+. ffmpeg is optional (without it audio is saved as WAV and videos are uploaded whole).

FAQ

Which MCP clients work? Any stdio MCP client: Claude Desktop, Claude Code, Cursor, Windsurf, VS Code (Copilot agent mode), Codex CLI, Gemini CLI, Cline, Zed.

How do I use my own voice? Save your voice once in your Miragea account and set MIRAGEA_VOICE_ID, or pass reference_audio_url (a public link to a clean 5-20 s clip) with reference_text (its exact words, which uses the cheaper 1x rate). A direct upload of local reference clips is planned by Miragea; until then the reference must be a public URL.

What does it cost? Speech is billed per character, captions at 3 points per audio second (live rates: GET https://miragea.ai/v1/capabilities). Cached repeats are free.

Is my key safe? It is read from the server's environment only, never written to disk, logged or returned.

Can I clone anyone's voice? No. Only clone your own voice or one you have permission to use.

Where are files saved? Where you ask, or in MIRAGEA_OUTPUT_DIR (default ~/Miragea). The cache lives in ~/Miragea/.cache and can be deleted at any time.

Related

  • miragea-skills: Agent Skills for screen-recording voiceover, Shorts, captions and Remotion narration.
  • Retake: fix a flubbed voiceover line in your own voice (CLI + MCP).
  • HeadVox: script to voiceover with word-aligned captions.

MIT License.

Reviews

No reviews yet

Be the first to review this server!