Metadata-Version: 2.4
Name: cheap-tts-mcp
Version: 0.1.0
Summary: Text-to-speech MCP server for Claude, Cursor, VS Code and other AI assistants: natural Vietnamese and multilingual voices, generated locally
Author: Cheap TTS
License-Expression: MIT
Project-URL: Homepage, https://www.cheap-tts.com/api-docs/mcp/
Project-URL: Documentation, https://www.cheap-tts.com/api-docs/mcp/
Keywords: mcp,model-context-protocol,text-to-speech,tts,vietnamese,claude,cursor,voice,ai-voiceover
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Requires-Python: <3.14,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cheap-tts>=0.3.1
Requires-Dist: mcp<3,>=2
Dynamic: license-file

# Cheap TTS MCP Server

<!-- mcp-name: io.github.supperking03/cheap-tts-mcp -->

Text-to-speech for AI assistants. Give Claude, Cursor, VS Code, Windsurf or any
MCP client the ability to turn text into natural speech: 100+ voices in 43
languages, plus 24 expressive Vietnamese "pro" voices tuned for podcasts, news,
reviews, storytelling and video narration.

The voice model runs on your machine; audio is saved as WAV files you can drop
straight into CapCut, Premiere or DaVinci Resolve.

Docs: https://www.cheap-tts.com/api-docs/mcp/

## 1. Get a key

Create a project and a **server key** (`sk_live_...`) in the
[Cheap TTS dashboard](https://www.cheap-tts.com/dashboard/). Free projects get
10 requests a day; paid plans are unlimited.

## 2. Add the server to your AI app

The server runs with [uv](https://docs.astral.sh/uv/) (`uvx`), which installs it
on first use.

**Claude Desktop**: edit `claude_desktop_config.json` (Settings → Developer → Edit Config):

```json
{
  "mcpServers": {
    "cheap-tts": {
      "command": "uvx",
      "args": ["cheap-tts-mcp"],
      "env": { "CHEAP_TTS_SECRET_KEY": "sk_live_your_key" }
    }
  }
}
```

**Claude Code**:

```bash
claude mcp add cheap-tts --env CHEAP_TTS_SECRET_KEY=sk_live_your_key -- uvx cheap-tts-mcp
```

**Cursor**: `~/.cursor/mcp.json`, and **Windsurf**: `~/.codeium/windsurf/mcp_config.json`
use the same `mcpServers` block as Claude Desktop.

**VS Code** (Copilot agent mode): `.vscode/mcp.json`:

```json
{
  "servers": {
    "cheap-tts": {
      "type": "stdio",
      "command": "uvx",
      "args": ["cheap-tts-mcp"],
      "env": { "CHEAP_TTS_SECRET_KEY": "sk_live_your_key" }
    }
  }
}
```

Without uv: `pip install cheap-tts-mcp` and use `"command": "cheap-tts-mcp"` with no args.

## 3. Ask your assistant

- "List the Vietnamese pro voices and read this paragraph with the podcast voice."
- "Write a 6-scene script reviewing this phone, then narrate each scene with vi-pro-review-cong-nghe."
- "Turn this blog post into an MP3-ready voice-over in English, a bit faster than normal."

## Tools

| Tool | What it does |
|---|---|
| `list_voices(language?, pro_only?)` | Voice IDs, names, languages and use cases. |
| `synthesize_speech(text, voice, output_path?, rate?)` | One WAV file. Long text is split into request-sized parts and joined. |
| `synthesize_scenes(scenes, voice, output_dir?, prefix?, rate?)` | One WAV per scene (`scene_01.wav`, `scene_02.wav`...) with durations, for video editing. |

## Configuration

| Variable | Default | Purpose |
|---|---|---|
| `CHEAP_TTS_SECRET_KEY` | (required) | Server key from the dashboard. |
| `CHEAP_TTS_OUTPUT_DIR` | `~/cheap-tts-audio` | Where audio files are saved. |
| `CHEAP_TTS_CACHE_DIR` | `~/.cache/cheap-tts/models` | Voice engine cache. |
| `CHEAP_TTS_TELEMETRY` | `1` | Set `0` to disable operational telemetry. |

## Good to know

- Pro voices (`vi-pro-*`) download their engine once (~155 MB) on first use and
  are slower than the standard voices.
- Each request counts toward your plan; a long text split into several parts
  uses several requests.
- Telemetry contains timings, character counts, voice IDs and the MCP client
  name, never your text or key.

MIT licensed.
