Typecast API MCP Server

Typecast API MCP Server

typecast-api-mcp-server-sample•byneosapience

A Model Context Protocol server for the Typecast API that lets MCP clients generate speech, manage voices, and clone voices.

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Provides text-to-speech tools, including streaming and timestamped variants, defaulting to the ssfm-v30 model.
  • •Exposes voice management tools such as getting voices, getting a single voice, and recommending voices for a desired style or use case.
  • •Offers custom voice cloning tools for quick and professional cloning, plus listing, inspecting, and deleting cloned voices.
  • •Supports preset emotion control and Smart Mode, which infers emotion from surrounding text for the ssfm-v30 model.

BEST FOR

  • •Generating narrated audio from text with selectable voice models and emotional presets.
  • •Selecting a voice when the desired style, mood, language, or use case is known but the exact voice ID is not.
  • •Creating temporary cloned voices for text-to-speech and removing them afterward.

ABOUT TYPECAST-API-MCP-SERVER-SAMPLE

Typecast API MCP Server is cataloged as an MCP server attributed to neosapience. A Model Context Protocol server for the Typecast API that lets MCP clients generate speech, manage voices, and clone voices. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Typecast API MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the hosted server require an API key?

Yes, without authentication the hosted server exposes only search_documentation; sending a Typecast API key unlocks the Typecast API tools.

Which tools can accept a cloned voice?

The returned next_step_voice_id and next_step_model from clone_voice can be used in text_to_speech, text_to_speech_stream, or text_to_speech_with_timestamps.

How do the smart emotion modes differ across models?

The ssfm-v31 and ssfm-v30 models support both Preset and Smart Mode, while ssfm-v21 supports Preset only.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 16b72cce9c08 · 采集于 2026-11-13 10:42:37 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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.

Supported Models

ModelDescriptionEmotion Control
ssfm-v31SSFM 3.1Preset + Smart Mode
ssfm-v30SSFM 3.0Preset + Smart Mode
ssfm-v21Stable production modelPreset 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_text and next_text
  • 37 Languages: Extended language support

Feature Implementation Status

FeatureStatus
Voice Management
Search Documentation✅
Get Voices (V3 API)✅
Get Voices use_cases filter✅
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
target_lufs loudness norm✅
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_voices and get_custom_voice: list voices or inspect clone status.
  • delete_cloned_voice: deletes a cloned voice ID that starts with uc_.

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-v30 unless you have a specific compatibility reason.

Typical flow:

  1. Run clone_voice with name, audio_file_path, and optional model.
  2. Use the returned next_step_voice_id and next_step_model in text_to_speech, text_to_speech_stream, or text_to_speech_with_timestamps.
  3. Run delete_cloned_voice when 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/mcp

Without 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_KEY

Authorization: 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: codex

Use 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-code

Usage with Claude Desktop / Cursor

You can add the following to your claude_desktop_config.json or Cursor MCP settings:

{
  "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-server

Dependencies

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

Contributing

Contributions are always welcome! Feel free to submit a Pull Request.

License

MIT License

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Typecast API MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/typecast-api-mcp-server-sample)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design