mcp-tts
Converts text to speech using ElevenLabs' TTS, supporting voice selection by name or ID.
Converts text to speech using OpenAI's TTS models, with configurable voice, preset, speed, and volume.
Click on "Install 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., "@mcp-ttsRead me the latest changes out loud."
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.
MCP Text-to-Speech for Cursor IDE
Add text-to-speech capabilities to Cursor IDE. Let your AI assistant speak responses, summaries, and explanations out loud.
🚀 Quick Start
Prerequisites: Cursor IDE and either an OpenAI API key or an ElevenLabs API key
Setup: Add one of these to your Cursor MCP settings (~/.cursor/mcp.json):
{
"mcpServers": {
"mcp_tts_server": {
"command": "uvx",
"args": ["--from", "mcp-tts", "mcp-tts-server-stdio"],
"env": {
"OPENAI_API_KEY": "your-openai-api-key-here",
"ELEVENLABS_API_KEY": "your-elevenlabs-api-key-here",
"MCP_TTS_PROVIDER": "openai",
"MCP_TTS_VOICE": "ballad",
"MCP_TTS_VOICE_PRESET": "default",
"MCP_TTS_CUSTOM_INSTRUCTIONS": "",
"MCP_TTS_SPEED": "1.0",
"MCP_TTS_VOLUME": "0.8",
"MCP_TTS_DEVICE_NAME": "",
"MCP_TTS_DEVICE_INDEX": "",
"PYTHONIOENCODING": "utf-8"
}
}
}
}OpenAI (voices/presets/speed apply):
{
"mcpServers": {
"mcp_tts_server": {
"command": "uvx",
"args": ["--from", "mcp-tts", "mcp-tts-server-stdio"],
"env": {
"MCP_TTS_PROVIDER": "openai",
"OPENAI_API_KEY": "sk-...",
"MCP_TTS_VOICE": "alloy",
"MCP_TTS_VOICE_PRESET": "professional",
"MCP_TTS_CUSTOM_INSTRUCTIONS": "",
"MCP_TTS_SPEED": "1.0",
"MCP_TTS_VOLUME": "0.9",
"PYTHONIOENCODING": "utf-8"
}
}
}
}ElevenLabs (use voice_id or exact name; presets/speed are ignored):
{
"mcpServers": {
"mcp_tts_server": {
"command": "uvx",
"args": ["--from", "mcp-tts", "mcp-tts-server-stdio"],
"env": {
"MCP_TTS_PROVIDER": "elevenlabs",
"ELEVENLABS_API_KEY": "eleven-...",
"MCP_TTS_VOICE": "Adam",
"MCP_TTS_VOLUME": "0.8",
"PYTHONIOENCODING": "utf-8"
}
}
}
}That's it! Restart Cursor and try asking: "Can you read me a summary using text-to-speech?"
⚙️ Configuration Options
You can control the TTS system using these environment variables in your MCP config:
Variable | Description | Example Values | Default |
| Your OpenAI API key (required if using OpenAI) |
| - |
| Your ElevenLabs API key (required if using ElevenLabs) |
| - |
| TTS provider to use |
|
|
| Voice selection | OpenAI: |
|
| Voice style preset |
|
|
| Custom voice instructions (overrides preset) |
| - |
| Speech speed | OpenAI: |
|
| Playback volume |
|
|
| Audio device name (partial match) |
| - |
| Audio device index |
| - |
Tips:
Open the local Config page to pick an ElevenLabs voice from your account (with previews), or call their API and paste a
voice_id.OpenAI accepts built-in voice names and presets; ElevenLabs uses
voice_idor exact voice name. Presets/instructions/speed are ignored by ElevenLabs.
Voice Presets
You can use these built-in voice style presets:
default- Clear, friendly, and conversationalprofessional- Authoritative business voicecalm- Composed, reassuring with quiet authoritynyc_cabbie- Fast-talking New Yorker with edgechill_surfer- Laid-back, mellow, effortlessly coolcheerleader- High-energy, enthusiastic, motivationalemo_teenager- Sarcastic, disinterested, melancholiceternal_optimist- Positive, solution-orienteddramatic- Low, hushed, suspenseful with theatrical flair
🎵 Usage Examples
"Use text-to-speech to explain this code"
"Read me the changes you just made"
"List my audio devices"
"Switch to a professional voice style"
📚 Full Documentation
For advanced configuration, voice presets, troubleshooting, and development setup, see SETUP_GUIDE.md.
Status: ✅ Working with Cursor IDE • 🎵 7 TTS tools available • 🔊 Cross-platform audio • 🧩 Providers: OpenAI, ElevenLabs
🛠️ Available Tools
This MCP server provides the following tools in Cursor:
text_to_speech — Convert text to speech and play it through your speakers using the current configuration.
list_audio_devices — List all available audio output devices on your system.
test_audio_device — Play a test tone on a selected audio device to verify it works.
stop_speech — Stop any current speech playback immediately.
get_tts_status — Show the current TTS server status, provider, volume, and device info.
get_current_config — Display the current voice, preset, device, and all active TTS settings.
set_volume — Change the playback volume for speech output.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/EnviralDesign/mcp-tts'
If you have feedback or need assistance with the MCP directory API, please join our Discord server