HeyGen Voice MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HeyGen Voice MCP convert "Welcome to the team!" to speech and save it as /tmp/welcome.wav"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HeyGen Voice MCP
An MCP stdio server for the heygen/heygen-voice-1-turbo:free speech model on OpenRouter. It checks the live speech catalog before each request, refuses nonzero pricing or missing model, and never falls back to a paid route. The provider currently returns 44.1 kHz, 16-bit mono PCM; the server wraps it in WAV.
Chinese input is converted to Simplified Chinese by default before synthesis. The original input is not rewritten on disk. Keep user-facing Traditional Chinese or bilingual subtitles as separate text. This conversion is a practical pronunciation measure, not a guarantee of voice quality.
Install and configure
Python 3.11+ is required. From a trusted checkout:
python -m venv .venv
# Windows: .venv\Scripts\python -m pip install .
# macOS / Linux: .venv/bin/python -m pip install .Set OPENROUTER_API_KEY securely in the server process environment. Never commit keys or supply them in arguments. Example Codex registration (use your actual absolute paths):
codex mcp add heygen-voice -- /absolute/path/to/.venv/bin/heygen-voice-mcpOn Windows, point to .venv\Scripts\heygen-voice-mcp.exe. Restart the MCP host if needed. Environment inheritance depends on the host. Do not expose the key in a client config.
Related MCP server: realtime-tts-mcp
Tools
heygen_voice_status: read the current speech catalog; returns the exact model, pricing, available voices, and expiration.heygen_synthesize: providetext, absoluteoutput_pathending in.wav, optionalvoice(defaultnadine), andsimplify_chinese(default true). The parent directory must exist. Existing files are not overwritten. The tool returns duration, SHA-256 and generation ID, not credentials or audio bytes.
The service receives the input text. Do not transmit private content without authorization. The free endpoint has rate limits and may be retired or unavailable; requests fail closed when the model disappears or pricing is not zero. Never silently substitute a paid model. The live catalog and a :free route are not a provider-enforced spending cap; use OpenRouter account/key limits too.
The tool checks the returned content type and PCM length, not speech accuracy, language, pronunciation, or artistic quality. Verify the actual audio and any transcription separately. gpt-transcribe-mcp is optional and can incur OpenAI API charges; obtain the payer's consent first.
Development
python -m pip install -e .
python -m unittest discover -s tests -vTests mock provider calls and do not incur API charges. Live API/model availability, speech intelligibility, and listening are distinct checks; do not claim them from mocked tests.
Sources
MIT licensed. Independent community project, not affiliated with HeyGen or OpenRouter.
Available Tools
2 toolsheygen_synthesizeC
Generate one WAV file; simplify Chinese input by default. Existing files are never overwritten.
Inputs: text (required), output_path (required), voice, simplify_chinese.
heygen_voice_statusCRead-only
Check the live OpenRouter speech catalog for the exact free model and zero pricing.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly separate purposes: one checks the live catalog and pricing, while the other performs WAV generation. Despite the small set, an agent can easily choose the right tool.
Both names share the heygen_ prefix, but heygen_voice_status is a noun-phrase status tool while heygen_synthesize is a verb-based action tool. The convention is readable but not consistently verb_noun.
Two tools is thin for a voice-generation server, even a focused one. It may be sufficient for minimal catalog-checking and synthesis, but the surface feels underdeveloped.
Core synthesis and catalog-status operations exist, but there are notable gaps such as voice selection, output configuration, and file lifecycle management. Agents can perform the main workflow but lack flexibility.
Maintenance
Related MCP Connectors
Generate English and Chinese speech, split long text, track batch jobs, and download audio.
Remote text-to-speech MCP server with text_to_speech and list_voices tools. Free plan.
Speech, transcription, voice agents, Trace, Recap, dubbing and narration with browser OAuth.
Free text-to-speech for any MCP client: one hosted endpoint, four engines, no API bill.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables speech-to-text and text-to-speech conversion using OpenAI-compatible APIs. Supports customizable models, voices, and output directories.GPL 3.0
- AlicenseAqualityCmaintenanceEnables text-to-speech synthesis through a streaming, GPU-accelerated gateway, exposing a single tool that returns playable WAV audio with configurable voice and speed.124 npmMIT
- AlicenseAqualityBmaintenanceText to speech in 149 languages: MP3 links from any assistant. Free without an account. 2,253 voices; PRO adds HD voices, WAV, dialogue with a voice per speaker, Script mode timing and transcription.742 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to synthesize Chinese speech with Edge-TTS or offline Piper and generate engine-level timestamp SRT subtitles, including batch parallel synthesis and voice presets.MIT