Text to Speech MCP server
Short answer: Text to Speech runs a free remote MCP server at https://text-2-speech.com/mcp. Add that address to an AI assistant that supports the Model Context Protocol, and it can list the 300+ voices and turn text into MP3 or WAV audio with SRT and VTT subtitles. No account or API key is needed.
What does the MCP server do?
The Model Context Protocol (MCP) is an open standard that lets AI assistants call outside tools. The Text to Speech MCP server gives an assistant the same converter you use on this site: it picks a voice, sends your text to the same speech pipeline and returns download links for the audio and subtitles.
How do you connect it?
Every client needs only the server address https://text-2-speech.com/mcp; there is no sign-in.
Claude (web and desktop)
- Open Customize › Connectors (on Team and Enterprise plans an owner uses Organization settings › Connectors).
- Choose + Add › Add custom connector.
- Enter the name Text to Speech and the URL
https://text-2-speech.com/mcp, and choose No sign in.
Claude Code
claude mcp add --transport http text-to-speech https://text-2-speech.com/mcp
Run /mcp inside Claude Code to check that the server shows as connected.
Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"text-to-speech": { "url": "https://text-2-speech.com/mcp" }
}
}
VS Code
Add this to .vscode/mcp.json in your project:
{
"servers": {
"text-to-speech": { "type": "http", "url": "https://text-2-speech.com/mcp" }
}
}
Other clients work the same way if they support remote MCP servers over Streamable HTTP.
Which tools does it offer?
| Tool | What it does | Arguments |
|---|---|---|
list_voices | Lists the available voices with id, name, locale, gender and whether the voice is multilingual. Voices that currently fail are left out. | language (e.g. en, hi, en-GB), gender (Female or Male), query (part of the name); all optional |
text_to_speech | Converts text to speech and returns links to the audio file and to SRT and VTT subtitles, plus the duration. | text (required, up to 5,000 characters), voice (default en-US-AriaNeural), speed (−100 to 100 %), pitch (−100 to 100 Hz), format (mp3 or wav) |
Example
Ask your assistant something like: “Use Text to Speech to read this paragraph in a British English male voice and give me the MP3.” It calls list_voices with language: "en-GB" and gender: "Male", then text_to_speech with the voice it picked, and replies with links like these:
{
"audio_url": "https://text-2-speech.com/api/file/….mp3?item=…&s=…",
"srt_url": "https://text-2-speech.com/api/file/….srt?s=…",
"vtt_url": "https://text-2-speech.com/api/file/….vtt?s=…",
"format": "mp3",
"voice": "en-GB-RyanNeural",
"duration_seconds": 6.84,
"expires_in_minutes": 120
}
Limits and privacy
- The limits are those of the website: up to 5,000 characters and 25 pause markers per call (
[break:500ms],[break:2s]; at most 60 seconds of pauses in total). - Requests are rate-limited per IP address, as on the website; too many in a short time get an error, so wait a minute and retry.
- Your text is sent to Microsoft's online speech service to create the audio, exactly as on the site. The files are stored under a random identifier and deleted about two hours later; save them before then.
- The tools return download links, not the audio itself, so the assistant shows links rather than playing sound in the chat.
More on how your text is handled: Privacy Policy and How Text to Speech works.
Technical details
The endpoint speaks MCP over Streamable HTTP with JSON responses and keeps no sessions. It supports protocol version 2026-07-28 (stateless, server/discover) and the earlier 2025-11-25, 2025-06-18 and 2025-03-26 versions with the initialize handshake. Requests from web pages on other sites are refused (Origin check), and request bodies are limited to 64 KB.
Last updated: