Official ElevenLabs MCP server for voice AI
## ElevenLabs MCP Server: AI Voice Generation The **ElevenLabs MCP Server** integrates ElevenLabs' industry-leading text-to-speech and voice cloning into Google Antigravity. This platform delivers the most realistic AI-generated voices for applications ranging from content creation to accessibility features. ### Why ElevenLabs MCP? ElevenLabs sets the standard for AI voice: - **Realistic Voices**: Human-quality speech synthesis - **Voice Cloning**: Clone voices from audio samples - **Multilingual**: 29+ languages supported - **Real-Time**: Low-latency streaming audio - **Emotion Control**: Adjust tone and expression ### Key Features #### 1. Text-to-Speech ```python from elevenlabs import ElevenLabs client = ElevenLabs(api_key="your-key") # Generate speech audio = client.generate( text="Welcome to our application. Let me guide you through the features.", voice="Rachel", model="eleven_multilingual_v2" ) # Save to file with open("welcome.mp3", "wb") as f: for chunk in audio: f.write(chunk) ``` #### 2. Voice Cloning ```python # Clone a voice from audio samples voice = client.clone( name="My Custom Voice", description="Professional narrator voice", files=["sample1.mp3", "sample2.mp3", "sample3.mp3"] ) # Use cloned voice audio = client.generate( text="This uses my custom cloned voice.", voice=voice ) ``` #### 3. Streaming Audio ```python from elevenlabs import stream # Real-time audio streaming audio_stream = client.generate( text="Streaming audio in real-time for responsive applications.", voice="Josh", stream=True ) # Play audio as it generates stream(audio_stream) ``` ### Configuration ```json { "mcpServers": { "elevenlabs": { "command": "npx", "args": ["-y", "@anthropic/mcp-elevenlabs"], "env": { "ELEVENLABS_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Accessibility**: Add voice narration to applications for visually impaired users. **Content Creation**: Generate voiceovers for videos, podcasts, and presentations. **Virtual Assistants**: Build voice-enabled chatbots and AI assistants. The ElevenLabs MCP Server brings professional voice AI to Antigravity applications.
{
"mcpServers": {
"elevenlabs": {
"mcpServers": {
"elevenlabs": {
"env": {
"ELEVENLABS_API_KEY": "YOUR_ELEVENLABS_API_KEY"
},
"args": [
"elevenlabs-mcp"
],
"command": "uvx"
}
}
}
}
}