ElevenLabs MCP Server
ElevenLabs MCP Server
A Model Context Protocol (MCP) server that integrates with ElevenLabs text-to-speech API, featuring both a server component and a sample web-based MCP Client (SvelteKit) for managing voice generation tasks.
<a href="https://glama.ai/mcp/servers/leukzvus7o"><img width="380" height="200" src="https://glama.ai/mcp/servers/leukzvus7o/badge" alt="ElevenLabs Server MCP server" /></a>
Features
- Generate audio from text using ElevenLabs API
- Support for multiple voices and script parts
- SQLite database for persistent history storage
- Sample SvelteKit MCP Client for:
- Simple text-to-speech conversion
- Multi-part script management
- Voice history tracking and playback
- Audio file downloads
Installation
Installing via Smithery
To install ElevenLabs MCP Server for Claude Desktop automatically via Smithery:
Using uvx (recommended)
When using uvx
, no specific installation is needed.
Add the following configuration to your MCP settings file (e.g., cline_mcp_settings.json
for Claude Desktop):
Development Installation
- Clone this repository
- Install dependencies:Copy
- Copy
.env.example
to.env
and fill in your ElevenLabs credentials
Using the Sample SvelteKit MCP Client
- Navigate to the web UI directory:Copy
- Install dependencies:Copy
- Copy
.env.example
to.env
and configure as needed - Run the web UI:Copy
- Open http://localhost:5174 in your browser
Available Tools
generate_audio_simple
: Generate audio from plain text using default voice settingsgenerate_audio_script
: Generate audio from a structured script with multiple voices and actorsdelete_job
: Delete a job by its IDget_audio_file
: Get the audio file by its IDlist_voices
: List all available voicesget_voiceover_history
: Get voiceover job history. Optionally specify a job ID for a specific job.
Available Resources
voiceover://history/{job_id}
: Get the audio file by its IDvoiceover://voices
: List all available voices
License
This project is licensed under the MIT License - see the LICENSE file for details.
You must be authenticated.
Integrates with ElevenLabs text-to-speech API.