About Supertonic3 Mcp
supertonic3-mcp is a local text-to-speech MCP server for Claude, Cursor, and other MCP clients. It uses Supertonic 3 on-device, with no API key or cloud service, and can preload model files for offline synthesis.
Key features
- 01Synthesize text to WAV
- 02List built-in voices
- 03List expression tags
- 04Run locally over STDIO
- 05Preload models for offline use
Use cases
- 01Generate speech from text in Claude
- 02Create WAV output from Cursor
- 03Synthesize speech without network access
MCP support
The STDIO MCP server exposes `speak`, `list_voices`, and `list_expressions` to MCP clients. `speak` returns the WAV file path and metadata.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| language | any | No | ISO 639-1 code (en, ko, ja, …). Required for reliable non-English output. |
| play | boolean | No | If true, play audio on this machine (STDIO/local use only). |
| speed | number | No | Playback speed in [0.7, 2.0]. |
| text | string | Yes | 1–5000 characters; may include expression tags from list_expressions(). |
| voice_id | any | No | Built-in voice (M1–M5, F1–F5). See list_voices(). |
Details
From the project READMEsupertonic3-mcp
Local, on-device TTS for Claude & Cursor, powered by Supertonic 3. No API key. No cloud. An internal tool open-sourced by Halozen — we build AI compliance intelligence for construction.
Not affiliated with Supertone Inc.
Expose speak, list_voices, and list_expressions to Claude Desktop, Cursor, or any MCP client over STDIO.
Quick start (TTHW < 3 min)
git clone https://github.com/nextic-tech/supertonic3-mcp && cd supertonic3-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
# Optional: pre-download model for offline use (~400MB)
supertonic3-mcp preload
# Run MCP server (STDIO)
supertonic3-mcp
Cursor MCP config
Add to .cursor/mcp.json (or Cursor Settings → MCP):
{
"mcpServers": {
"supertonic3": {
"command": "/absolute/path/to/supertonic-tts/.venv/bin/supertonic3-mcp",
"args": []
}
}
}
First server start downloads the Supertonic model into ~/.cache/supertonic3/ unless you ran preload first.
Tools
| Tool | Description |
|---|---|
speak | Synthesize text to a WAV file; returns absolute path + metadata |
list_voices | Built-in voices (voice_id, gender) |
list_expressions | Inline tags (<laugh>, <breath>, …) with descriptions |
speak parameters
text— 1–5000 characters; expression tags allowedvoice_id— optional (M1,F1, …)language— ISO 639-1 (en,ko,ja, …). For non-English text, always setlanguage=. Defaults toen.speed—0.7to2.0(SDK range)play— iftrue, plays audio on this machine viaafplay(macOS) oraplay(Linux). Unsupported on Windows.
WAV files are written to /tmp/supertonic_*.wav (macOS/Linux). Windows is not supported for synthesis output paths in v1.0.
Example return:
Audio saved to /tmp/supertonic_abc123.wav (1.4s, voice: M1, lang: en)
Performance (this repo)
Measured on Apple M3, supertonic 1.3.1 — see benchmark/results.md.
| Scenario | Median FSL |
|---|---|
| Warm (model loaded) | ~0.82s |
Cold (new TTS() per call) | ~0.81s |
FSL = time from synthesize() through WAV written (no streaming, no play=True).
Re-run: python benchmark/run.py
Offline use
supertonic3-mcp preload
Downloads ONNX weights atomically to ~/.cache/supertonic3/ and prints SHA256 checksums. After preload, synthesis works without network access.
Development
pip install -e ".[dev]"
pytest
Tests mock the Supertonic SDK (no network in CI).
Coming in v1.1
listen()— Whisper speech-to-text (pip install supertonic3-mcp[stt])- SSE transport + Docker image for remote agents
- PyPI publish workflow
License
MIT (this package). Supertonic SDK is MIT; model weights use OpenRAIL-M.
Disclaimer
AI-generated speech is not a substitute for certified safety, legal, or medical guidance. For demonstration purposes only.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.