ElevenLabs Streaming MCP Server
A high-performance MCP (Model Context Protocol) server for ElevenLabs text-to-speech with streaming support!
Features
- ✅ Official ElevenLabs SDK integration
- ✅ True streaming - no file saving!
- ✅ Direct pipe to ffplay for instant playback
- ✅ No token limit issues
- ✅ Environment-based configuration
- ✅ Voice listing support
- ✅ Works with npx - no installation needed!
Quick Start
Add to your .mccp.json: ``json { "mcpServers": { "elevenlabs": { "command": "npx", "args": ["elevenlabs-streaming-mcp-server"], "env": { "ELEVENLABS_API_KEY": "your_api_key_here", "ELEVENLABS_VOICE_ID": "Au8OOcCmvsCaQpmULvvQ", "ELEVENLABS_MODEL_ID": "eleven_flash_v2", "ELEVENLABS_STABILITY": "0.5", "ELEVENLABS_SIMILARITY_BOOST": "0.75", "ELEVENLABS_STYLE": "0.1" } } } } ``
Environment Variables
ELEVENLABS_API_KEY(required): Your ElevenLabs API keyELEVENLABS_VOICE_ID: Default voice ID (default: Rusty Butter's voice)ELEVENLABS_MODEL_ID: Model to use (default: eleven_flash_v2)ELEVENLABS_STABILITY: Voice stability 0-1 (default: 0.5)ELEVENLABS_SIMILARITY_BOOST: Voice similarity 0-1 (default: 0.75)ELEVENLABS_STYLE: Style exaggeration 0-1 (default: 0.1)
Available Tools
generate_audio
Generates audio from text with streaming support:
text(required): Text to convert to speechvoice_id: Override default voicemodel_id: Override default modelplay_audio: Whether to auto-play (default: true)
list_voices
Lists all available ElevenLabs voices with their IDs and descriptions.
Development
npm install
npm run dev # Run with hot reload
npm run build # Build for production
Publishing
npm publish
Built by Rusty Butter for MAXIMUM STREAMING AUTONOMY! 🚀











