Typecast API MCP Server
With a Typecast API key, this MCP server lets clients search docs, find/inspect voices, quick-clone voices, generate and stream speech, get timestamped speech, check subscription, and play local audio; unauthenticated hosted use is limited to search_documentation.
Search Typecast API documentation via
search_documentation(the only unauthenticated tool).List voices with filters (
model,gender,age,use_cases) and get detailed voice information.Recommend voices from a natural-language style, mood, language, or use-case description.
Quick-clone a custom voice from a local WAV/MP3 sample (
clone_voice) and delete cloned voices (delete_cloned_voice).Generate speech with voice/model/emotion controls, volume, pitch, tempo, format, and optional LUFS normalization.
Generate streaming speech for low latency and speech with word/character timestamp alignment for captions.
Check the authenticated user's subscription plan, credit usage, and concurrency limit.
Play generated audio files when running locally (
play_audio).
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., "@Typecast API MCP Server convert this text to speech using the British male voice"
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.
typecast-api-mcp-server
MCP Server for typecast-api, enabling seamless integration with MCP clients. This project provides a standardized way to interact with Typecast API through the Model Context Protocol.
About
This project implements a Model Context Protocol server for Typecast API, allowing MCP clients to interact with the Typecast API in a standardized way.
Related MCP server: Vapi MCP Server
Supported Models
Model | Description | Emotion Control |
ssfm-v31 | SSFM 3.1 | Preset + Smart Mode |
ssfm-v30 | SSFM 3.0 | Preset + Smart Mode |
ssfm-v21 | Stable production model | Preset only |
The TTS tools default to ssfm-v30. Set model to select another supported
model, then use get_voices with the same model filter to find compatible
voices. Check each voice's models entry for supported emotions.
ssfm-v31 is supported by TTS tools only. clone_voice and
create_professional_voice accept ssfm-v21 or ssfm-v30, not ssfm-v31.
ssfm-v30 Features
7 Emotion Presets: normal, happy, sad, angry, whisper, toneup, tonedown
Smart Mode: AI automatically infers emotion from context using
previous_textandnext_text37 Languages: Extended language support
Feature Implementation Status
Feature | Status |
Voice Management | |
Search Documentation | ✅ |
Get Voices (V3 API) | ✅ |
Get Voices | ✅ |
Get Voice (V3 API) | ✅ |
Recommend Voices | ✅ |
Text to Speech | ✅ |
Text to Speech (Streaming) | ✅ |
Text to Speech (with Timestamps) | ✅ |
Get My Subscription | ✅ |
Play Audio | ✅ |
Output Controls | |
| ✅ |
ssfm-v30 / ssfm-v31 Support | |
Preset Mode | ✅ |
Smart Mode | ✅ |
Custom Voice | |
Instant / Professional Clone | ✅ |
List / Get / Delete Custom Voice | ✅ |
Quick Voice Cloning
The MCP server exposes tools for the current Custom Voice API:
clone_voice: creates a quick-cloned custom voice from a local WAV or MP3 file.create_professional_voice: starts a professional clone; poll its status before use.get_custom_voicesandget_custom_voice: list voices or inspect clone status.delete_cloned_voice: deletes a cloned voice ID that starts withuc_.
Instant cloning constraints:
Voice name must be 1-30 characters.
Audio sample must be WAV or MP3.
Audio sample must be 25 MB or smaller.
Use
ssfm-v30unless you have a specific compatibility reason.
Typical flow:
Run
clone_voicewithname,audio_file_path, and optionalmodel.Use the returned
next_step_voice_idandnext_step_modelintext_to_speech,text_to_speech_stream, ortext_to_speech_with_timestamps.Run
delete_cloned_voicewhen the temporary cloned voice is no longer needed.
Professional cloning returns 202 Accepted. Poll get_custom_voice until its
status becomes completed or failed; completion can take up to two hours.
Voice Recommendations
Use recommend_voices when you know the desired style, mood, language, or use
case but do not know the exact voice ID yet. It calls
GET /v1/voices/recommendations and returns candidates sorted by score.
The recommendation response intentionally contains only voice_id,
voice_name, and score. If an agent needs details about a recommended voice,
call get_voice for each returned ID or get_voices for a broader filtered
list before using the ID in TTS.
Setup
Hosted Server
The hosted Streamable HTTP endpoint is:
https://typecast-api-docs-web-production.up.railway.app/mcpWithout authentication, the server exposes only search_documentation. Send a
Typecast API key on every MCP request to unlock the Typecast API tools:
X-API-KEY: YOUR_TYPECAST_API_KEYAuthorization: Bearer YOUR_TYPECAST_API_KEY is also supported. The hosted
server does not store the key. Generated audio is returned as a private,
unguessable download URL that expires after one hour. play_audio remains a
local-only tool because a hosted server cannot play sound on the MCP client's
device.
To preserve how Typecast integration code was created, hosted clients may send both attribution headers together:
X-Typecast-Integration-Source: api-docs
X-Typecast-Generated-By: codexUse api-page for API page onboarding and api-docs for API documentation
onboarding, and chatgpt-plugin for ChatGPT plugin integrations. The legacy
llms and skill values remain accepted.
X-Typecast-Generated-By accepts a lowercase ASCII token up to 32 characters.
The server keeps its own typecast-mcp/<version> User-Agent and appends this
attribution instead of replacing it.
On the hosted server, clone_voice accepts only audio_base64 together with
an audio_filename ending in .wav or .mp3. audio_file_path is available
only when this MCP server runs locally.
Environment Variables
Set the following environment variables:
TYPECAST_API_KEY=<your-api-key>
TYPECAST_OUTPUT_DIR=<your-output-directory> # default: ~/Downloads/typecast_output
TYPECAST_INTEGRATION_SOURCE=<llms|skill|api-page|api-docs|chatgpt-plugin> # optional; set both attribution variables
TYPECAST_GENERATED_BY=<coding-agent-id> # optional; e.g. codex or claude-codeUsage with Claude Desktop / Cursor
You can add the following to your claude_desktop_config.json or Cursor MCP settings:
Recommended: Using uvx (No installation required)
{
"mcpServers": {
"typecast-api-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/neosapience/typecast-api-mcp-server.git",
"typecast-api-mcp-server"
],
"env": {
"TYPECAST_API_KEY": "YOUR_API_KEY",
"TYPECAST_OUTPUT_DIR": "PATH/TO/YOUR/OUTPUT/DIR"
}
}
}
}This method automatically fetches and runs the server from GitHub without manual cloning.
Note for Linux users: If you're running on Linux, you need to add the XDG_RUNTIME_DIR environment variable to the env section:
"env": {
"TYPECAST_API_KEY": "YOUR_API_KEY",
"TYPECAST_OUTPUT_DIR": "PATH/TO/YOUR/OUTPUT/DIR",
"XDG_RUNTIME_DIR": "/run/user/1000"
}Alternative: Local Installation
If you prefer to clone and run locally:
Git Clone
git clone https://github.com/neosapience/typecast-api-mcp-server.git
cd typecast-api-mcp-serverDependencies
This project requires Python 3.10 or higher and uses uv for package management.
# Create virtual environment and install packages
uv venv
uv pip install -e .Local Configuration
{
"mcpServers": {
"typecast-api-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/PATH/TO/YOUR/PROJECT",
"run",
"typecast-api-mcp-server"
],
"env": {
"TYPECAST_API_KEY": "YOUR_API_KEY",
"TYPECAST_OUTPUT_DIR": "PATH/TO/YOUR/OUTPUT/DIR"
}
}
}
}Replace /PATH/TO/YOUR/PROJECT with the actual path where your project is located.
Manual Execution
You can also run the server manually:
uv run python app/main.pyContributing
Contributions are always welcome! Feel free to submit a Pull Request.
License
MIT License
Available Tools
11 toolsclone_voiceCreate a quick-cloned custom voice from a local WAV or MP3 audio sampleA
Create a quick-cloned custom voice.
Calls POST /v1/voices/clone with multipart form data. Use the returned
voice_id with text_to_speech, text_to_speech_stream, or
text_to_speech_with_timestamps. Delete temporary cloned voices with
delete_cloned_voice when they are no longer needed.
Args:
name: Display name for the cloned voice. Must be 1-30 characters.
audio_file_path: Local WAV or MP3 sample path. Maximum file size is 25 MB.
model: Voice cloning model. Default: ssfm-v30.
audio_base64: Base64-encoded WAV or MP3 sample for a remote MCP server.
audio_filename: Filename with .wav or .mp3 extension for audio_base64.
Returns:
Dict returned by the Typecast API plus normalized handoff fields:
voice_id, cloned_voice_id, next_step_voice_id, next_step_model.
Inputs: name (required), model, audio_base64, audio_filename, +1 more.
delete_cloned_voiceDelete a quick-cloned custom voice by voice IDA
Delete a quick-cloned custom voice.
Args:
voice_id: Cloned voice ID returned by clone_voice. Must start with uc_.
Returns:
Dict with success=true and the deleted voice_id.
Inputs: voice_id (required).
get_my_subscriptionGet the authenticated user's subscription plan, credit usage, and concurrency limitA
Get the authenticated user's subscription information.
Calls GET /v1/users/me/subscription and returns the plan tier, credits
(used / total), and concurrency limit.
Returns:
Dict with this shape:
{
"plan": "free" | "lite" | "plus" | "custom",
"credits": {"plan_credits": int, "used_credits": int},
"limits": {"concurrency_limit": int}
}
Inputs: no named parameters.
get_voiceGet detailed information for a specific voice by ID using V2 APIA
Get detailed information for a specific voice by ID using V2 API
Args:
voice_id: The voice ID (e.g., 'tc_672c5f5ce59fac2a48faeaee')
Returns:
Voice information with enhanced metadata including gender, age, use cases, and supported models with emotions.
Inputs: voice_id (required).
get_voicesGet a list of available voices using V2 API with filtering supportA
Get a list of available voices for text-to-speech using V2 API
Args:
model: Optional filter for specific TTS models (ssfm-v21 or ssfm-v30).
gender: Optional filter for voice gender (male or female).
age: Optional filter for voice age group (child, teen, young_adult, middle_aged, senior).
use_cases: Optional filter for voice use case (e.g. 'audiobook', 'narration', 'documentary').
Pass a single use case string supported by the V2 voices endpoint.
Returns:
List of available voices with enhanced metadata including gender, age, and use cases.
Inputs: age, model, gender, use_cases.
play_audioPlay the generated audio fileB
Play the audio file at the specified path
Args:
file_path: Path to the audio file to play
Returns:
Status message
Inputs: file_path (required). Returns: result
recommend_voicesRecommend Typecast voices from a text descriptionA
Recommend voices that match a natural-language text description.
The recommendation API returns only voice_id, voice_name, and score. Call
get_voices or get_voice with the returned IDs when you need metadata such as
supported models, emotions, gender, age, or use cases before making a TTS
request.
Args:
query: Text description of the desired style, mood, language, use case,
or content context.
count: Maximum number of recommendations to return. Must be 1-10.
Returns:
Recommended voice candidates sorted by relevance score.
Inputs: query (required), count. Returns: result
search_documentationSearch the Typecast API documentation without authenticationD
Inputs: query (required), limit. Returns: result
text_to_speechConvert text to speech using the specified voice and parametersA
Convert text to speech using the specified voice and parameters
Args:
voice_id: ID of the voice to use
text: Text to convert to speech
model: TTS model to use (ssfm-v21 or ssfm-v30, default: ssfm-v30)
emotion_type: For ssfm-v30: 'preset' for explicit emotion or 'smart' for context-aware inference (default: preset)
emotion_preset: Emotion preset type. v21: normal/happy/sad/angry. v30: adds whisper/toneup/tonedown (default: normal)
emotion_intensity: Intensity of the emotion, between 0.0 and 2.0 (default: 1.0)
previous_text: For smart mode - previous context text for emotion inference
next_text: For smart mode - next context text for emotion inference
volume: Audio volume level, between 0 and 200 (default: 100)
audio_pitch: Audio pitch adjustment, between -12 and 12 (default: 0)
audio_tempo: Audio playback speed, between 0.5 and 2.0 (default: 1.0)
audio_format: Audio format, either 'wav' or 'mp3' (default: wav)
target_lufs: Optional absolute loudness normalization target in LUFS (-70.0 ~ 0.0).
Mutually exclusive with a custom volume value on this non-streaming endpoint.
Returns:
Local mode: path to the saved audio file.
Remote mode: dict with audio_url and expires_in_seconds.
Inputs: text (required), voice_id (required), model, volume, +9 more. Returns: result
text_to_speech_streamConvert text to speech with chunked streaming for low-latency deliveryA
Convert text to speech via the streaming endpoint and save the result.
Calls POST /v1/text-to-speech/stream which returns chunked audio data
in real time. The chunks are concatenated and saved as a single file.
Note: the streaming endpoint does not accept volume, but supports
target_lufs for absolute loudness normalization.
Args:
voice_id: ID of the voice to use
text: Text to convert to speech
model: TTS model (ssfm-v21 or ssfm-v30, default: ssfm-v30)
emotion_type: For ssfm-v30: 'preset' or 'smart' (default: preset)
emotion_preset: Emotion preset name (default: normal)
emotion_intensity: Emotion intensity, 0.0 ~ 2.0 (default: 1.0)
previous_text: For smart mode - previous context text
next_text: For smart mode - next context text
audio_pitch: -12 ~ 12 (default: 0)
audio_tempo: 0.5 ~ 2.0 (default: 1.0)
audio_format: 'wav' or 'mp3' (default: wav)
target_lufs: Optional absolute loudness normalization target in LUFS (-70.0 ~ 0.0)
Returns:
Local mode: path to the saved audio file.
Remote mode: dict with audio_url and expires_in_seconds.
Inputs: text (required), voice_id (required), model, next_text, +8 more. Returns: result
text_to_speech_with_timestampsConvert text to speech with word- or character-level timestamp alignment for caption generationA
Convert text to speech and return timestamp alignment for caption generation.
Calls POST /v1/text-to-speech/with-timestamps. Saves the audio file and
returns the file path together with the raw alignment payload (words and
characters arrays as returned by the server).
For non-whitespace languages such as jpn or zho, pass granularity='char'
or 'both'. With 'word' on those languages the server collapses the entire
sentence into a single word segment.
Args:
voice_id: ID of the voice to use
text: Text to convert to speech
model: TTS model (default: ssfm-v30)
granularity: 'word', 'char', or 'both'. None lets the server use its
default (word). For jpn/zho prefer 'char' or 'both'.
emotion_type, emotion_preset, emotion_intensity, previous_text,
next_text, language, volume, audio_pitch, audio_tempo, audio_format:
same shape as text_to_speech.
Returns:
Dict:
- local mode: 'audio_path' — path to the saved audio file
- remote mode: 'audio_url' and 'expires_in_seconds'
- 'words': list | None — word-level alignment when available
- 'characters': list | None — character-level alignment when available
- 'raw': dict — full server response with the audio bytes stripped
Inputs: text (required), voice_id (required), model, volume, +11 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes (voice management, TTS variants, playback, subscription). However, 'search_documentation' lacks a description, making it ambiguous when to use it compared to other informational tools.
All tool names follow a consistent verb_noun snake_case pattern (e.g., get_voices, clone_voice, text_to_speech_stream), with no mixing of styles.
With 11 tools covering voice management, multiple TTS modes, playback, and subscription info, the count is well-scoped for a TTS API server.
Core operations are well-covered: voice listing, cloning, deletion, TTS with streaming/timestamps, and subscription info. Missing a dedicated tool to list only cloned voices, but get_voices may cover that.
Maintenance
Related MCP Connectors
Model Context Protocol interface for Yari Infotech engineering & architectural advisory.
Speech, transcription, voice agents, Trace, Recap, dubbing and narration with browser OAuth.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseDqualityDmaintenanceProvides text-to-speech capabilities through the Model Context Protocol, allowing applications to easily integrate speech synthesis with customizable voices, adjustable speech speed, and cross-platform audio playback support.110MIT

Vapi MCP Serverofficial
AlicenseBqualityBmaintenanceEnables integration with Vapi APIs through function calling via the Model Context Protocol, allowing AI models to access Vapi's capabilities.29975 npm58MIT- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server implementation that enables AI assistants to interact with RetellAI's voice services for managing calls, agents, phone numbers, and voice options.499 npm40ISC
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that wraps Volcengine's Text-to-Speech API, allowing users to generate speech from text using natural language parameters for customizing voice type, emotion, and speed.17MIT