elevenlabs-mcp
elevenlabs-mcp
MCP server for the ElevenLabs text-to-speech API. Provides tools that any MCP-compatible client (Claude Desktop, Claude Code, etc.) can use to generate speech from text.
Setup
cd elevenlabs-mcp
npm installSet your API key:
export ELEVENLABS_API_KEY="your-key-here"Test the server starts correctly:
node index.js
# Should print "ElevenLabs MCP server running" to stderrClaude Desktop configuration
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"elevenlabs": {
"command": "node",
"args": ["/ABSOLUTE/PATH/elevenlabs-mcp/index.js"],
"env": { "ELEVENLABS_API_KEY": "your-key-here" }
}
}
}Replace /ABSOLUTE/PATH/ with the actual path to this directory.
Quick-start workflow
Find a voice — call
list_voicesto get availablevoice_idvaluesGenerate speech — call
text_to_speechwith thevoice_idand your textCheck quota — call
get_quotato verify character consumption
Tools
text_to_speech (primary)
Converts text to an mp3 file. Max 5000 characters per call.
Params: text, voice_id, output_path, model_id, stability, similarity_boost, style, language_code
text_to_speech_long
For texts over 5000 characters. Splits into chunks and saves numbered files.
Params: text, voice_id, output_dir, base_filename, model_id, stability, similarity_boost
list_voices
Lists all voices in your account with voice_id, name, category, and preview URL.
list_models
Lists TTS models with capabilities and language support.
get_quota
Shows character usage, limit, remaining quota, and next reset date.
Common voice IDs (reference)
These are default ElevenLabs voices — always verify with list_voices as IDs can vary by account:
Voice | ID |
Rachel |
|
Bella |
|
Recommended models
Model | Use case |
| Best quality, 32 languages |
| Ultra-low latency (~75ms), real-time |
| Newest, most expressive |
Notes
Billing is per character consumed
Use
get_quotato monitor usage before large jobsCharacter count is logged to stderr on every TTS call
text_to_speech_longsplits by paragraph then sentence boundaries
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/carlosvidal/elevenlabs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server